/* ============================================================
   tthoss.de – Showcase
   Gleiche Designsprache wie patreon.tthoss.de (app.css):
   Navy + Gold + Patreon-Rot, Inter / Space Grotesk
   Schriften lokal gehostet (keine Verbindung zu Google → DSGVO)
   ============================================================ */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }

:root {
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  --patreon-red:  #ff424d;
  --patreon-dark: #052d49;
  --patreon-mid:  #0a3d5c;
  --ink:          #1a1a1a;

  --bg:           #f4f5f6;
  --bg-white:     #ffffff;
  --bg-secondary: #f0f2f4;
  --border:       #e1e4e8;
  --border-light: #eaecef;

  --text:           #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted:     #718096;

  --accent:       #052d49;
  --accent-mid:   #0a3d5c;
  --accent-light: #e8f4fb;
  --gold:         #c99a2e;
  --gold-light:   #fdf8ec;
  --gold-border:  #e8d5a3;

  --free:        #2e7d32;
  --free-bg:     #e8f5e9;
  --free-border: #a5d6a7;
  --resin:        #1565c0;
  --resin-bg:     #e3f2fd;
  --resin-border: #90caf9;

  --tier-1-bg: #f0f4f8; --tier-1-color: #4a5568; --tier-1-border: #cbd5e0;
  --tier-2-bg: #ebf8ff; --tier-2-color: #2b6cb0; --tier-2-border: #90cdf4;
  --tier-3-bg: #f0fff4; --tier-3-color: #276749; --tier-3-border: #9ae6b4;
  --tier-4-bg: #faf5ff; --tier-4-color: #6b46c1; --tier-4-border: #d6bcfa;
  --tier-5-bg: #fdf8ec; --tier-5-color: #a07a1f; --tier-5-border: #e8d5a3;

  --radius:    8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --t: .15s ease;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); background: var(--bg); color: var(--text);
  font-size: 15px; line-height: 1.6; min-height: 100vh;
  display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-mid); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
main { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================ HEADER */
.site-header { background: var(--ink); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
.site-logo { display: flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; flex-shrink: 0; }
.site-logo:hover { color: #fff; }
.site-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.site-logo small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .02em; }
.main-nav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.main-nav a { color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 500; padding: .45rem .8rem; border-radius: var(--radius-sm); transition: var(--t); }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nav-hub { margin-left: .75rem; display: inline-flex !important; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.35); color: #fff !important; }
.nav-hub:hover { border-color: rgba(255,255,255,.7); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm); padding: .4rem .5rem; cursor: pointer; }
@media (max-width: 860px) {
  .site-logo span { font-size: .95rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem; border-bottom: 3px solid var(--gold); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem .5rem; }
  .main-nav a.active { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0; }
  .nav-hub { margin: .5rem 0 0; justify-content: center; }
}

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; font-weight: 700; font-size: .92rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: var(--t); white-space: nowrap; font-family: inherit; }
.btn--patreon { background: var(--patreon-red); color: #fff; box-shadow: 0 2px 8px rgba(255,66,77,.35); }
.btn--patreon:hover { background: #e0323d; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,66,77,.45); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.btn--navy { background: var(--accent); color: #fff; }
.btn--navy:hover { background: #031e31; color: #fff; }
.btn--outline { color: var(--accent); border-color: var(--border); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--free { background: var(--free); color: #fff; }
.btn--free:hover { background: #1b5e20; color: #fff; }
.btn--sm { padding: .45rem .9rem; font-size: .82rem; }

/* ============================================================ HERO (Startseite) */
.hero {
  position: relative; color: #fff; border-bottom: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(10,12,16,.35) 0%, rgba(8,10,14,.82) 100%), url('../img/hero-bg.jpg') center 40%/cover no-repeat, var(--ink);
  min-height: min(78vh, 640px); display: flex; align-items: flex-end;
}
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 6rem 1.5rem 3rem; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 700; max-width: 760px; text-shadow: 0 2px 20px rgba(0,0,0,.45); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 600px; margin: 1.1rem 0 2rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }

/* Kennzahlen-Leiste */
.stats-band { background: var(--patreon-dark); color: #fff; }
.stats { max-width: var(--wrap); margin: 0 auto; padding: 1.4rem 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { display: flex; flex-direction: column; gap: .1rem; padding-left: 1rem; border-left: 2px solid rgba(201,154,46,.6); }
.stat b { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; font-weight: 700; }
.stat span { font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; } }

/* ============================================================ SECTIONS */
.section { padding: 4rem 0; }
.section--white { background: var(--bg-white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--accent); line-height: 1.2; display: flex; align-items: center; gap: .6rem; }
.section-head h2::before { content: ''; display: inline-block; width: 5px; height: 1.4rem; background: var(--patreon-red); border-radius: 2px; }
.section-head p { color: var(--text-secondary); max-width: 560px; margin-top: .35rem; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--accent); white-space: nowrap; }
.link-more:hover { gap: .55rem; }

/* ============================================================ MODEL CARDS (wie Hub) */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.model-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; color: inherit; box-shadow: var(--shadow); transition: box-shadow var(--t), transform var(--t); }
.model-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.model-thumb { position: relative; aspect-ratio: 3/2; background: var(--bg-secondary); overflow: hidden; }
.model-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.model-card:hover .model-thumb img { transform: scale(1.04); }
.thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); background: linear-gradient(135deg, var(--accent-light), #dbeafe); }
.badge { position: absolute; font-size: .68rem; font-weight: 700; padding: .22rem .55rem; border-radius: 4px; backdrop-filter: blur(4px); letter-spacing: .03em; }
.badge--scale { top: .6rem; right: .6rem; background: rgba(5,45,73,.85); color: #fff; }
.badge--tl { top: .6rem; left: .6rem; }
.badge--free { background: var(--free); color: #fff; }
.badge--new { background: var(--patreon-red); color: #fff; }
.badge--bl { bottom: .6rem; left: .6rem; }
.model-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.model-name { font-weight: 700; font-size: 1rem; color: var(--text); line-height: 1.3; }
.model-sub { font-size: .78rem; color: var(--text-muted); display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.model-sub svg { color: var(--gold); }
.model-desc { font-size: .84rem; color: var(--text-secondary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.model-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .4rem; }
.tag { font-size: .72rem; padding: .18rem .5rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); font-weight: 500; }
.tag--fdm { background: var(--free-bg); color: var(--free); border-color: var(--free-border); font-weight: 600; }
.tag--resin { background: var(--resin-bg); color: var(--resin); border-color: var(--resin-border); font-weight: 600; }
.model-footer { padding: .7rem 1.1rem; border-top: 1px solid var(--border-light); background: var(--bg-secondary); display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .8rem; }
.model-footer .go { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.model-card:hover .go { color: var(--patreon-red); }

/* Tier-Badges (wie Hub) */
.tier-badge { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tier-s1 { background: var(--tier-1-bg); color: var(--tier-1-color); border: 1px solid var(--tier-1-border); }
.tier-s2 { background: var(--tier-2-bg); color: var(--tier-2-color); border: 1px solid var(--tier-2-border); }
.tier-s3 { background: var(--tier-3-bg); color: var(--tier-3-color); border: 1px solid var(--tier-3-border); }
.tier-s4 { background: var(--tier-4-bg); color: var(--tier-4-color); border: 1px solid var(--tier-4-border); }
.tier-s5 { background: var(--tier-5-bg); color: var(--tier-5-color); border: 1px solid var(--tier-5-border); }
.tier-free { background: var(--free-bg); color: var(--free); border: 1px solid var(--free-border); }

/* Featured: erste Karte groß */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.featured-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.featured-grid > :first-child .model-thumb { aspect-ratio: auto; flex: 1; min-height: 300px; }
.featured-grid > :first-child .model-name { font-size: 1.3rem; font-family: var(--font-display); }
.featured-grid > :first-child .model-desc { -webkit-line-clamp: 4; font-size: .9rem; }
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } .featured-grid > :first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .featured-grid { grid-template-columns: 1fr; } .featured-grid > :first-child { grid-column: auto; } .featured-grid > :first-child .model-thumb { min-height: 0; aspect-ratio: 3/2; } }

/* ============================================================ ZEITLEISTE */
.timeline-wrap { position: relative; }
.timeline { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 2.25rem 1.5rem 1.25rem; margin: 0 -1.5rem; scrollbar-width: thin; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 1.15rem; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-border) 4%, var(--gold-border) 96%, transparent); }
.tl-item { position: relative; flex: 0 0 168px; scroll-snap-align: start; color: inherit; }
.tl-item::before { content: ''; position: absolute; top: -1.4rem; left: 12px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-white); border: 2px solid var(--gold); }
.tl-year { position: absolute; top: -2.05rem; left: 30px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--gold); }
.tl-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--t); }
.tl-item:hover .tl-card { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tl-card img, .tl-card .thumb-placeholder { aspect-ratio: 3/2; width: 100%; object-fit: cover; height: auto; }
.tl-card span { display: block; padding: .5rem .65rem; font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.tl-nav { display: flex; gap: .5rem; }
.tl-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); transition: var(--t); }
.tl-nav button:hover { border-color: var(--accent); }

/* ============================================================ REEDEREIEN */
.line-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.line-card { display: flex; align-items: center; gap: .9rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .7rem; color: inherit; box-shadow: var(--shadow); transition: var(--t); }
.line-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; border-color: var(--gold-border); }
.line-card img, .line-card .thumb-placeholder { width: 84px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.line-card b { display: block; font-size: .9rem; line-height: 1.3; color: var(--text); }
.line-card small { font-size: .76rem; color: var(--text-muted); }
.line-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.line-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 20px; font-size: .84rem; font-weight: 500; color: var(--text); transition: var(--t); }
.line-chip:hover { border-color: var(--gold); color: var(--accent); }
.line-chip em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--gold); background: var(--gold-light); border-radius: 10px; padding: .05rem .45rem; }

/* ============================================================ FREE-BAND */
.free-band { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); color: #fff; border-radius: var(--radius-lg); padding: 2rem; display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: center; box-shadow: var(--shadow-md); }
.free-band h2 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; margin: .5rem 0; }
.free-band p { color: rgba(255,255,255,.85); }
.free-band .pill { display: inline-block; background: #fff; color: var(--free); font-weight: 800; font-size: .72rem; padding: .2rem .55rem; border-radius: 4px; letter-spacing: .06em; }
.free-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.free-item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); overflow: hidden; color: #fff; transition: var(--t); }
.free-item:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.free-item img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.free-item span { display: block; padding: .5rem .7rem; font-weight: 600; font-size: .85rem; }
@media (max-width: 800px) { .free-band { grid-template-columns: 1fr; padding: 1.5rem; } }

/* ============================================================ HOW IT WORKS / TIERS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; counter-reset: step; }
.step { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; position: relative; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: .75rem; }
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .86rem; color: var(--text-secondary); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.tier-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow); border-top: 4px solid var(--tier-1-border); }
.tier-card.s2 { border-top-color: var(--tier-2-color); } .tier-card.s3 { border-top-color: var(--tier-3-color); }
.tier-card.s4 { border-top-color: var(--tier-4-color); } .tier-card.s5 { border-top-color: var(--gold); }
.tier-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.tier-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.tier-price small { font-size: .8rem; color: var(--text-muted); font-family: var(--font-sans); font-weight: 500; }
.tier-card ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; font-size: .84rem; color: var(--text-secondary); }
.tier-card li { display: flex; gap: .45rem; align-items: flex-start; }
.tier-card li::before { content: '✓'; color: var(--free); font-weight: 700; }

/* ============================================================ CTA-BAND */
.cta-band { background: linear-gradient(135deg, var(--patreon-dark), var(--patreon-mid)); color: #fff; border-top: 3px solid var(--gold); }
.cta-band .wrap { padding-top: 3.25rem; padding-bottom: 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: .4rem; max-width: 560px; }
.cta-band .hero-actions { flex-shrink: 0; }

/* ============================================================ PAGE HERO (Unterseiten) */
.page-hero { background: var(--ink); color: #fff; border-bottom: 3px solid var(--gold); padding: 2.75rem 0 2.25rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url('../img/hero-bg.jpg') center/cover; opacity: .16; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; line-height: 1.15; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: .4rem; max-width: 640px; }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }

/* ============================================================ FILTER (Modellübersicht) */
.filter-bar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 67px; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.filter-inner { max-width: var(--wrap); margin: 0 auto; padding: .8rem 1.5rem; display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.f-search { flex: 1; min-width: 200px; position: relative; }
.f-search svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.f-search input { width: 100%; padding: .55rem .75rem .55rem 2.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: .875rem; outline: none; transition: var(--t); }
.f-input:focus, .f-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.f-input { padding: .55rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: .875rem; outline: none; background: #fff; cursor: pointer; max-width: 230px; }
.f-check { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--text-secondary); cursor: pointer; padding: .45rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; white-space: nowrap; }
.f-check input { accent-color: var(--free); }
.f-count { font-size: .8rem; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.f-reset { font: inherit; font-size: .8rem; color: var(--accent); background: none; border: none; cursor: pointer; padding: .3rem .5rem; border-radius: var(--radius-sm); display: none; }
.f-reset.on { display: inline-block; }
.f-reset:hover { background: var(--accent-light); }
@media (max-width: 860px) { .filter-bar { top: 67px; position: static; } .f-input { flex: 1 1 140px; max-width: none; } }

.group-block { margin-bottom: 3rem; }
.group-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--accent-light); color: var(--accent); display: flex; align-items: center; gap: .5rem; }
.group-title::before { content: ''; width: 4px; height: 1.1rem; background: var(--patreon-red); border-radius: 2px; }
.group-title small { font-family: var(--font-sans); font-weight: 500; font-size: .78rem; color: var(--text-muted); margin-left: .25rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); display: none; flex-direction: column; align-items: center; gap: 1rem; }

/* ============================================================ DETAIL */
.detail-hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); padding: 2.5rem 0 3rem; color: #fff; background: var(--ink); }
.detail-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(10px) brightness(.5) saturate(1.15); transform: scale(1.08); transition: background-image .3s; }
.detail-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,45,73,.62), rgba(5,20,40,.5)); }
.detail-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: #111; aspect-ratio: 3/2; box-shadow: 0 10px 36px rgba(0,0,0,.5); cursor: zoom-in; position: relative; border: 0; padding: 0; width: 100%; display: block; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-count { position: absolute; right: .7rem; bottom: .7rem; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: .25rem .6rem; border-radius: 20px; display: inline-flex; gap: .35rem; align-items: center; }
.thumbs { display: flex; gap: .5rem; margin-top: .7rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.thumbs button { flex: 0 0 72px; height: 48px; border-radius: 5px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: var(--t); padding: 0; background: #000; }
.thumbs button:hover, .thumbs button.active { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.12; margin-bottom: .9rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.chip { padding: .28rem .75rem; border-radius: 20px; font-size: .76rem; font-weight: 600; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.5rem; }
.fact { background: rgba(255,255,255,.09); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: .75rem .95rem; display: flex; gap: .75rem; align-items: center; color: #fff; }
a.fact:hover { background: rgba(255,255,255,.16); color: #fff; }
.fact svg { color: var(--gold); flex-shrink: 0; }
.fact small { display: block; font-size: .68rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .07em; }
.fact b { font-size: .9rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 360px) { .facts { grid-template-columns: 1fr; } }
.detail-cta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.detail-note { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .85rem; display: flex; gap: .4rem; align-items: center; }

.detail-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .detail-body { grid-template-columns: 1fr; } }
.prose { font-size: .98rem; color: var(--text-secondary); line-height: 1.8; }
.prose p { margin-bottom: 1rem; }
.prose h2 { font-family: var(--font-display); color: var(--accent); font-size: 1.3rem; margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--gold-border); text-underline-offset: 3px; }
.box { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); }
.box h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .9rem; display: flex; align-items: center; gap: .4rem; }
.version { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--border-light); }
.version:first-of-type { border-top: 0; padding-top: 0; }
.fmt { width: 44px; height: 44px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .64rem; font-weight: 800; color: var(--text-secondary); text-transform: uppercase; flex-shrink: 0; }
.fmt.zip { background: #fff3e0; border-color: #ff9800; color: #e65100; }
.fmt.stl { background: var(--free-bg); border-color: #4caf50; color: var(--free); }
.fmt._3mf { background: var(--resin-bg); border-color: #2196f3; color: var(--resin); }
.version b { display: block; font-size: .88rem; color: var(--text); line-height: 1.3; }
.version .tags { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .3rem; }
.box-cta { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.box-cta .btn { width: 100%; }
.box-hint { font-size: .78rem; color: var(--text-muted); text-align: center; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.lightbox.open { display: flex; animation: lbIn .2s ease; }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius-lg); box-shadow: 0 16px 64px rgba(0,0,0,.8); }
.lb-btn { position: fixed; color: #fff; font-size: 1.8rem; cursor: pointer; background: rgba(255,255,255,.12); border: none; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; transition: var(--t); }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1.1rem; right: 1.25rem; font-size: 1.4rem; }
.lb-prev { top: 50%; left: 1rem; transform: translateY(-50%); }
.lb-next { top: 50%; right: 1rem; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; }

/* ============================================================ LEGAL / CONTENT PAGES */
.content { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.content .prose h2 { padding-bottom: .4rem; border-bottom: 1px solid var(--border); font-size: 1.15rem; }

/* ============================================================ ERROR */
.error-page { text-align: center; padding: 5rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.error-code { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--patreon-red); line-height: 1; }
.error-page h1 { font-family: var(--font-display); font-size: 1.5rem; }
.error-page p { color: var(--text-secondary); max-width: 440px; }

/* ============================================================ FOOTER */
.site-footer { background: var(--ink); color: rgba(255,255,255,.55); border-top: 3px solid var(--gold); font-size: .84rem; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem 1.5rem 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-grid a { color: rgba(255,255,255,.65); }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); }
.footer-brand b { color: #fff; font-family: var(--font-display); font-size: 1rem; display: block; margin-bottom: .25rem; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ============================================================ Feinschliff */
.featured-grid > :first-child .model-body { flex: 0 0 auto; }
.model-sub { display: block; }
.model-sub svg { display: inline; vertical-align: -1px; margin-right: .25rem; }
.f-input { min-width: 0; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .cta-band .hero-actions { flex-shrink: 1; }
  .f-input { width: 100%; flex: 1 1 100%; }
  .f-search { flex-basis: 100%; }
}

/* ============================================================ Detailseite mobil (wie Download Hub) */
.detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.detail-grid > * { min-width: 0; }
.thumbs { flex-wrap: wrap; overflow: visible; gap: .5rem; }
.thumbs button { flex: 0 0 60px; width: 60px; height: 45px; }
.detail-title, .fact b { overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .detail-hero { padding: 1.25rem 0 2rem; }
  .detail-hero .wrap { padding: 0 1rem; }
  .gallery-main { border-radius: var(--radius); }
  .thumbs { gap: .4rem; }
  .thumbs button { flex-basis: calc((100% - 2rem) / 6); width: auto; height: auto; aspect-ratio: 4/3; }
  .detail-title { font-size: 1.6rem; }
  .facts { gap: .5rem; }
  .fact { padding: .6rem .7rem; gap: .55rem; }
  .fact svg { width: 18px; height: 18px; }
  .detail-cta .btn { width: 100%; white-space: normal; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
}

/* ============================================================ SOCIAL */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.social-card { display: flex; align-items: center; gap: .9rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; color: inherit; box-shadow: var(--shadow); transition: var(--t); }
.social-card:hover { color: inherit; box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold-border); }
.social-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-text { flex: 1; min-width: 0; }
.social-text b { display: block; font-size: .98rem; color: var(--text); }
.social-text small { color: var(--text-muted); font-size: .8rem; }
.social-go { color: var(--text-muted); }
.social-card:hover .social-go { color: var(--patreon-red); }

/* ============================================================ KONTAKT */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-side p { font-size: .9rem; color: var(--text-secondary); margin-bottom: .5rem; }
.contact-side a { overflow-wrap: anywhere; }
.form { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } .form { padding: 1.1rem; } }
.f-field { display: flex; flex-direction: column; gap: .35rem; font-size: .84rem; font-weight: 600; color: var(--text-secondary); }
.f-field i, .f-consent i { color: var(--patreon-red); font-style: normal; }
.f-field small { font-weight: 400; color: var(--text-muted); }
.f-field input, .f-field select, .f-field textarea { font: inherit; font-size: .92rem; font-weight: 400; color: var(--text); padding: .65rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; outline: none; transition: var(--t); width: 100%; }
.f-field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
[aria-invalid="true"] { border-color: var(--patreon-red) !important; background: #fff8f8 !important; }
.f-error { color: #c53030; font-size: .78rem; font-weight: 500; }
.f-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--text-secondary); cursor: pointer; }
.f-consent input { margin-top: .2rem; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.f-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.f-actions small { color: var(--text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .9rem; border-left: 4px solid; }
.notice svg { flex-shrink: 0; margin-top: .1rem; }
.notice--ok { background: var(--free-bg); border-color: var(--free); color: #1b5e20; }
.notice--error { background: #fff5f5; border-color: #c53030; color: #742a2a; }
.detail-ask { margin-top: .9rem; font-size: .84rem; }
.detail-ask a { color: rgba(255,255,255,.8); display: inline-flex; gap: .4rem; align-items: center; }
.detail-ask a:hover { color: #fff; }
