/* ==========================================================================
   Unterseiten (Sicherheit, Über uns, Blog, …)
   Eigene Klassen, da tailwind.css vorkompiliert ist und nur die Klassen der Startseite enthält.
   ========================================================================== */

.pg-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pg-wrap--narrow { max-width: 800px; }

/* Kopfbereich */
.pg-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 64px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 70%),
        #000;
}
.pg-hero__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.pg-eyebrow { color: #fbbf24; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.pg-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.12; margin: 12px 0 20px; color: #fff; }
.pg-lead { color: #9ca3af; font-size: 1.125rem; line-height: 1.7; }
.pg-meta { margin-top: 20px; color: #6b7280; font-size: 0.875rem; }

/* Abschnitte */
.pg-section { padding: 72px 0; }
.pg-section--alt { background: rgba(3, 7, 18, 0.5); border-top: 1px solid rgba(217, 119, 6, 0.1); border-bottom: 1px solid rgba(217, 119, 6, 0.1); }
.pg-section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.pg-section__head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; margin: 8px 0 12px; }
.pg-section__head p { color: #9ca3af; }

/* Raster & Karten */
.pg-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pg-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pg-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 1rem;
    border: 1px solid rgba(217, 119, 6, 0.2);
    background: rgba(17, 24, 39, 0.6);
    color: inherit;
    text-decoration: none;
}
a.pg-card { transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
a.pg-card:hover { border-color: #d4af37; box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); transform: translateY(-4px); }
.pg-card .icon-tile { margin-bottom: 20px; }
.pg-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.pg-card p { color: #9ca3af; font-size: 0.9375rem; line-height: 1.65; }
.pg-card__foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #6b7280; font-size: 0.8125rem; }
.pg-card__link { color: #fbbf24; font-weight: 600; font-size: 0.875rem; }

.pg-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 6, 0.35);
    background: rgba(217, 119, 6, 0.1);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 500;
}
.pg-badge--muted { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: #9ca3af; }
.pg-badge--get { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.1); color: #34d399; }
.pg-badge--post { border-color: rgba(96, 165, 250, 0.35); background: rgba(96, 165, 250, 0.1); color: #60a5fa; }
.pg-badge--put { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.pg-badge--delete { border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.1); color: #f87171; }

/* Kennzahlen */
.pg-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pg-stat { padding: 24px; text-align: center; border-radius: 1rem; border: 1px solid rgba(217, 119, 6, 0.2); background: rgba(17, 24, 39, 0.4); }
.pg-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.25rem; line-height: 1.1; }
.pg-stat span { color: #9ca3af; font-size: 0.875rem; }

/* Gründer */
.pg-founder {
    display: grid;
    gap: 32px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 1.25rem;
    border: 1px solid rgba(217, 119, 6, 0.25);
    background: radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.12), transparent 60%), rgba(17, 24, 39, 0.6);
    text-align: center;
}
.pg-founder__photo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #d4af37;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}
.pg-founder__body h3 { font-size: 1.75rem; font-weight: 700; color: #fff; }
.pg-founder__body p { color: #9ca3af; line-height: 1.7; }
.pg-founder__body p + p { margin-top: 12px; }
.pg-founder__links { display: flex; gap: 20px; justify-content: center; margin-top: 20px; }
.pg-role { color: #fbbf24; font-size: 0.9375rem; margin: 4px 0 16px; }
@media (min-width: 760px) {
    .pg-founder { grid-template-columns: 240px 1fr; text-align: left; padding: 40px; }
    .pg-founder__photo { width: 240px; height: 240px; }
    .pg-founder__links { justify-content: flex-start; }
}

/* Zeitleiste */
.pg-timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; list-style: none; }
.pg-timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(#d4af37, rgba(212, 175, 55, 0.1)); }
.pg-timeline li { position: relative; padding-bottom: 32px; }
.pg-timeline li:last-child { padding-bottom: 0; }
.pg-timeline li::before { content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 999px; background: #000; border: 2px solid #d4af37; }
.pg-timeline time { color: #fbbf24; font-size: 0.875rem; font-weight: 600; }
.pg-timeline h3 { font-family: 'Poppins', sans-serif; font-size: 1.0625rem; font-weight: 600; margin: 2px 0 4px; }
.pg-timeline p { color: #9ca3af; font-size: 0.9375rem; }

/* Listen-Zeilen (z. B. offene Stellen) */
.pg-rows { display: flex; flex-direction: column; gap: 12px; }
.pg-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 20px 24px;
    border-radius: 1rem;
    border: 1px solid rgba(217, 119, 6, 0.2);
    background: rgba(17, 24, 39, 0.6);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pg-row:hover { border-color: #d4af37; box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
.pg-row__main { flex: 1; min-width: 220px; }
.pg-row__main h3 { font-family: 'Poppins', sans-serif; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.pg-row__main p { color: #6b7280; font-size: 0.875rem; }
.pg-row__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Blog-Aufmacher */
.pg-feature {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(217, 119, 6, 0.3);
    background: rgba(17, 24, 39, 0.6);
    color: inherit;
    text-decoration: none;
    margin-bottom: 40px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pg-feature:hover { border-color: #d4af37; box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
.pg-feature__art {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.35), transparent 55%),
        linear-gradient(135deg, #111827, #000);
}
.pg-feature__art img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); }
.pg-feature__body { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pg-feature__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff; }
.pg-feature__body p { color: #9ca3af; line-height: 1.7; }
@media (min-width: 860px) { .pg-feature { grid-template-columns: 1fr 1.2fr; } }

.pg-thumb {
    height: 140px;
    margin: -28px -28px 20px;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6c541;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(17, 24, 39, 0.4));
    border-bottom: 1px solid rgba(217, 119, 6, 0.15);
}
.pg-thumb svg { width: 44px; height: 44px; opacity: 0.85; }

/* Fließtext (Dokumentation, AGB) */
.prose { color: #d1d5db; font-size: 1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.75rem; font-weight: 700; color: #fff; margin-top: 3rem; padding-top: 0.5rem; scroll-margin-top: 6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Poppins', sans-serif; font-size: 1.125rem; font-weight: 600; color: #fff; margin-top: 2rem; }
.prose p, .prose li { color: #9ca3af; }
.prose strong { color: #e5e7eb; }
.prose a { color: #fbbf24; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.375rem; }
.prose li::marker { color: #d4af37; }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: #fcd34d; font-size: 0.875em; }
.prose pre {
    overflow-x: auto;
    padding: 20px;
    border-radius: 0.875rem;
    border: 1px solid rgba(217, 119, 6, 0.2);
    background: #05070c;
    font-size: 0.875rem;
    line-height: 1.6;
}
.prose pre code { padding: 0; background: none; color: #e5e7eb; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(217, 119, 6, 0.15); vertical-align: top; }
.prose th { color: #fbbf24; font-weight: 600; white-space: nowrap; }
.prose td { color: #9ca3af; }
.prose td code { white-space: nowrap; }
@media (min-width: 760px) { .prose table { display: table; } }

.pg-note {
    padding: 16px 20px;
    border-radius: 0.875rem;
    border: 1px solid rgba(217, 119, 6, 0.3);
    background: rgba(217, 119, 6, 0.08);
    color: #e5e7eb;
    font-size: 0.9375rem;
}
.pg-note strong { color: #fbbf24; }

/* Dokumentation mit Inhaltsverzeichnis */
.pg-docs { display: grid; gap: 48px; grid-template-columns: 1fr; }
.pg-toc { font-size: 0.9375rem; }
.pg-toc h2 { font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-bottom: 12px; }
.pg-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(217, 119, 6, 0.2); }
.pg-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: #9ca3af; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.pg-toc a:hover { color: #fbbf24; border-left-color: #d4af37; }
@media (min-width: 960px) {
    .pg-docs { grid-template-columns: 220px 1fr; }
    .pg-toc { position: sticky; top: 7rem; align-self: start; }
}

/* Abschluss-Aufruf */
.pg-cta {
    text-align: center;
    padding: 48px 24px;
    border-radius: 1.5rem;
    border: 1px solid rgba(217, 119, 6, 0.3);
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15), transparent 70%), rgba(17, 24, 39, 0.5);
}
.pg-cta h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 12px; }
.pg-cta p { color: #9ca3af; max-width: 560px; margin: 0 auto 28px; }
.pg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #000;
    text-decoration: none;
    background: linear-gradient(135deg, #d4af37 0%, #e6c541 100%);
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.25);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pg-btn:hover { box-shadow: 0 0 22px rgba(212, 175, 55, 0.45); transform: scale(1.03); }
.pg-btn--outline { background: none; color: #fbbf24; border: 2px solid rgba(217, 119, 6, 0.5); box-shadow: none; }
.pg-btn--outline:hover { border-color: #fbbf24; background: rgba(251, 191, 36, 0.05); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
