/* ============================================================
   PlaCeMS · static/style.css
   Zusammengeführt aus style.css (Landingpage, Basis-Variablen,
   Reset, Hero, Modul-Karten, Cookie-Manager, AI-Chat-Widget) +
   pages.css (Unterseiten-Layout, Topbar-Actions, Footer, Abo-
   Modul-Boxen) - vorher zwei getrennte Dateien, jetzt eine.

   Reihenfolge bewusst beibehalten: der :root-Block unten muss vor
   allem stehen, das war der ganze Grund für die Trennung in zwei
   <link>-Tags. Der zweite Abschnitt (ehemals pages.css) überschreibt
   bewusst .glass-card (kein Blur auf der Startseite-Kartenreihe) -
   das funktioniert nur, weil er textlich NACH dem ersten Abschnitt
   steht, exakt wie bisher durch die Lade-Reihenfolge der zwei
   <link>-Tags. Bitte diese Reihenfolge beim Bearbeiten nicht
   vertauschen.
   ============================================================ */

/* ============================================================
   PC CMS — Landingpage
   Dark Glassmorphism SaaS-Design (Vercel/Linear-Stil)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Basis-Farben */
    --navy:       #0A1930;
    --dark:       #0D1117;
    --primary:    #103B87;
    --bright:     #1C6DFF;
    --accent:     #42B8FF;
    --light:      #F5F7FA;

    /* Semantisch */
    --success:    #22C55E;
    --warning:    #FBBF24;
    --error:      #EF4444;
    --info:       #8B5CF6;

    /* Verläufe */
    --grad-primary: linear-gradient(135deg, #38B6FF 0%, #1565FF 100%);
    --grad-accent:  linear-gradient(135deg, var(--bright) 0%, var(--accent) 100%);
    --grad-glow:    linear-gradient(90deg, var(--bright), var(--accent));

    /* Glass */
    --glass-bg:     rgba(15, 20, 35, .75);
    --glass-border: rgba(255, 255, 255, .08);
    --glass-blur:   15px;

    --text:         var(--light);
    --text-muted:   #93A4C3;
    --radius:       14px;
    --font:         'Inter', -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
    --font-hand:    'Permanent Marker', cursive;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================================
   HINTERGRUND-DEKORATION — Wasserzeichen-Glow + Punktmuster
   (nur Deko, die eigentliche Grundfarbe kommt jetzt von body)
   ============================================================ */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.bg-watermark {
    position: absolute;
    top: -10%;
    left: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(28,109,255,.08) 0%, transparent 70%);
    animation: drift 22s ease-in-out infinite alternate;
}
.bg-dots {
    position: absolute;
    top: 8%;
    right: 6%;
    width: 220px;
    height: 220px;
    background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: .5;
}
@keyframes drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(40px, 30px); }
}
@media (prefers-reduced-motion: reduce) {
    .bg-watermark { animation: none; }
}

/* Menü-Styling liegt jetzt komplett im Nav-Modul (static/nav.css). */

/* ============================================================
   HERO
   ============================================================ */
.top-wrap { position: relative; }

.header-bg-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero {
    position: relative;
    padding: 90px 32px 140px;
    max-width: 1280px;
    margin: 0 auto;
}
.hero-copy { max-width: 560px; }
.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.hero h1 {
    font-family: var(--font-hand);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 22px;
}
.hero h1 .line1,
.hero h1 .accent {
    color: #fff;
    -webkit-text-stroke: 1px #363b45;
    text-stroke: 1px #363b45;
}
.hero p {
    font-size: 17px;
    color: #dfe1e5;
    max-width: 460px;
    margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: none;
}
.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 0 0 rgba(28,109,255,0);
}
.btn-primary:hover {
    box-shadow: 0 0 28px rgba(56,182,255,.55);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover { border-color: var(--bright); background: rgba(28,109,255,.08); }

/* ============================================================
   MODUL-KARTEN
   ============================================================ */
.section { padding: 60px 32px; max-width: 1280px; margin: 0 auto; }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--glass-blur));
    padding: 26px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(28,109,255,.5);
    box-shadow: 0 16px 40px rgba(28,109,255,.15);
}
.module-icon {
    width: 56px;
    height: 59px;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 6px 14px rgba(28,109,255,.25));
}
.glass-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.glass-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   CODE-SHOWCASE + STATS
   ============================================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.code-card {
    grid-column: span 1;
    font-family: var(--font-mono);
    font-size: 13px;
    position: relative;
}
.code-card .filename {
    position: absolute;
    top: 26px; right: 26px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font);
}
.code-line { display: flex; gap: 14px; margin-bottom: 6px; }
.code-line .ln { color: rgba(255,255,255,.25); width: 14px; text-align: right; flex-shrink: 0; }
.code-kw { color: var(--accent); }
.code-fn { color: #FFD479; }
.code-cm { color: var(--text-muted); }
.code-txt { color: #e6e6e6; }
.typed-cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

.preview-card { grid-column: span 1; padding: 0; overflow: hidden; }
.preview-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--glass-border); }
.preview-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.15); }
.preview-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.preview-nav .pn-logo { font-weight: 800; font-size: 14px; }
.preview-nav .pn-links { display: flex; gap: 16px; font-size: 11px; color: var(--text-muted); }
.preview-body { padding: 0 20px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.preview-image { height: 90px; border-radius: 8px; background: linear-gradient(135deg, rgba(28,109,255,.35), rgba(66,184,255,.15)); }
.preview-lines span { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.12); margin-bottom: 8px; }

.stats-card { grid-column: span 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat-item .stat-num {
    font-size: 30px;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}
.stat-item .stat-label { font-size: 12.5px; color: var(--text-muted); }

/* ============================================================
   TEMPLATE-GALERIE
   ============================================================ */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.section-head h2 { font-size: 24px; font-weight: 700; }
.section-head a { font-size: 14px; color: var(--accent); font-weight: 600; }

.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.template-card { padding: 0; overflow: hidden; }
.template-preview {
    height: 140px;
    background: linear-gradient(135deg, var(--primary), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    position: relative;
}
.template-preview .tp-logo { position: absolute; top: 12px; left: 14px; font-weight: 800; font-size: 12px; opacity: .6; }
.template-meta { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.template-meta .t-name { font-weight: 700; font-size: 14px; }
.template-meta .t-tag { font-size: 11px; color: var(--accent); background: rgba(28,109,255,.12); padding: 3px 9px; border-radius: 20px; }

/* ============================================================
   TEMPLATE-LIGHTBOX
   ============================================================ */
.tpl-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(5,8,16,.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.tpl-lightbox.open { display: flex; }
.tpl-lightbox-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.tpl-lightbox-box img {
    width: 600px;
    height: 400px;
    max-width: 80vw;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.tpl-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 4px 2px;
}
.tpl-lightbox-caption #tpl-lightbox-name { font-weight: 700; font-size: 15px; }
.tpl-lightbox-caption a { font-size: 13px; color: var(--accent); font-weight: 600; }
.tpl-lightbox-caption a:hover { text-decoration: underline; }
.tpl-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}
.tpl-lightbox-close:hover { background: var(--error); border-color: var(--error); }
@media (max-width: 680px) {
    .tpl-lightbox-box img { width: 90vw; height: 60vw; max-height: 50vh; }
}

/* Footer-CSS liegt jetzt komplett in pages.css. */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .hero { padding: 90px 24px 100px; border-radius: 0; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: 1fr; }
    .templates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hero h1 { font-size: 36px; }
    .modules-grid { grid-template-columns: 1fr; }
    .templates-grid { grid-template-columns: 1fr; }
    .stats-card { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE-MANAGER
   ============================================================ */
.cookie-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 8px;
    cursor: pointer;
    z-index: 400;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform .2s;
}
.cookie-fab:hover { transform: translateY(-2px); }
.cookie-fab img { width: 100%; height: 100%; object-fit: contain; display: block; }

.cookie-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    background: rgba(5,8,16,.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cookie-overlay.open { display: flex; }
.cookie-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 440px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.cookie-header {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cookie-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
}
.cookie-close:hover { color: var(--text); }
.cookie-cat { margin-bottom: 16px; }
.cookie-cat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.cookie-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    cursor: pointer;
}
.cookie-item input { width: 16px; height: 16px; accent-color: var(--bright); cursor: pointer; }
.cookie-item--locked { opacity: .6; cursor: default; }
.cookie-item--locked input { cursor: default; }
.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.cookie-actions .btn { flex: 1; justify-content: center; padding: 11px; font-size: 14px; }
@media (max-width: 480px) {
    .cookie-fab { left: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* ============================================================
   AI-CHAT-WIDGET
   ============================================================ */
.ai-chat-fab {
    position: fixed;
    right: 24px;
    bottom: 123px;
    width: 100px;
    height: 100px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 400;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
    transition: transform .2s;
}
.ai-chat-fab:hover { transform: scale(1.05); }
.ai-chat-fab img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ai-chat-overlay {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 136px;
    z-index: 500;
    align-items: flex-end;
    justify-content: flex-end;
}
.ai-chat-overlay.open { display: flex; }
.ai-chat-box {
    width: 340px;
    max-width: calc(100vw - 40px);
    max-height: 70vh;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 700;
    font-size: 14px;
}
.ai-chat-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 13px; }
.ai-chat-close:hover { color: var(--text); }
.ai-chat-step { padding: 18px; }
.ai-chat-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.ai-chat-field { margin-bottom: 12px; }
.ai-chat-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.ai-chat-field input {
    width: 100%;
    padding: 9px 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
}
.ai-chat-field input:focus { outline: none; border-color: var(--bright); }
.ai-chat-error { font-size: 12px; color: var(--error); margin-bottom: 12px; }

.ai-chat-step#ai-chat-step-chat { display: flex; flex-direction: column; padding: 0; height: 420px; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ai-chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.ai-chat-msg--bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); }
.ai-chat-msg--user { align-self: flex-end; background: var(--grad-primary); color: #fff; }
.ai-chat-msg--typing { color: var(--text-muted); animation: pcTypingPulse 1.2s ease-in-out infinite; }
@keyframes pcTypingPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.ai-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--glass-border);
}
.ai-chat-input-row input {
    flex: 1;
    padding: 9px 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13.5px;
    font-family: var(--font);
}
.ai-chat-input-row input:focus { outline: none; border-color: var(--bright); }
.ai-chat-input-row button {
    width: 38px;
    border: none;
    border-radius: 8px;
    background: var(--grad-primary);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}
@media (max-width: 480px) {
    .ai-chat-fab { width: 76px; height: 76px; right: 16px; bottom: 16px; }
    .ai-chat-overlay { right: 12px; bottom: 100px; }
    .ai-chat-box { width: calc(100vw - 24px); }
}

/* ============================================================
   ── Ehemals static/pages.css ──────────────────────────────
   Basis-Layout für Unterseiten (Artikel, Katalog, Galerie,
   Portfolio, Event) + fester Sprach-Umschalter. Struktur-CSS –
   Farben/Feinschliff bewusst dezent. Hand-editierbar, wird NICHT
   von generate.php überschrieben.
   ============================================================ */


/* ── Content-Container ───────────────────────────────────── */
.content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    color: #e7ecf3;
}

/* ── Artikel ─────────────────────────────────────────────── */
.pc-article,
.pc-entry {
    max-width: 1180px;
    margin: 0 auto;

    line-height: 1.7;
   /*  padding: 10px; */
   padding-left:50px;
   padding-right:15px;
   padding-top: 15px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    /* glossy Glasfläche wie das Top-Nav: Glanzverlauf über dunkel-transparent + Blur */
    background: linear-gradient(to bottom, rgba(255,255,255,.06), rgba(0,0,0,.12)), rgba(13,17,23,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pc-article-head h1,
.pc-entry h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
}
.pc-article-date {
    font-size: .85rem;
    opacity: .6;
    margin-bottom: 24px;
}
.pc-article-featured img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 8px 0 28px;
    display: block;
}
.pc-article-body { font-size: 1.05rem; }
.pc-article-body h2 { font-size: 1.5rem; margin: 32px 0 12px; color: #fff; }
.pc-article-body h3 { font-size: 1.2rem; margin: 24px 0 10px; color: #fff; }
.pc-article-body p  { margin: 0 0 16px; }
.pc-article-body img { max-width: 100%; height: auto; border-radius: 6px; }
.pc-article-body ul, .pc-article-body ol { margin: 0 0 16px 22px; }
.pc-article-body a { color: #4aa3ff; }

/* ── Katalog / Übersichtsseiten ──────────────────────────── */
.pc-catalog-head h1 { font-size: 2rem; color: #fff; margin: 0 0 24px; }
.pc-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}
.pc-card {
    flex: 0 1 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* glossy Glasfläche wie die Artikel-Box */
    background: linear-gradient(to bottom, rgba(255,255,255,.06), rgba(0,0,0,.12)), rgba(13,17,23,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, border-color .15s ease;
}
.pc-card:hover { transform: translateY(-3px); border-color: rgba(74,163,255,.6); }
.pc-card-img img { width: 100%; height: 170px; object-fit: cover; display: block; }
.pc-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pc-card-title { font-size: 1.15rem; margin: 0; color: #fff; }
.pc-card-exc { font-size: .92rem; opacity: .75; margin: 0; }
.pc-card-more { font-size: .85rem; color: #4aa3ff; margin-top: 4px; }

/* ── Galerie-/Portfolio-Grid ─────────────────────────────── */
.pc-gallery-grid,
.pc-portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 28px;
}
.pc-grid-item { flex: 0 1 220px; max-width: 100%; margin: 0; }
.pc-grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.pc-grid-item figcaption { font-size: .82rem; opacity: .7; margin-top: 6px; }

/* ── Event ───────────────────────────────────────────────── */
.pc-event-meta { font-size: 1rem; opacity: .85; margin: 4px 0 20px; }
.pc-event-flyer img { max-width: 100%; border-radius: 10px; margin-bottom: 20px; }
.pc-entry-link a { color: #4aa3ff; }

/* ── Fester Kopf-Button-Bereich (Sprache, Login, Newsletter, Donate) ──
   Alle vier teilen sich einen gemeinsamen, fest positionierten
   Container - so bleiben sie unabhängig von Textlänge (Login/Logout,
   EN/DE) sauber nebeneinander statt sich zu überlappen. */
.pc-topbar-actions {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pc-topbar-actions .pc-lang-toggle,
.pc-topbar-actions .pc-user-trigger,
.pc-topbar-actions .pc-nl-trigger,
.pc-topbar-actions .pc-donate-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 46px;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    background: rgba(20,30,50,.75);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.pc-topbar-actions .pc-lang-toggle:hover,
.pc-topbar-actions .pc-user-trigger:hover,
.pc-topbar-actions .pc-nl-trigger:hover,
.pc-topbar-actions .pc-donate-trigger:hover {
    background: rgba(40,60,95,.9);
    border-color: rgba(74,163,255,.7);
}
.pc-topbar-actions .pc-donate-trigger img { max-height: 22px; display: block; }

/* Absicherung: link/script-Tags, die Widgets mit ausliefern (CSS, JS,
   Einstellungs-JSON), bleiben garantiert unsichtbar - unabhaengig davon,
   ob spaeter mal wieder eine zu breite Regel wie ".pc-topbar-actions > *"
   dazukommt. */
.pc-topbar-actions script,
.pc-topbar-actions link {
    display: none !important;
}

/* Eingeloggt-Zustand: leicht grün unterlegt, Rahmen grün, weiterhin
   transparent (kein Vollton) */
.pc-topbar-actions .pc-user-trigger.pc-logged-in {
    background: rgba(30,120,60,.22);
    border-color: rgba(60,200,110,.55);
}
.pc-topbar-actions .pc-user-trigger.pc-logged-in:hover {
    background: rgba(30,120,60,.34);
    border-color: rgba(60,200,110,.8);
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .content { padding: 24px 14px 60px; }
    body.pc-has-side .content { margin-left: 0; }
}

/* ── B2: Intro-Text, Buttons, Event-Eckdaten ─────────────── */
.pc-entry-intro { font-size: 1.05rem; opacity: .85; margin: 0 0 24px; }

.pc-btn {
    display: inline-block;
    padding: 11px 22px;
    background: #1f7cff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease;
}
.pc-btn:hover { background: #3d94ff; }
.pc-entry-cta { margin-top: 26px; }

.pc-event-info {
    display: grid;
    gap: 10px;
    margin: 8px 0 26px;
    padding: 18px 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
}
.pc-event-row { display: flex; gap: 16px; }
.pc-event-key {
    flex: 0 0 120px;
    font-weight: 600;
    opacity: .7;
}
.pc-event-val { flex: 1; }
.pc-event-flyer img { max-width: 480px; width: 100%; cursor: zoom-in; }

@media (max-width: 640px) {
    .pc-event-row { flex-direction: column; gap: 2px; }
    .pc-event-key { flex-basis: auto; }
}

/* ── Footer-Feintuning + Karten ohne Blur ────────────────── */
/* ── Footer (komplettes Footer-Design – hier anpassen) ───── */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 32px;
    border-top: 1px solid var(--glass-border);
    background: rgba(13,17,23,.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.footer-left { width: 450px; max-width: 100%; flex-shrink: 0; padding-left: 55px; display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; }
.foot-tagline { font-size: 13px; color: var(--text-muted); }
.footer-social { display: flex; gap: 14px; padding-right: 50px; }
.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: rgba(28,109,255,.15); color: var(--accent); }
@media (max-width: 1000px) {
    .footer { flex-direction: column; gap: 20px; text-align: center; }
}

/* Modul-/Template-Karten der Startseite ohne Blur (klarer auf dem blauen BG) */
.glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ── Abo-Modul: "Mein Abo" / "Abo verwalten" ─────────────── */
.pc-abo-box { max-width: 1080px; }
.pc-abo-intro { margin-bottom: 16px; line-height: 1.6; }
.pc-abo-loading,
.pc-abo-error,
.pc-abo-ok { opacity: .85; }

.pc-abo-status-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(74,158,255,.15);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.pc-abo-status-tier { margin-top: 10px; font-weight: 600; }
.pc-abo-status-period { opacity: .75; font-size: .85rem; margin-top: 4px; }

.pc-abo-status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.pc-abo-status-active { background: rgba(39,174,96,.15); color: #27ae60; }
.pc-abo-status-pending { background: rgba(241,196,15,.15); color: #f1c40f; }
.pc-abo-status-suspended,
.pc-abo-status-cancelled,
.pc-abo-status-expired { background: rgba(192,57,43,.15); color: #e74c3c; }

.pc-abo-plans { display: grid; gap: 14px; }
.pc-abo-plan-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(74,158,255,.15);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.pc-abo-plan-name { font-weight: 600; }
.pc-abo-plan-price { opacity: .75; font-size: .9rem; }

.pc-abo-btn {
    background: #4a9eff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}
.pc-abo-btn:disabled { opacity: .5; cursor: default; }
.pc-abo-btn-danger { background: #c0392b; }

.pc-abo-manage-link,
.pc-abo-back-link { display: inline-block; margin-top: 10px; opacity: .8; }

/* ============================================================
   CODE-SHOWCASE: Text im Vorschaufeld + Mitmach-Kasten (20.10.2026)
   Steuerung im Landingeditor -> Code-Showcase.
   ============================================================ */
.preview-body--text { display: block; padding: 4px 22px 22px; }
.preview-body--text h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.preview-body--text p { font-size: 13.5px; line-height: 1.6; color: #c9d4e6; margin-bottom: 8px; }
.preview-body--text p:last-child { margin-bottom: 0; }

.showcase-cta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    border-color: rgba(28,109,255,.45);
    background: linear-gradient(135deg, rgba(28,109,255,.18), rgba(66,184,255,.06)), var(--glass-bg);
    box-shadow: 0 0 40px rgba(28,109,255,.12);
}
.showcase-cta-text { max-width: 760px; }
.showcase-cta h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: #fff; }
.showcase-cta p { font-size: 15px; line-height: 1.6; color: #dfe1e5; }
.showcase-cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 1000px) {
    .showcase-cta { flex-direction: column; align-items: flex-start; padding: 26px; }
}
@media (max-width: 560px) {
    .showcase-cta-btns { width: 100%; }
    .showcase-cta-btns .btn { flex: 1 1 100%; justify-content: center; }
}
