/* ============================================================
   ROGALSKY ARBEITSSICHERHEIT — PREMIUM CSS 2026
   Geteilt über alle Seiten · Kein Gelb außer Logo
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body.premium {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    color: #1d1d1f;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.premium img { max-width: 100%; display: block; }
/* Niedrige Spezifität (0,0,1,1) damit kontextspezifische Link-Farben gewinnen */
.premium a { color: inherit; text-decoration: none; }
body.premium ul { list-style: none; }
body.premium button { cursor: pointer; font-family: inherit; }

/* ── FARBEN ────────────────────────────────────────────────── */
:root {
    --p-dark:      #1d1d1f;
    --p-darker:    #111111;
    --p-gray:      #6e6e73;
    --p-gray-lt:   #86868b;
    --p-light:     #f5f5f7;
    --p-light2:    #fafafa;
    --p-white:     #ffffff;
    --p-border:    #d2d2d7;
    --p-border-lt: #e8e8ed;
    --p-shadow:    0 4px 24px rgba(0,0,0,0.08);
    --p-shadow-lg: 0 16px 56px rgba(0,0,0,0.14);
    --p-shadow-xl: 0 32px 80px rgba(0,0,0,0.20);
    --p-radius:    14px;
    --p-radius-lg: 20px;
    --p-radius-xl: 28px;
    --p-max-w:     1200px;
    --p-pad-h:     80px;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.p-wrap {
    max-width: var(--p-max-w);
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px)  { .p-wrap { padding: 0 48px; } }
@media (min-width: 1200px) { .p-wrap { padding: 0 var(--p-pad-h); } }

.p-section         { padding: 96px 0; }
.p-section--light  { background: var(--p-light); }
.p-section--light2 { background: var(--p-light2); }
.p-section--dark   { background: var(--p-dark); }

/* ── TYPOGRAFIE ────────────────────────────────────────────── */
.p-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--p-gray);
    margin-bottom: 14px;
    display: block;
}
.p-eyebrow--white { color: rgba(255,255,255,0.45); }

/* Niedrige Spezifität (0,0,1,1) damit .p-page-hero h1 usw. gewinnen können */
.premium h1,
.premium h2,
.premium h3,
.premium h4 {
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--p-dark);
    font-family: 'Inter', -apple-system, sans-serif;
}
.p-h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; }
.p-h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.p-h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
.p-h4 { font-size: 1rem; font-weight: 700; }

.p-lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--p-gray); line-height: 1.72; font-weight: 300; }
.p-body { font-size: 0.93rem; color: var(--p-gray); line-height: 1.7; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.p-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 980px;
    padding: 13px 26px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none !important;
    line-height: 1;
}
.p-btn-dark  { background: var(--p-dark); color: #fff !important; }
.p-btn-dark:hover  { background: #000; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,0,0,0.28); }
.p-btn-white { background: #fff; color: var(--p-dark) !important; }
.p-btn-white:hover { background: var(--p-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.p-btn-ghost-dark  { background: transparent; color: var(--p-dark) !important; border: 1.5px solid var(--p-border); }
.p-btn-ghost-dark:hover { border-color: var(--p-dark); background: var(--p-light); }
.p-btn-ghost-white { background: rgba(255,255,255,0.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,0.3); }
.p-btn-ghost-white:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.p-btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.p-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    /* subtle dark gradient so white text is always readable over any hero */
    background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, transparent 100%);
}
.p-nav.is-scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 16px rgba(0,0,0,0.06);
}
.p-nav--opaque {
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.p-nav-inner {
    max-width: var(--p-max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 20px;
}
@media (min-width: 768px)  { .p-nav-inner { padding: 0 48px; } }
@media (min-width: 1200px) { .p-nav-inner { padding: 0 var(--p-pad-h); } }

/* Logo: full colour on white nav, white+clipped to "r" on dark */
.p-nav-logo { flex-shrink: 0; overflow: hidden; }
.p-nav-logo img {
    height: 46px; width: auto;
    transition: filter 0.35s, max-width 0.35s;
}
/* Transparent (dark hero) → white logo, clip to icon width (~40px = "r" only) */
.p-nav:not(.is-scrolled):not(.p-nav--opaque) .p-nav-logo img {
    filter: brightness(0) invert(1);
    max-width: 50px;
}
/* Scrolled or opaque → full logo in original colours */
.p-nav.is-scrolled .p-nav-logo img,
.p-nav--opaque .p-nav-logo img {
    filter: none;
    max-width: 200px;
}

.p-nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.p-nav-item  { position: relative; }
.p-nav-item > a {
    font-size: 0.87rem;
    font-weight: 600;
    color: #fff;          /* pure white, not 88% */
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    padding: 8px 13px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, text-shadow 0.15s;
    display: block;
}
.p-nav.is-scrolled .p-nav-item > a,
.p-nav--opaque .p-nav-item > a { color: var(--p-dark); text-shadow: none; }
.p-nav-item > a:hover { background: rgba(255,255,255,0.16); }
.p-nav.is-scrolled .p-nav-item > a:hover,
.p-nav--opaque .p-nav-item > a:hover { background: var(--p-light); }

.p-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.05);
    padding: 8px;
    min-width: 205px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.p-nav-item:hover .p-nav-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.p-nav-dropdown a {
    display: block;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--p-dark) !important;
    padding: 9px 13px;
    border-radius: 8px;
    transition: background 0.15s;
}
.p-nav-dropdown a:hover { background: var(--p-light); }

.p-nav-cta { flex-shrink: 0; }
/* CTA button adapts: white pill on dark hero, dark pill when scrolled */
.p-nav-cta-btn {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 980px;
    transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
    border: 1.5px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    backdrop-filter: blur(8px);
    text-decoration: none;
}
.p-nav-cta-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.8); }
.p-nav.is-scrolled .p-nav-cta-btn,
.p-nav--opaque .p-nav-cta-btn {
    background: var(--p-dark);
    border-color: var(--p-dark);
    color: #fff !important;
    backdrop-filter: none;
}
.p-nav.is-scrolled .p-nav-cta-btn:hover,
.p-nav--opaque .p-nav-cta-btn:hover { background: #000; border-color: #000; }

.p-nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}
.p-nav.is-scrolled .p-nav-hamburger,
.p-nav--opaque .p-nav-hamburger { color: var(--p-dark); }
.p-nav-hamburger:hover { background: rgba(255,255,255,0.12); }
.p-nav.is-scrolled .p-nav-hamburger:hover,
.p-nav--opaque .p-nav-hamburger:hover { background: var(--p-light); }

@media (max-width: 860px) {
    .p-nav-links { display: none; }
    .p-nav-cta   { display: none; }
    .p-nav-hamburger { display: flex; }
}

.p-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #0a0a0b;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff; /* Alle Links/Texte erben Weiß */
}
.p-mobile-overlay.is-open { display: flex; }
.p-mobile-close {
    position: absolute;
    top: 24px; right: 24px;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    font-family: inherit;
}
.p-mobile-overlay a {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    padding: 11px 28px;
    border-radius: 12px;
    transition: background 0.15s;
    text-align: center;
}
.p-mobile-overlay a:hover { background: rgba(255,255,255,0.08); }

/* ── PAGE HERO (Unterseiten) ────────────────────────────────── */
.p-page-hero {
    background: var(--p-darker);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.p-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    filter: grayscale(20%);
}
.p-page-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.5) 100%);
}
.p-page-hero-content {
    position: relative;
    z-index: 1;
}
.p-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.p-breadcrumb a, .p-breadcrumb span {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s;
}
.p-breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.p-breadcrumb .sep { color: rgba(255,255,255,0.25); }
.p-breadcrumb .current { color: rgba(255,255,255,0.75); }
/* Explizit weiß für Hero-Überschriften (schlägt .premium h1 durch höhere Spezifität) */
body.premium .p-page-hero h1,
body.premium .p-page-hero h2,
body.premium .p-page-hero h3,
body.premium .p-page-hero h4 { color: #fff; }
.p-page-hero h1 { margin-bottom: 16px; }
/* Lead-Text in Hero: höhere Deckkraft für bessere Lesbarkeit */
.p-page-hero .p-lead { color: rgba(255,255,255,0.82); max-width: 580px; }

/* ── CONTENT GRID (Unterseiten) ─────────────────────────────── */
.p-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}
@media (max-width: 1024px) { .p-content-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.p-sidebar-card {
    background: var(--p-light);
    border-radius: var(--p-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}
.p-sidebar-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--p-gray);
    margin-bottom: 14px;
}
.p-sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.p-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--p-dark);
    transition: background 0.15s, transform 0.15s;
    border: 1px solid var(--p-border-lt);
}
.p-sidebar-link:hover { background: var(--p-dark); color: #fff; transform: translateX(2px); }
.p-sidebar-link:hover svg { stroke: #fff; }
.p-sidebar-link svg { width: 16px; height: 16px; stroke: var(--p-gray); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.p-sidebar-link .arrow { margin-left: auto; opacity: 0.4; }
.p-sidebar-link:hover .arrow { opacity: 1; }

/* CTA Sidebar Card */
.p-sidebar-cta {
    background: var(--p-dark);
    border-radius: var(--p-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    text-align: left;
}
.p-sidebar-cta h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.p-sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 18px; line-height: 1.6; }
.p-sidebar-cta .p-btn { width: 100%; justify-content: center; }
/* CTA card header with icon */
.p-sidebar-cta-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.p-sidebar-cta-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ablauf Card */
.p-process-steps { display: flex; flex-direction: column; gap: 0; }
.p-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--p-border-lt);
}
.p-step:last-child { border-bottom: none; }
.p-step-num {
    width: 28px; height: 28px;
    flex-shrink: 0;
    background: var(--p-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.p-step-text { font-size: 0.88rem; color: var(--p-gray); line-height: 1.5; padding-top: 4px; }

/* ── CHECK LIST ─────────────────────────────────────────────── */
.p-checklist { display: flex; flex-direction: column; gap: 10px; }
.p-check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--p-gray);
}
.p-check-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    background: var(--p-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.p-check-icon svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── PRICE TABLE ────────────────────────────────────────────── */
.p-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
.p-price-card {
    background: var(--p-light);
    border-radius: var(--p-radius);
    border: 1px solid var(--p-border-lt);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.p-price-card h4 { font-size: 0.88rem; color: var(--p-gray); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.03em; }
.p-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--p-dark);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}
.p-price-sub { font-size: 0.78rem; color: var(--p-gray-lt); }
@media (max-width: 480px) { .p-price-grid { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────── */
.p-faq-item { border-bottom: 1px solid var(--p-border-lt); }
.p-faq-item:first-child { border-top: 1px solid var(--p-border-lt); }
.p-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--p-dark);
    gap: 20px;
    user-select: none;
    transition: color 0.15s;
}
.p-faq-q:hover { color: var(--p-gray); }
.p-faq-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 0.25s; }
.p-faq-item.is-open .p-faq-icon { transform: rotate(45deg); }
.p-faq-a {
    display: none;
    font-size: 0.92rem;
    color: var(--p-gray);
    line-height: 1.75;
    padding-bottom: 20px;
}
.p-faq-item.is-open .p-faq-a { display: block; }
.p-faq-item.is-open .p-faq-q { color: var(--p-gray); }

/* ── BOOKING IFRAME ─────────────────────────────────────────── */
.p-booking-wrap {
    border: 1px solid var(--p-border-lt);
    border-radius: var(--p-radius-xl);
    overflow: hidden;
    box-shadow: var(--p-shadow);
    margin-top: 48px;
}
.p-booking-wrap iframe {
    width: 100%;
    height: 680px;
    border: none;
    display: block;
}
@media (max-width: 768px) { .p-booking-wrap iframe { height: 860px; } }

/* ── PHASEN-GRID (4 Phasen / Schulungstag) ──────────────────── */
.p-phases-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
    text-align: left;
    width: 100%;
}
.p-phases-grid > * { min-width: 0; overflow: hidden; }
@media (max-width: 640px) { .p-phases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 360px) { .p-phases-grid { grid-template-columns: 1fr; } }

/* ── RELATED SERVICES ───────────────────────────────────────── */
.p-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.p-related-tile {
    border-radius: var(--p-radius-lg);
    overflow: hidden;
    background: var(--p-dark);
    position: relative;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.25s, box-shadow 0.25s;
}
.p-related-tile:hover { transform: scale(1.02); box-shadow: var(--p-shadow-lg); }
.p-related-tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; filter: grayscale(15%); transition: opacity 0.3s; }
.p-related-tile:hover img { opacity: 0.9; }
.p-related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.p-related-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 5px; }
.p-related-title { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2; }
@media (max-width: 640px) { .p-related-grid { grid-template-columns: 1fr; } }
/* Text-only related tiles (no background image needed) */
.p-related-tile.p-related-tile--text { aspect-ratio: unset; min-height: 140px; }
.p-related-tile-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 100%);
}
.p-related-tile-inner h3 { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.p-related-tile-inner p { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin: 0; }
.p-related-badge {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 6px; display: block;
}
/* Page hero inner (for pages without bg image) */
.p-page-hero-inner { position: relative; z-index: 1; max-width: 720px; }

/* ── FINAL CTA ──────────────────────────────────────────────── */
.p-cta-section {
    background: var(--p-dark);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.p-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% -10%, rgba(255,255,255,0.06) 0%, transparent 65%);
}
.p-cta-inner { position: relative; z-index: 1; }
.p-cta-section h2 { color: #fff; margin-bottom: 16px; }
.p-cta-section .p-lead { color: rgba(255,255,255,0.45); max-width: 500px; margin: 0 auto 36px; }
.p-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.p-cta-trust {
    display: flex; gap: 20px; justify-content: center;
    flex-wrap: wrap; margin-top: 28px;
}
.p-trust-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.78rem; color: rgba(255,255,255,0.32); font-weight: 500;
}
.p-trust-item svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.32); fill: none; stroke-width: 2; stroke-linecap: round; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.p-footer {
    background: #111;
    color: rgba(255,255,255,0.52);
    padding: 64px 0 32px;
}
.p-footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.p-footer-brand img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.5; }
.p-footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.p-footer-brand .fp-phone {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; font-size: 0.87rem; font-weight: 600;
    color: rgba(255,255,255,0.6); transition: color 0.15s;
}
.p-footer-brand .fp-phone:hover { color: #fff; }
.p-footer-col h4 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px;
}
.p-footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.p-footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.p-footer-col ul li a:hover { color: #fff; }
.p-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.78rem;
}
.p-footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.15s; }
.p-footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.p-footer-legal { display: flex; gap: 18px; }
@media (max-width: 900px) { .p-footer-grid { grid-template-columns: 1fr 1fr; } .p-footer-brand { grid-column: span 2; } }
@media (max-width: 520px)  { .p-footer-grid { grid-template-columns: 1fr; } .p-footer-brand { grid-column: span 1; } }

/* ── MOBILE FLOATER ─────────────────────────────────────────── */
.p-phone-fab {
    position: fixed;
    bottom: 22px; right: 22px;
    background: var(--p-dark);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    z-index: 900;
    transition: transform 0.2s;
}
.p-phone-fab:hover { transform: scale(1.08); }
@media (max-width: 768px) { .p-phone-fab { display: flex; } }

/* ── WHATSAPP FAB ────────────────────────────────────────────── */
.p-wa-fab {
    position: fixed;
    bottom: 84px; right: 22px;
    background: #25D366;
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    z-index: 900;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.p-wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
.p-wa-fab svg { width: 26px; height: 26px; fill: #fff; }
/* Tooltip */
.p-wa-fab::before {
    content: 'WhatsApp';
    position: absolute;
    right: 62px;
    background: rgba(29,29,31,0.9);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    font-family: 'Inter', sans-serif;
}
.p-wa-fab:hover::before { opacity: 1; }

/* ── COOKIE BANNER ──────────────────────────────────────────── */
.p-cookie {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 998;
    background: rgba(29,29,31,0.96);
    backdrop-filter: blur(16px);
    color: rgba(255,255,255,0.7);
    font-size: 0.84rem;
    padding: 16px 24px;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.p-cookie a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.p-cookie-btn {
    background: #fff; color: var(--p-dark);
    border: none; padding: 8px 22px;
    border-radius: 999px; font-size: 0.84rem;
    font-weight: 600; cursor: pointer; font-family: inherit;
}
.p-cookie-btn:hover { background: var(--p-light); }

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
[data-fade] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
[data-fade].is-visible { opacity: 1; transform: translateY(0); }
/* Nutzer mit reduzierter Bewegung: Inhalte sofort zeigen */
@media (prefers-reduced-motion: reduce) {
    [data-fade] { opacity: 1; transform: none; transition: none; }
    /* Bewegung entfernen, Farb-/Opacity-Übergänge zur Verständlichkeit behalten */
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-property: background-color, color, border-color, box-shadow, opacity !important;
    }
}

/* ── UTILS ──────────────────────────────────────────────────── */
.p-text-center { text-align: center; }
.p-mt-6  { margin-top: 24px; }
.p-mt-10 { margin-top: 40px; }
.p-mt-14 { margin-top: 56px; }
.p-gap-3 { gap: 12px; }
.p-divider { width: 100%; height: 1px; background: var(--p-border-lt); }

/* ── TABLET OPTIMIERUNGEN ────────────────────────────────────── */
@media (max-width: 768px) {
    /* Sidebar unter Hauptinhalt */
    .p-content-grid { grid-template-columns: 1fr; gap: 32px; }
    .p-content-sidebar { order: 2; }
    /* Related tiles: 2-spaltig auf Tablet */
    .p-related-grid { grid-template-columns: repeat(2, 1fr); }
    /* Hero min-height reduzieren */
    .p-page-hero { min-height: 52vh !important; }
    /* Booking iframe anpassen */
    .p-booking-wrap iframe { height: 760px; }
    /* Section padding */
    .p-section { padding: 64px 0; }
    /* Hero-Vignette: diagonaler Gradient wirkt auf Mobile wie 2 Spalten →
       auf vertikalen Gradient umstellen damit links/rechts gleich dunkel */
    .p-page-hero-vignette {
        background: linear-gradient(to bottom, rgba(8,8,8,0.58) 0%, rgba(8,8,8,0.82) 100%);
    }
}

/* ── MOBILE OPTIMIERUNGEN ────────────────────────────────────── */
@media (max-width: 480px) {
    /* Page hero */
    .p-page-hero { padding: 90px 0 44px; }
    .p-h1 { font-size: clamp(2rem, 9vw, 3rem); }
    .p-lead { font-size: 1rem; }
    /* Buttons in hero */
    .p-page-hero div[style*="flex"] { flex-direction: column; }
    .p-btn-lg { width: 100%; text-align: center; justify-content: center; }
    /* Verhindert Horizontal-Overflow: lange Button-Texte in Inhalts-Boxen
       werden auf schmalen Screens voll breit gemacht.
       Hero-Buttons ausgenommen (sind bereits p-btn-lg oder in overflow:hidden) */
    .p-section .p-btn:not(.p-btn-lg) {
        white-space: normal;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    /* Sections */
    .p-section { padding: 56px 0; }
    .p-wrap { padding: 0 20px; }
    /* CTA actions */
    .p-cta-actions { flex-direction: column; align-items: center; }
    .p-cta-actions .p-btn { width: 100%; max-width: 320px; justify-content: center; }
    /* Trust items */
    .p-cta-trust { gap: 16px; }
    /* Footer columns collapse */
    .p-footer-grid { grid-template-columns: 1fr; }
    .p-footer-brand { grid-column: span 1; }
    .p-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .p-footer-legal { justify-content: center; }
    /* Sidebar stays below on mobile */
    .p-content-grid { grid-template-columns: 1fr; gap: 40px; }
    /* Process steps */
    .p-step { align-items: flex-start; }
    /* Related grid */
    .p-related-grid { grid-template-columns: 1fr; }
    /* Team grid */
    .p-team-grid { grid-template-columns: 1fr; }
    .p-team-card { max-width: 360px; margin: 0 auto; }
    /* Breadcrumb */
    .p-breadcrumb { font-size: .72rem; }
    /* FABs */
    .p-wa-fab { bottom: 84px; right: 16px; width: 48px; height: 48px; }
    .p-phone-fab { bottom: 22px; right: 16px; width: 48px; height: 48px; display: flex; }
}
@media (max-width: 360px) {
    .p-h1 { font-size: 1.85rem; }
    .p-page-hero { padding: 80px 0 36px; }
}

/* ── INLINE-JS für alle Seiten ───────────────────────────────── */
/* (shared via premium.js) */
