/*
Theme Name: PrintPinsel Community
Theme URI: https://printpinsel.de
Author: PrintPinsel
Description: Eigenes responsives Community-Theme für 3D-Druck, Miniaturen und Airbrush.
Version: 1.6.3
Text Domain: printpinsel
*/

:root {
  --ink: #eef5f4;
  --muted: #9fb0af;
  --panel: #182322;
  --panel-soft: #202f2e;
  --canvas: #0e1616;
  --orange: #ff8a3d;
  --orange-dark: #df6422;
  --mint: #35d0ba;
  --line: rgba(255,255,255,.1);
  --shadow: 0 20px 55px rgba(0,0,0,.28);
  --radius: 20px;
  --wrap: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(53,208,186,.14), transparent 34rem),
    radial-gradient(circle at 100% 10%, rgba(255,138,61,.12), transparent 30rem),
    var(--canvas);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body:before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.22; background-image:linear-gradient(rgba(53,208,186,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(53,208,186,.045) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,#000,transparent 85%); }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #70ead9; }
img { max-width: 100%; height: auto; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .7rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(14,22,22,.88); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg,var(--orange),#ffb04a); color:#151515; box-shadow: 0 8px 24px rgba(255,138,61,.3); font-size: 1.35rem; }
.brand em { color: var(--mint); font-style: normal; }
.main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.main-nav a { display: block; padding: .6rem .75rem; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; border-radius: 10px; }
.main-nav .menu-item-account a { color:var(--mint); background:rgba(53,208,186,.08); }
.main-nav .menu-item-logout a { color:var(--orange); border:1px solid rgba(255,138,61,.24); }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--panel-soft); color: var(--mint); }
.account-link { border: 1px solid rgba(53,208,186,.45); }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); padding: .6rem .8rem; font: inherit; }

.hero { padding: clamp(64px,9vw,120px) 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(36px,5vw,76px); }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.build-credit { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 20px; padding:8px 12px; border:1px solid rgba(255,255,255,.13); border-radius:999px; color:#b8c5c4; background:rgba(18,30,29,.7); font-size:.78rem; text-decoration:none; backdrop-filter:blur(10px); }
.build-credit:hover { color:var(--ink); border-color:rgba(53,208,186,.42); }
.build-credit strong { color:var(--ink); }
.build-credit em { color:var(--mint); font-style:normal; font-weight:800; }
.credit-pulse { width:8px; height:8px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 5px rgba(255,138,61,.11),0 0 18px rgba(255,138,61,.6); }
h1,h2,h3 { line-height: 1.13; letter-spacing: -.035em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.7rem,7vw,5.8rem); }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 680px; margin: 24px 0 30px; color: #c0cecd; font-size: clamp(1.06rem,2vw,1.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.1rem; border-radius: 12px; background: var(--orange); color: #161616; text-decoration: none; font-weight: 800; box-shadow: 0 12px 32px rgba(255,138,61,.2); }
.button:hover { background: #ffa161; color: #111; transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: var(--panel-soft); border: 1px solid var(--line); box-shadow: none; }
.hero-art { position: relative; aspect-ratio: 1.52; min-height:440px; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; background-image:linear-gradient(90deg,rgba(8,15,15,.18),transparent 45%),url('assets/images/printpinsel-creative-workshop-hero-v2.png'); background-size:cover; background-position:center; box-shadow:0 35px 90px rgba(0,0,0,.46),0 0 70px rgba(53,208,186,.08); transform:perspective(1200px) rotateY(-2deg) rotateZ(1deg); overflow:hidden; }
.hero-art:before { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(6,10,10,.72)); pointer-events:none; }
.hero-art:after { content:""; position:absolute; inset:14px; border:1px solid rgba(255,255,255,.1); border-radius:25px; pointer-events:none; }
.hero-art-badge { position:absolute; z-index:2; left:24px; bottom:22px; display:grid; padding:11px 14px; border:1px solid rgba(255,255,255,.16); border-radius:13px; background:rgba(8,15,15,.78); backdrop-filter:blur(12px); box-shadow:0 12px 30px rgba(0,0,0,.25); }
.hero-art-badge strong { color:var(--orange); font-size:.95rem; }
.hero-art-badge small { color:#d2dddc; }

.section { position:relative; padding: 78px 0; }
.section.workbench:before { content:""; position:absolute; inset:25px 0; z-index:-1; background:linear-gradient(105deg,rgba(255,138,61,.06),transparent 34%,rgba(53,208,186,.055)); border-block:1px solid rgba(255,255,255,.055); transform:skewY(-1.4deg); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.3rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.card-grid { display:grid; grid-template-columns:1.18fr .82fr .82fr 1.18fr; gap:16px; align-items:stretch; }
.feature-card { display:flex; flex-direction:column; min-height:250px; padding:24px; color:var(--ink); text-decoration:none; background:linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.015)),var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 14px 40px rgba(0,0,0,.12); transition:.2s ease; }
.feature-card:hover { color:var(--ink); border-color:rgba(53,208,186,.55); transform:translateY(-4px); }
.feature-card:nth-child(1),.feature-card:nth-child(4) { min-height:292px; }
.feature-card:nth-child(2) { transform:translateY(20px); }
.feature-card:nth-child(2):hover { transform:translateY(16px); }
.feature-card:nth-child(3) { transform:translateY(-12px); }
.feature-card:nth-child(3):hover { transform:translateY(-16px); }
.card-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:34px; border-radius:14px; color:#151515; background:var(--mint); font-size:1.35rem; font-weight:900; }
.feature-card:nth-child(even) .card-icon { background:var(--orange); }
.feature-card h3 { margin:0 0 8px; font-size:1.35rem; }
.feature-card p { margin:0; color:var(--muted); }
.feature-card .arrow { margin-top:auto; padding-top:18px; color:var(--mint); font-weight:750; }

.notice { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:32px; border-radius:var(--radius); border:1px solid rgba(255,138,61,.28); background:linear-gradient(110deg,rgba(255,138,61,.12),rgba(53,208,186,.08)); }
.notice h2 { margin:0 0 5px; font-size:clamp(1.4rem,3vw,2rem); }
.notice p { margin:0; color:var(--muted); }

.maker-strip { border-block:1px solid var(--line); background:rgba(7,13,13,.62); overflow:hidden; }
.maker-strip-inner { display:flex; gap:clamp(25px,6vw,80px); align-items:center; justify-content:center; min-height:72px; color:#bdcac9; font-size:.82rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.maker-strip span { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.maker-strip span:before { content:""; width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 16px var(--mint); }
.maker-strip span:nth-child(even):before { background:var(--orange); box-shadow:0 0 16px var(--orange); }

.ai-lab { position:relative; overflow:hidden; padding:clamp(30px,6vw,68px); border:1px solid rgba(53,208,186,.22); border-radius:30px 10px 30px 10px; background:radial-gradient(circle at 80% 15%,rgba(53,208,186,.15),transparent 27rem),linear-gradient(130deg,#172423,#101919); box-shadow:var(--shadow); }
.ai-lab:before { content:"AI"; position:absolute; right:-15px; top:-70px; color:rgba(255,255,255,.025); font-size:clamp(12rem,28vw,25rem); font-weight:950; line-height:1; letter-spacing:-.12em; }
.ai-grid { position:relative; display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(32px,7vw,90px); align-items:center; }
.ai-copy h2 { max-width:640px; }
.ai-copy p { color:#bdcac9; font-size:1.08rem; }
.ai-badge { display:inline-flex; gap:8px; align-items:center; margin-bottom:17px; padding:7px 11px; border:1px solid rgba(53,208,186,.32); border-radius:999px; color:var(--mint); background:rgba(53,208,186,.07); font-size:.76rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.ai-flow { display:grid; gap:10px; position:relative; }
.ai-step { display:grid; grid-template-columns:46px 1fr; gap:14px; align-items:center; padding:15px; border:1px solid var(--line); border-radius:15px; background:rgba(7,13,13,.55); backdrop-filter:blur(8px); }
.ai-step:nth-child(even) { margin-left:34px; border-color:rgba(255,138,61,.25); }
.ai-step strong { display:block; color:var(--ink); }
.ai-step small { color:var(--muted); }
.ai-num { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; color:#111; background:var(--mint); font-weight:950; }
.ai-step:nth-child(even) .ai-num { background:var(--orange); }
.ai-principle { position:relative; margin-top:24px; padding-top:18px; border-top:1px solid var(--line); color:#aebdbc; font-size:.9rem; }
.ai-principle strong { color:var(--orange); }

.content-shell { width:min(920px,calc(100% - 36px)); margin:60px auto 90px; padding:clamp(25px,5vw,55px); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.content-shell > h1:first-child, .entry-title { margin-top:0; font-size:clamp(2.1rem,5vw,3.7rem); }
.entry-content h2 { margin-top:2.1em; }
.entry-content li { margin:.4em 0; }

#bbpress-forums, #buddypress { color:var(--ink); }
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer, #bbpress-forums div.even, #bbpress-forums ul.even { background:var(--panel-soft); }
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic { border-color:var(--line); }
#bbpress-forums a, #buddypress a { color:var(--mint); }
#bbpress-forums { font-size:.96rem; }
#bbpress-forums ul.bbp-forums { border:0; background:transparent; }
#bbpress-forums li.bbp-header { margin-bottom:13px; padding:14px 18px; border:1px solid rgba(53,208,186,.2); border-radius:14px; background:linear-gradient(100deg,rgba(53,208,186,.13),rgba(255,138,61,.08)); color:#dce6e5; font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; }
#bbpress-forums li.bbp-body { display:grid; gap:13px; }
#bbpress-forums li.bbp-body ul.forum { position:relative; margin:0; padding:20px 18px; border:1px solid var(--line); border-radius:17px; background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),var(--panel); box-shadow:0 12px 34px rgba(0,0,0,.12); transition:.2s ease; }
#bbpress-forums li.bbp-body ul.forum:hover { border-color:rgba(53,208,186,.38); transform:translateX(3px); }
#bbpress-forums .bbp-forum-title { color:var(--ink); font-size:1.08rem; font-weight:850; text-decoration:none; }
#bbpress-forums .bbp-forum-content { margin-top:5px; color:var(--muted); line-height:1.55; }
#bbpress-forums .bbp-forums-list { margin:12px 0 0; padding:10px 12px; border-left:3px solid var(--orange); border-radius:0 10px 10px 0; background:rgba(7,13,13,.45); }
#bbpress-forums .bbp-forums-list li { display:inline-block; margin:4px 14px 4px 0; }
#bbpress-forums .bbp-forums-list a { color:#cdd8d7; text-decoration:none; }
#bbpress-forums .bbp-forums-list a:hover { color:var(--orange); }
#bbpress-forums li.bbp-footer { margin-top:13px; padding:12px; border:0; border-radius:12px; background:rgba(255,255,255,.03); }
#bbpress-forums div.odd,
#bbpress-forums div.even,
#bbpress-forums div.reply,
#bbpress-forums div.topic { background:var(--panel) !important; color:var(--ink) !important; }
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header { background:#101a19 !important; color:#d7e3e1 !important; border-color:var(--line) !important; }
#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author,
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content { background:var(--panel) !important; color:#eef5f4 !important; }
#bbpress-forums div.bbp-reply-content p,
#bbpress-forums div.bbp-topic-content p,
#bbpress-forums div.bbp-reply-content li,
#bbpress-forums div.bbp-topic-content li { color:#eef5f4 !important; line-height:1.7; }
#bbpress-forums div.bbp-reply-content h1,
#bbpress-forums div.bbp-reply-content h2,
#bbpress-forums div.bbp-reply-content h3,
#bbpress-forums div.bbp-topic-content h1,
#bbpress-forums div.bbp-topic-content h2,
#bbpress-forums div.bbp-topic-content h3 { color:#ffffff !important; }
#bbpress-forums .bbp-meta,
#bbpress-forums .bbp-reply-post-date,
#bbpress-forums .bbp-topic-post-date { color:#b6c5c3 !important; }
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums fieldset.bbp-form,
#bbpress-forums .bbp-template-notice,
#bbpress-forums div.bbp-template-notice,
#bbpress-forums li.bbp-body,
#bbpress-forums li.bbp-body > div,
#bbpress-forums li.bbp-body > ul { background:var(--panel) !important; color:var(--ink) !important; border-color:var(--line) !important; }
#bbpress-forums .bbp-template-notice p,
#bbpress-forums div.bbp-template-notice p,
#bbpress-forums fieldset.bbp-form legend,
#bbpress-forums label,
#bbpress-forums .bbp-author-role,
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness,
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count { color:#dce7e5 !important; }
#bbpress-forums input,
#bbpress-forums textarea,
#bbpress-forums select { background:#0f1918 !important; color:#f4f8f7 !important; border-color:#40514f !important; }
#bbpress-forums table,
#bbpress-forums tbody,
#bbpress-forums tr,
#bbpress-forums td,
#bbpress-forums th { background:var(--panel) !important; color:var(--ink) !important; border-color:var(--line) !important; }
#buddypress .standard-form,
#buddypress .item-list,
#buddypress .item-list-tabs,
#buddypress table,
#buddypress tr,
#buddypress td,
#buddypress th { background:var(--panel) !important; color:var(--ink) !important; border-color:var(--line) !important; }
#buddypress input,
#buddypress textarea,
#buddypress select { background:#0f1918 !important; color:#f4f8f7 !important; border-color:#40514f !important; }
#buddypress { --bp-card:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.015)),var(--panel); }
#buddypress #item-header { margin-bottom:24px; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--bp-card); box-shadow:0 15px 38px rgba(0,0,0,.18); }
#buddypress #item-header-avatar img,
#buddypress .item-avatar img { border:3px solid rgba(53,208,186,.28); border-radius:18px; background:#0f1918; box-shadow:0 10px 25px rgba(0,0,0,.25); }
#buddypress #item-header-content h2,
#buddypress #item-header-content h2 a { color:#fff; text-decoration:none; }
#buddypress #item-header-content .activity,
#buddypress .item-meta,
#buddypress .item-desc { color:#aebfbd !important; }
#buddypress .item-list-tabs { margin:0 0 20px !important; padding:8px !important; border:1px solid var(--line); border-radius:15px; }
#buddypress .item-list-tabs ul { display:flex; flex-wrap:wrap; gap:6px; }
#buddypress .item-list-tabs ul li { float:none; margin:0; }
#buddypress .item-list-tabs ul li a { display:block; padding:9px 12px; border-radius:10px; color:#c9d5d3; text-decoration:none; }
#buddypress .item-list-tabs ul li.current a,
#buddypress .item-list-tabs ul li.selected a,
#buddypress .item-list-tabs ul li a:hover { color:#101616; background:var(--mint); }
#buddypress ul.item-list { display:grid; gap:12px; padding:0; border:0 !important; background:transparent !important; }
#buddypress ul.item-list > li { margin:0; padding:18px !important; border:1px solid var(--line) !important; border-radius:16px; background:var(--bp-card); transition:.2s ease; }
#buddypress ul.item-list > li:hover { border-color:rgba(53,208,186,.38) !important; transform:translateY(-2px); }
#buddypress .item-title a { color:#f3f8f7; font-size:1.05rem; font-weight:800; }
#buddypress .activity-list .activity-item { padding:18px !important; }
#buddypress .activity-content,
#buddypress .activity-comments { color:#dce7e5; }
#buddypress .activity-header,
#buddypress .activity-header p { color:#aebfbd !important; }
#buddypress .activity-inner { margin-top:12px; padding:13px 15px; border-left:3px solid var(--orange); border-radius:0 10px 10px 0; background:rgba(7,13,13,.42); }
#buddypress .messages-notices thead,
#buddypress table.notifications thead { background:linear-gradient(100deg,rgba(53,208,186,.14),rgba(255,138,61,.1)) !important; }
#buddypress .messages-notices td,
#buddypress table.notifications td { padding:14px 10px; }
#buddypress .pagination { margin:16px 0; color:var(--muted); }
#buddypress .pagination-links a,
#buddypress .pagination-links span { display:inline-grid; min-width:34px; min-height:34px; margin:2px; place-items:center; border:1px solid var(--line); border-radius:9px; text-decoration:none; }
#buddypress .pagination-links .current { color:#111; background:var(--orange); }
#buddypress .standard-form label,
#buddypress .standard-form legend { color:#f0f6f5; font-weight:750; }
#buddypress .standard-form .description { color:var(--muted); }
#buddypress #message,
#buddypress .bp-feedback { padding:13px 15px; border:1px solid rgba(53,208,186,.3); border-radius:12px; background:rgba(53,208,186,.08); color:#eaf5f3; }
#bbpress-forums .bbp-search-form { margin-bottom:20px; }
#bbpress-forums #bbp-search-form { display:flex; gap:8px; }
#bbpress-forums #bbp_search { min-width:min(330px,65vw); }
input,textarea,select { max-width:100%; padding:.75rem; color:var(--ink); background:#101b1a; border:1px solid var(--line); border-radius:9px; }
button,input[type=submit] { padding:.7rem 1rem; border:0; border-radius:9px; background:var(--orange); color:#151515; font-weight:800; cursor:pointer; }

.site-footer { border-top:1px solid var(--line); background:#0a1111; }
.footer-inner { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; padding:35px 0; }
.footer-copy { color:var(--muted); font-size:.9rem; }
.footer-credit { max-width:650px; margin-top:10px; color:#839493; font-size:.78rem; line-height:1.5; }
.footer-credit strong { color:#c8d3d2; }
.footer-links { display:flex; flex-wrap:wrap; gap:16px; }
.footer-links a { color:#cbd5d4; font-size:.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-art { max-width:520px; width:85%; margin-inline:auto; }
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .feature-card:nth-child(n) { min-height:250px; transform:none; }
  .feature-card:nth-child(n):hover { transform:translateY(-4px); }
  .ai-grid { grid-template-columns:1fr; }
  .nav-toggle { display:block; }
  .main-nav { display:none; position:absolute; left:18px; right:18px; top:70px; padding:12px; background:#101b1a; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
  .main-nav.is-open { display:block; }
  .main-nav ul { display:block; }
  .main-nav a { padding:.75rem; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns:1fr; }
  .notice, .footer-inner { display:block; }
  .notice .button { margin-top:18px; }
  .footer-links { margin-top:18px; }
  .hero { padding-top:50px; }
  .hero-art { width:100%; min-height:360px; background-position:62% center; transform:none; border-radius:24px; }
  .maker-strip-inner { justify-content:flex-start; overflow-x:auto; padding-inline:18px; }
  .ai-lab { padding:26px 20px; }
  .ai-step:nth-child(even) { margin-left:0; }
}
