/* ============================================================
   Proteinbär – Custom Stylesheet  v2.0
   Loaded after Bootstrap. Handles brand identity, typography,
   and component fine-tuning. Bootstrap handles the grid and
   responsive utilities; this file handles everything visual.
   ============================================================ */

/* ── Custom properties ── */
:root {
    --pb-bg:           #F8F7F5;
    --pb-surface:      #FFFFFF;
    --pb-text:         #1C1C1C;
    --pb-muted:        #6B6B6B;
    --pb-subtle:       #9A9A9A;
    --pb-accent:       #D4651A;
    --pb-accent-hover: #B8541A;
    --pb-accent-soft:  #FAF0E8;
    --pb-accent-softer:#FDF6F0;
    --pb-border:       #E5E1DA;
    --pb-border-light: #F0EDE8;
    --pb-shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.06);
    --pb-shadow-md:    0 4px 16px rgba(0, 0, 0, 0.08);
    --pb-shadow-lg:    0 8px 32px rgba(0, 0, 0, 0.10);
    --pb-radius:       10px;
    --pb-radius-sm:    6px;
    --pb-font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Base ── */
body {
    font-family: var(--pb-font);
    background-color: var(--pb-bg);
    color: var(--pb-text);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Utility: section separator ── */
.pb-divider {
    border: none;
    border-top: 1px solid var(--pb-border);
    margin: 0;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  NAVBAR                                              ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-navbar {
    background: var(--pb-surface);
    border-bottom: 1px solid var(--pb-border);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.pb-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--pb-accent);
    letter-spacing: -0.01em;
}

.pb-navbar .navbar-brand:hover {
    color: var(--pb-accent-hover);
}

.pb-navbar .nav-link {
    color: var(--pb-text);
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: color 0.15s;
}

.pb-navbar .nav-link:hover {
    color: var(--pb-accent);
}

.pb-navbar .navbar-toggler {
    border-color: var(--pb-border);
    font-size: 0.85rem;
}

.pb-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* Nav CTA badge */
.pb-nav-badge {
    display: inline-flex;
    align-items: center;
    background: var(--pb-accent-soft);
    color: var(--pb-accent);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;
    margin-left: 0.5rem;
}

.pb-nav-badge:hover {
    background: var(--pb-accent);
    color: #fff;
}

@media (max-width: 767px) {
    .pb-nav-badge {
        margin-left: 1rem;
        margin-top: 0.5rem;
        display: inline-flex;
    }
}


/* ╔══════════════════════════════════════════════════════╗
   ║  BUTTONS                                             ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--pb-accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--pb-radius-sm);
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.15s, transform 0.15s;
    cursor: pointer;
    font-family: var(--pb-font);
    line-height: 1.4;
}

.pb-btn-primary:hover {
    background: var(--pb-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.pb-btn-primary:active {
    transform: translateY(0);
}

.pb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    color: var(--pb-text);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: var(--pb-radius-sm);
    text-decoration: none;
    border: 2px solid var(--pb-border);
    transition: border-color 0.15s, color 0.15s, transform 0.15s;
    cursor: pointer;
    font-family: var(--pb-font);
    line-height: 1.4;
}

.pb-btn-outline:hover {
    border-color: var(--pb-accent);
    color: var(--pb-accent);
    transform: translateY(-1px);
}

.pb-btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--pb-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    font-family: var(--pb-font);
}

.pb-btn-secondary:hover {
    border-color: var(--pb-accent);
    color: var(--pb-accent);
}


/* ╔══════════════════════════════════════════════════════╗
   ║  HERO                                                ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-hero {
    background: var(--pb-surface);
    border-bottom: 1px solid var(--pb-border);
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle warm grain / texture feel */
.pb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%,
            rgba(212, 101, 26, 0.04) 0%,
            transparent 70%);
    pointer-events: none;
}

.pb-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pb-accent);
    margin-bottom: 1rem;
    background: var(--pb-accent-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.pb-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 620px;
    margin-bottom: 1.1rem;
    color: var(--pb-text);
}

.pb-hero h1 em {
    font-style: normal;
    color: var(--pb-accent);
}

.pb-hero__sub {
    font-size: 1.1rem;
    color: var(--pb-muted);
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.pb-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.pb-hero__proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    font-size: 0.8rem;
    color: var(--pb-subtle);
    font-weight: 500;
}

.pb-hero__proof-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pb-border);
    display: inline-block;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  SECTIONS (generic)                                  ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-section {
    padding: 3.5rem 0;
}

.pb-section--alt {
    background: var(--pb-surface);
}

.pb-section--dark {
    background: var(--pb-text);
    color: #fff;
}

.pb-section + .pb-section {
    border-top: 1px solid var(--pb-border);
}

.pb-section--alt + .pb-section,
.pb-section + .pb-section--alt {
    border-top: 1px solid var(--pb-border);
}

.pb-section__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pb-accent);
    margin-bottom: 0.4rem;
}

.pb-section__title {
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--pb-text);
}

.pb-section__sub {
    font-size: 0.95rem;
    color: var(--pb-muted);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ── Legacy (small section labels used in v1) ── */
.pb-section__title--sm {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pb-muted);
    margin-bottom: 1.5rem;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  ENTRY POINT CARDS (Start here / Einstieg)           ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-entry-card {
    background: var(--pb-surface);
    border: 1.5px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pb-entry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pb-accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pb-entry-card:hover {
    border-color: var(--pb-accent);
    box-shadow: var(--pb-shadow-md);
    transform: translateY(-3px);
    color: inherit;
}

.pb-entry-card:hover::before {
    opacity: 1;
}

.pb-entry-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.9rem;
    line-height: 1;
}

.pb-entry-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
    color: var(--pb-text);
}

.pb-entry-card__desc {
    font-size: 0.875rem;
    color: var(--pb-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.1rem;
}

.pb-entry-card__cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--pb-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pb-entry-card__cta::after {
    content: '→';
    transition: transform 0.15s;
}

.pb-entry-card:hover .pb-entry-card__cta::after {
    transform: translateX(3px);
}


/* ╔══════════════════════════════════════════════════════╗
   ║  ARTICLE CARDS                                       ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.pb-card-link:hover {
    color: inherit;
}

.pb-card {
    background: var(--pb-surface);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pb-card-link:hover .pb-card {
    box-shadow: var(--pb-shadow-md);
    border-color: var(--pb-accent);
    transform: translateY(-2px);
}

.pb-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pb-accent);
    background: var(--pb-accent-soft);
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.pb-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: var(--pb-text);
    flex: 0 0 auto;
}

.pb-card__excerpt {
    font-size: 0.875rem;
    color: var(--pb-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.pb-card__date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pb-subtle);
    letter-spacing: 0.02em;
}

.pb-card__arrow {
    font-size: 0.85rem;
    color: var(--pb-accent);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.pb-card-link:hover .pb-card__arrow {
    opacity: 1;
    transform: translateX(3px);
}


/* ╔══════════════════════════════════════════════════════╗
   ║  TOPIC CARDS                                         ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-topic-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.pb-topic-link:hover {
    color: inherit;
}

.pb-topic {
    background: var(--pb-surface);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 1.4rem 1.5rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pb-topic-link:hover .pb-topic {
    border-color: var(--pb-accent);
    box-shadow: var(--pb-shadow-sm);
    transform: translateY(-1px);
}

.pb-topic__icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pb-topic__body {
    flex: 1;
}

.pb-topic__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--pb-text);
}

.pb-topic__desc {
    font-size: 0.84rem;
    color: var(--pb-muted);
    margin: 0;
    line-height: 1.55;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  TRUST / WHY SECTION                                 ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-trust {
    padding: 3.5rem 0;
    background: var(--pb-surface);
    border-top: 1px solid var(--pb-border);
    border-bottom: 1px solid var(--pb-border);
}

.pb-trust-pillar {
    padding: 0.5rem 0;
}

.pb-trust-pillar__icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.pb-trust-pillar__title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.pb-trust-pillar__text {
    font-size: 0.875rem;
    color: var(--pb-muted);
    line-height: 1.65;
    margin: 0;
}

/* Vertical rule between pillars on desktop */
@media (min-width: 768px) {
    .pb-trust-pillar + .pb-trust-pillar {
        border-left: 1px solid var(--pb-border);
        padding-left: 2rem;
    }
}


/* ╔══════════════════════════════════════════════════════╗
   ║  RECHNER / TOOLS TEASER                              ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-rechner-card {
    background: var(--pb-surface);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pb-rechner-card--locked {
    opacity: 0.75;
}

.pb-rechner-card__icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.pb-rechner-card__title {
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--pb-text);
}

.pb-rechner-card__desc {
    font-size: 0.85rem;
    color: var(--pb-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.pb-rechner-card__soon {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pb-subtle);
    background: var(--pb-bg);
    border: 1px solid var(--pb-border);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    align-self: flex-start;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  EMPTY STATE                                         ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-empty {
    padding: 2rem 0;
    color: var(--pb-muted);
    font-size: 0.95rem;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  ARTICLE PAGE                                        ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-article-wrap {
    padding: 3rem 0 4.5rem;
}

/* Breadcrumb */
.pb-breadcrumb {
    font-size: 0.8rem;
    color: var(--pb-subtle);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pb-breadcrumb a {
    color: var(--pb-subtle);
    text-decoration: none;
    transition: color 0.15s;
}

.pb-breadcrumb a:hover {
    color: var(--pb-accent);
}

.pb-breadcrumb__sep {
    color: var(--pb-border);
}

/* Article header */
.pb-article-header {
    margin-bottom: 2.25rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--pb-border);
}

.pb-article-header__topic {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--pb-accent);
    background: var(--pb-accent-soft);
    padding: 0.28rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.pb-article-header h1 {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.pb-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--pb-subtle);
    flex-wrap: wrap;
}

.pb-article-meta time {
    font-weight: 600;
}

.pb-article-meta__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--pb-border);
    display: inline-block;
}

/* Article body */
.pb-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pb-text);
}

.pb-article-body h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--pb-text);
}

.pb-article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
    color: var(--pb-text);
}

.pb-article-body p {
    margin-bottom: 1.4rem;
}

.pb-article-body ul,
.pb-article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.pb-article-body li {
    margin-bottom: 0.45rem;
}

.pb-article-body strong {
    font-weight: 700;
    color: var(--pb-text);
}

.pb-article-body a {
    color: var(--pb-accent);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.pb-article-body a:hover {
    color: var(--pb-accent-hover);
}

.pb-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pb-radius);
    margin: 1.5rem 0;
}

/* Pull-quote / highlight box */
.pb-article-body blockquote {
    border-left: 3px solid var(--pb-accent);
    background: var(--pb-accent-softer);
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--pb-radius-sm) var(--pb-radius-sm) 0;
    font-size: 1rem;
    color: var(--pb-text);
}

/* Back link */
.pb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 2.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pb-muted);
    text-decoration: none;
    transition: color 0.15s, gap 0.15s;
}

.pb-back-link:hover {
    color: var(--pb-accent);
    gap: 0.5rem;
}

/* Related articles */
.pb-related {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--pb-border);
}

.pb-related__title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pb-muted);
    margin-bottom: 1.25rem;
}

.pb-related-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--pb-border-light);
    text-decoration: none;
    color: var(--pb-text);
    transition: color 0.15s;
}

.pb-related-item:last-child {
    border-bottom: none;
}

.pb-related-item:hover {
    color: var(--pb-accent);
}

.pb-related-item__arrow {
    font-size: 0.9rem;
    color: var(--pb-accent);
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    margin-left: auto;
    flex-shrink: 0;
}

.pb-related-item:hover .pb-related-item__arrow {
    opacity: 1;
    transform: translateX(3px);
}

.pb-related-item__text {
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.35;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  404 PAGE                                            ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-404 {
    padding: 5rem 0;
    text-align: center;
}

.pb-404__code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--pb-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pb-404 h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pb-404 p {
    color: var(--pb-muted);
    margin-bottom: 1.5rem;
}


/* ╔══════════════════════════════════════════════════════╗
   ║  FOOTER                                              ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-footer {
    background: var(--pb-surface);
    border-top: 1px solid var(--pb-border);
    padding: 2.5rem 0;
    margin-top: auto;
}

.pb-footer__brand {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pb-accent);
    letter-spacing: -0.01em;
    text-decoration: none;
    margin-bottom: 0.3rem;
    display: inline-block;
}

.pb-footer__tagline {
    font-size: 0.8rem;
    color: var(--pb-subtle);
    margin: 0;
    line-height: 1.5;
}

.pb-footer__copy {
    font-size: 0.82rem;
    color: var(--pb-subtle);
    margin: 0;
}

.pb-footer__nav {
    display: flex;
    gap: 0.25rem 1.25rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-footer__nav a {
    font-size: 0.85rem;
    color: var(--pb-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.pb-footer__nav a:hover {
    color: var(--pb-accent);
}

.pb-footer__divider {
    border: none;
    border-top: 1px solid var(--pb-border-light);
    margin: 1.5rem 0;
}

@media (max-width: 767px) {
    .pb-footer__row {
        flex-direction: column;
        gap: 1.25rem;
    }
}


/* ╔══════════════════════════════════════════════════════╗
   ║  COOKIE CONSENT BANNER                               ║
   ╚══════════════════════════════════════════════════════╝ */

#pb-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--pb-surface);
    border-top: 1px solid var(--pb-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
    padding: 1rem 0;
}

.pb-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pb-consent-text {
    font-size: 0.875rem;
    color: var(--pb-muted);
    margin: 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.55;
}

.pb-consent-text a {
    color: var(--pb-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.pb-consent-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.pb-consent-btn {
    font-family: var(--pb-font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: var(--pb-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.pb-consent-btn--secondary {
    background: transparent;
    border-color: var(--pb-border);
    color: var(--pb-muted);
}

.pb-consent-btn--secondary:hover {
    border-color: var(--pb-accent);
    color: var(--pb-accent);
}

.pb-consent-btn--primary {
    background: var(--pb-accent);
    color: #fff;
}

.pb-consent-btn--primary:hover {
    background: var(--pb-accent-hover);
}

@media (max-width: 575px) {
    .pb-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pb-consent-actions {
        width: 100%;
    }

    .pb-consent-btn {
        flex: 1;
        text-align: center;
    }
}


/* ╔══════════════════════════════════════════════════════╗
   ║  LEGAL PAGES (Impressum, Datenschutz)                ║
   ╚══════════════════════════════════════════════════════╝ */

.pb-legal-wrap {
    padding: 3rem 0 4rem;
}

.pb-legal-title {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.pb-legal-meta {
    font-size: 0.825rem;
    color: var(--pb-muted);
    margin-bottom: 2.5rem;
    line-height: 1.55;
}

.pb-legal-section {
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid var(--pb-border);
}

.pb-legal-section:last-of-type {
    border-bottom: none;
}

.pb-legal-section h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--pb-text);
}

.pb-legal-section p,
.pb-legal-section ul,
.pb-legal-section address {
    font-size: 0.95rem;
    color: var(--pb-text);
    line-height: 1.75;
}

.pb-legal-section address {
    font-style: normal;
}

.pb-legal-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.pb-legal-section li {
    margin-bottom: 0.4rem;
}

.pb-legal-section a {
    color: var(--pb-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.pb-legal-section code {
    font-size: 0.875rem;
    background: var(--pb-accent-soft);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}
