/* ==========================================================================
   PEAR – globals.css
   Mobile-First Refactoring by Gemini (v5 - with blog styles)
   ========================================================================== */

/* ========== 1) Design Tokens ========== */
:root {
  --pear-bg: #FBFAF5;
  --pear-surface: #F5F3EA;
  --pear-tint: #EFF7E2;
  --pear-accent: #79B14B;
  --pear-accent-dark: #5A9237;
  --text: #2B2B2B;
  --muted: #6D6D6D;
  --shadow-out: 10px 10px 20px rgba(0, 0, 0, .12), -10px -10px 22px rgba(255, 255, 255, .92);
  --shadow-out-2: 14px 14px 28px rgba(0, 0, 0, .16), -14px -14px 28px rgba(255, 255, 255, .94);
  --shadow-in: inset 10px 10px 20px rgba(0, 0, 0, .10), inset -10px -10px 20px rgba(255, 255, 255, .95);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

/* ========== 2) Base / Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--pear-bg);
}

body.landing {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, .025) 0%, rgba(255, 255, 255, 0) 60%),
    var(--pear-bg);
}

/* ========== 3) Layout Helpers (Mobile-First) ========== */
.p-wrap { max-width: 1200px; margin: 0 auto; padding: 22px; }
.p-row { display: grid; gap: 18px; grid-template-columns: 1fr; }

/* Desktop Grid definitions */
@media (min-width: 768px) {
  .p-row.cols-2 { grid-template-columns: 1.4fr 1fr; }
  .p-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .p-pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .p-trust-badges { grid-template-columns: repeat(2, 1fr); }
  
  /* Blog-Layout auf Desktop: Sidebar links, Artikel rechts */
  .blog-layout { grid-template-columns: 1fr 2fr; }
}

/* Mobile: Blog-Layout untereinander */
@media (max-width: 767px) {
  .blog-layout { 
    display: flex; 
    flex-direction: column-reverse; 
  }
}

@media (min-width: 1024px) {
    .p-trust-badges { grid-template-columns: repeat(4, 1fr); }
}


/* ========== 4) Navigation (Mobile-First) ========== */
.p-nav {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px);
  background: color-mix(in oklab, var(--pear-bg) 70%, #fff);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.p-nav-inner { max-width: 1200px; margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; }
.p-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.p-logo-wrap { display: inline-flex; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; background: linear-gradient(145deg, var(--pear-surface), var(--pear-bg)); box-shadow: var(--shadow-out); }
.p-logo { height: 40px; width: auto; display: block; }
.p-brand-text { display: flex; flex-direction: column; }
.p-brand-name { font-weight: 900; letter-spacing: .3px; }
.p-brand-tag { font-size: 11px; color: var(--muted); }

.p-cta, .p-links { display: none; }
.hamburger-btn { display: flex; } /* Show by default */

@media (min-width: 1024px) {
  .p-logo { height: 80px; }
  .p-logo-wrap { padding: 20px 30px; }
  .p-cta { display: flex; gap: 10px; margin-right: 0; }
  .p-links { display: block; }
  .hamburger-btn { display: flex !important; } /* Hamburger bleibt immer sichtbar! */
}

/* Hamburger Menu */
.hamburger-btn { 
    position: fixed; top: 15px; right: 20px; z-index: 1001; 
    width: 50px; height: 50px; border: none; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; transition: all 0.3s ease;
}
.hamburger-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); background: rgba(255, 255, 255, 0.35); }
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.hamburger-btn span { width: 24px; height: 3px; background: var(--pear-accent); border-radius: 999px; transition: all 0.3s ease; }

/* Side Menu */
.nav-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(4px); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.nav-menu-overlay.active { opacity: 1; pointer-events: all; }
.nav-menu { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: rgba(251, 250, 245, 0.85); backdrop-filter: blur(20px); border-left: 1px solid rgba(255, 255, 255, 0.4); box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12); z-index: 1000; transition: right 0.3s ease; overflow-y: auto; padding: 80px 20px 20px; }
.nav-menu.active { right: 0; }
.nav-menu-title { font-size: 20px; font-weight: 900; color: var(--pear-accent); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid rgba(121, 177, 75, 0.2); }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 8px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; transition: all 0.2s ease; }
.nav-link:hover { background: rgba(121, 177, 75, 0.25); border-color: rgba(121, 177, 75, 0.4); transform: translateX(-4px); }
.nav-link.active { background: linear-gradient(145deg, rgba(121, 177, 75, 0.3), rgba(154, 223, 102, 0.3)); border-color: rgba(121, 177, 75, 0.5); color: var(--pear-accent-dark); }
.nav-link-icon { font-size: 28px; }
.nav-social-icon { width: 32px; height: 32px; object-fit: contain; }


/* ========== 5) Buttons ========== */
.p-btn { display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; padding: 10px 16px; border-radius: 999px; font-weight: 800; color: var(--pear-accent-dark); background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-out); transition: box-shadow .2s ease, transform .15s ease; text-decoration: none; }
.p-btn:hover { box-shadow: var(--shadow-out-2); transform: translateY(-1px); }
.p-btn.primary { color: white; background: linear-gradient(145deg, var(--pear-accent), #8AD15D); }

/* ========== 6) Hero Section ========== */
.p-hero { padding: 32px 0 16px; }
.p-hero h1 { font-size: clamp(32px, 8vw, 56px); line-height: 1.1; margin: 0 0 10px; font-weight: 1000; letter-spacing: .2px; }
.p-highlight { background: linear-gradient(90deg, var(--pear-accent) 0%, #A8DF6C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-hero p { max-width: 740px; color: var(--muted); font-size: clamp(16px, 2.5vw, 18px); margin: 8px 0 16px; }
.p-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.p-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-out); color: var(--pear-accent-dark); }

/* ========== 7) Visual / Map-Shell ========== */
.p-visual { position: relative; }
.p-visual .p-pulled { position: relative; border-radius: 36px; padding: 14px; background: radial-gradient(160% 140% at 50% 15%, #FFFFFF 0%, var(--pear-surface) 45%, #EEEBDD 100%); box-shadow: 0 18px 28px rgba(0, 0, 0, .14), 0 8px 12px rgba(0, 0, 0, .06), -8px -8px 16px rgba(255, 255, 255, .90); }
.p-visual .p-pulled::before { content: ""; position: absolute; inset: 8px; border-radius: 30px; pointer-events: none; box-shadow: inset -18px -18px 28px rgba(255, 255, 255, .85), inset 18px 18px 28px rgba(0, 0, 0, .08); }
.p-visual .p-map { position: relative; width: 100%; height: 320px; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #f1f8e9, #eef5e5); box-shadow: 0 10px 18px rgba(0, 0, 0, .10), -6px -6px 14px rgba(255, 255, 255, .80); }
.p-visual .p-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 40%), radial-gradient(120% 90% at 50% 100%, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, 0) 55%), radial-gradient(120% 120% at 0% 50%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 40%), radial-gradient(120% 120% at 100% 50%, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, 0) 40%); }

/* ========== 8) Cards / Sections ========== */
.p-section-title { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; font-weight: 900; }
.p-card { background: linear-gradient(145deg, var(--pear-surface), var(--pear-bg)); border-radius: var(--radius-xl); box-shadow: var(--shadow-out); padding: 24px; }
.p-card h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 800; }
.p-card p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 768px) {
    .p-card { padding: 20px; }
}

/* ========== 9) Inputs ========== */
.p-input { background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-in); border: none; border-radius: var(--radius-lg); padding: 12px 14px; color: var(--text); width: 100%; }
.p-input::placeholder { color: #9aa197; }
.p-input:focus { outline: 0; box-shadow: inset 10px 10px 20px rgba(0, 0, 0, .08), inset -10px -10px 20px rgba(255, 255, 255, .95), 0 0 0 3px color-mix(in oklab, var(--pear-accent) 35%, #fff); }

/* ========== 10) Reveal-Animation ========== */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ========== 11) Footer ========== */
.p-footer { margin: 32px 0 12px; text-align: center; color: var(--muted); font-size: 14px; }
.p-footer .p-links { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.p-footer a { color: inherit; text-decoration: none; }
.p-footer a:hover { text-decoration: underline; }
.p-footer .links { margin-top: 16px; }

/* ========== 12) Beta Banner & Buttons ========== */
.beta-banner { display: block; background: linear-gradient(135deg, var(--pear-accent), #66bb6a); color: white; text-align: center; padding: 12px 20px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); position: relative; z-index: 900; }
.beta-banner:hover { background: linear-gradient(135deg, #66bb6a, var(--pear-accent)); transform: translateY(-1px); }

.beta-cta-button { display: inline-block; background: linear-gradient(135deg, #FFD700, #FFA500); color: #333; padding: 14px 24px; border-radius: 12px; font-size: 16px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4); transition: all 0.3s ease; margin: 24px 0; text-align: center; border: 3px solid #FFD700; animation: ctaPulse 2s infinite; width: 100%; }
.beta-cta-button:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(255, 165, 0, 0.6); }

@media (min-width: 768px) {
    .beta-banner { font-size: 14px; }
    .beta-cta-button { width: auto; padding: 16px 32px; font-size: 18px; }
}

@keyframes ctaPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4); } 50% { box-shadow: 0 8px 32px rgba(255, 165, 0, 0.6); } }

/* ========== 13) Widget System (Original Styles Restored) ========== */
#widgetScreen, #articleWidgetScreen { position: relative; display: flex; flex-direction: column; }
#widgetScreen::before, #articleWidgetScreen::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0px, rgba(0, 0, 0, 0.10) 1px, transparent 1px, transparent 3px); animation: crtScanlines 6s linear infinite; z-index: 15; border-radius: 24px; opacity: 0.9; }
.widget-content { flex: 1; position: relative; overflow: hidden; }
.widget { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.95); transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
.widget.active { opacity: 1; transform: scale(1); pointer-events: all; animation: crtFlicker 4s infinite; }
.widget-inner { text-align: center; padding: 20px; max-width: 90%; }

/* Widget Image Wrapper (for blog articles) */
.widget-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.widget-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* YouTube Widget */
.widget-youtube-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.widget-youtube-fullscreen iframe {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

/* Dev Message Widget */
.widget-emoji { font-size: 56px; margin-bottom: 16px; animation: pulse 2s infinite; }
.widget-greeting { font-size: 28px; font-weight: 900; color: var(--pear-accent-dark); margin-bottom: 12px; text-shadow: 0 2px 8px rgba(255,255,255,0.9); }
.widget-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.4; }
.widget-quote { font-size: 15px; font-style: italic; color: var(--muted); font-weight: 600; line-height: 1.5; max-width: 280px; margin: 0 auto; }

/* Weather Widget (Restored) */
.widget-weather-location { font-size: 16px; font-weight: 800; color: var(--pear-accent-dark); margin-bottom: 12px; }
.widget-weather-icon { font-size: 72px; margin-bottom: 8px; }
.widget-weather-temp { font-size: 48px; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.widget-weather-desc { font-size: 16px; font-weight: 700; color: var(--muted); margin-bottom: 16px; text-transform: capitalize; }
.widget-weather-details { display: flex; gap: 20px; justify-content: center; font-size: 14px; font-weight: 600; color: var(--muted); }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }
@keyframes crtFlicker { 0% { opacity: 1; } 2% { opacity: 0.92; } 4% { opacity: 1; } 8% { opacity: 0.95; } 10% { opacity: 1; } 19% { opacity: 1; } 21% { opacity: 0.88; } 23% { opacity: 1; } 25% { opacity: 0.94; } 27% { opacity: 1; } 80% { opacity: 1; } 83% { opacity: 0.90; } 85% { opacity: 0.96; } 87% { opacity: 1; } }
@keyframes crtScanlines { 0% { transform: translateY(0); } 100% { transform: translateY(4px); } }

/* Widget Dock - Artikel Version (schmaler, mittig, unten) */
/* Mobile: Volle Breite + niedrigere Höhe */
.p-visual:has(#articleWidgetScreen) .p-pulled {
    width: 100%;
    margin: 0 auto;
}

#articleWidgetScreen {
    height: 200px;
}

/* Desktop: 60% Breite + normale Höhe */
@media (min-width: 768px) {
    .p-visual:has(#articleWidgetScreen) .p-pulled {
        width: 60%;
    }
    
    #articleWidgetScreen {
        height: 320px;
    }
}

/* Widget Dock - Normal (für index.html) - MUSS ZUERST KOMMEN! */
.widget-dock {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    padding: 12px 8px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.widget-dock-btn { 
    width: 42px; 
    height: 42px; 
    border: none; 
    border-radius: 50%; 
    background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); 
    box-shadow: var(--shadow-out); 
    font-size: 20px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.widget-dock-btn:hover { 
    box-shadow: var(--shadow-out-2); 
    transform: translateY(-2px); 
}

.widget-dock-btn.active { 
    background: linear-gradient(145deg, var(--pear-accent), #8AD15D); 
    box-shadow: var(--shadow-in); 
    transform: scale(0.95); 
}

/* ARTIKEL VERSION ÜBERSCHREIBT - MUSS NACH DEM NORMALEN KOMMEN! */
#articleWidgetScreen .widget-dock {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    padding: 8px !important;
    width: auto !important;
    max-width: fit-content !important;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 999px !important;
}

#articleWidgetScreen .widget-dock-btn { 
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
    border: none !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

/* Bunte 3D-Buttons wie in slide-button.jpg - Rot */
#articleWidgetScreen .widget-dock-btn[data-widget="image1"] {
    background: linear-gradient(145deg, #FF6B6B, #E74C3C) !important;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Lila/Violett */
#articleWidgetScreen .widget-dock-btn[data-widget="image2"] {
    background: linear-gradient(145deg, #B19CD9, #9B59B6) !important;
    box-shadow: 0 4px 8px rgba(155, 89, 182, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Blau */
#articleWidgetScreen .widget-dock-btn[data-widget="image3"] {
    background: linear-gradient(145deg, #85C1E9, #5DADE2) !important;
    box-shadow: 0 4px 8px rgba(93, 173, 226, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Türkis */
#articleWidgetScreen .widget-dock-btn[data-widget="image4"] {
    background: linear-gradient(145deg, #76D7C4, #48C9B0) !important;
    box-shadow: 0 4px 8px rgba(72, 201, 176, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Play-Button in PEAR-Grün */
#articleWidgetScreen #autoPlayBtn {
    background: linear-gradient(145deg, #8AD15D, var(--pear-accent)) !important;
    box-shadow: 0 4px 8px rgba(121, 177, 75, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Hover-Effekt */
#articleWidgetScreen .widget-dock-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Active State - gedrückt */
#articleWidgetScreen .widget-dock-btn.active {
    transform: scale(0.92) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* ========== 14) Pricing Section (Restored) ========== */
.p-pricing-subtitle { text-align: center; font-size: 18px; color: var(--muted); margin: -20px auto 24px; max-width: 600px; }

/* Starter/Demo Card */
.p-pricing-starter-wrap { margin: 32px 0; }
.p-pricing-starter { background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-out); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; text-align: center; gap: 24px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid var(--pear-accent); text-decoration: none; color: inherit; cursor: pointer; }
.p-pricing-starter:hover { box-shadow: var(--shadow-out-2); transform: translateY(-2px); }
.p-pricing-starter-content { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.p-pricing-starter-header .p-pricing-name { font-size: 24px; margin-bottom: 8px; white-space: nowrap; }
.p-pricing-starter-header .p-pricing-amount { font-size: 42px; }
.p-pricing-starter-features { display: flex; flex-direction: column; gap: 12px; }
.p-pricing-cta-large { padding: 16px 24px; font-size: 16px; font-weight: 900; width: 100%; }

@media (min-width: 1024px) {
    .p-pricing-starter { flex-direction: row; text-align: left; padding: 32px; }
    .p-pricing-starter-content { flex-direction: row; align-items: center; gap: 48px; }
    .p-pricing-starter-header { text-align: left; }
    .p-pricing-starter-header .p-pricing-name { font-size: 28px; }
    .p-pricing-starter-header .p-pricing-amount { font-size: 48px; }
    .p-pricing-starter-features { flex-wrap: wrap; flex-direction: row; gap: 24px; }
    .p-pricing-cta-large { width: auto; min-width: 200px; }
}

/* Main Pricing Grid */
.p-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin: 32px 0; }

.p-pricing-card { position: relative; background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-out); border-radius: var(--radius-lg); padding: 28px 24px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; border: 2px solid var(--pear-accent); text-decoration: none; color: inherit; cursor: pointer; }
.p-pricing-card:hover { box-shadow: var(--shadow-out-2); transform: translateY(-4px); }

.p-pricing-featured { border: 3px solid var(--pear-accent); }
.p-pricing-enterprise { background: linear-gradient(145deg, #f0f4ef, var(--pear-surface)); }

@media (min-width: 768px) {
    .p-pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .p-pricing-card { min-height: 480px; }
    .p-pricing-featured { 
        box-shadow: var(--shadow-out-2), 0 0 0 3px color-mix(in oklab, var(--pear-accent) 20%, transparent), 0 8px 24px rgba(76, 175, 80, 0.15);
        transform: scale(1.02);
     }
    .p-pricing-featured:hover { transform: scale(1.04) translateY(-4px); }
}

.p-pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--pear-accent), #66bb6a); color: white; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3); white-space: nowrap; }
.p-pricing-enterprise .p-pricing-badge { background: linear-gradient(135deg, #5c6bc0, #7986cb); box-shadow: 0 4px 12px rgba(92, 107, 192, 0.3); }

.p-pricing-header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid rgba(0, 0, 0, 0.05); }
.p-pricing-name { font-size: 22px; font-weight: 900; color: var(--text); margin: 0 0 12px 0; }
.p-pricing-price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.p-pricing-amount { font-size: 36px; font-weight: 900; color: var(--pear-accent-dark); line-height: 1; }
.p-pricing-period { font-size: 13px; font-weight: 600; color: var(--muted); }
.p-pricing-features { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.p-pricing-feature { font-size: 14px; font-weight: 600; color: var(--text); padding-left: 8px; position: relative; }
.p-pricing-feature.p-muted { color: var(--muted); opacity: 0.7; }
.p-pricing-cta { width: 100%; margin-top: auto; text-align: center; justify-content: center; padding: 14px 24px; font-weight: 800; }
.p-pricing-note { text-align: center; margin-top: 32px; font-size: 14px; }

.p-pricing-clickable:hover { box-shadow: var(--shadow-out-2); transform: translateY(-4px); }
.p-pricing-clickable.p-pricing-featured:hover { transform: scale(1.04) translateY(-4px); }
.p-pricing-static-btn { pointer-events: none; cursor: default; }
.p-pricing-static-btn:hover { box-shadow: var(--shadow-in) !important; transform: none !important; }

@media (min-width: 768px) {
    .p-pricing-amount { font-size: 42px; }
}

/* ========== 15) Trust Badges ========== */
.p-trust-badges { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.p-trust-badge { background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: var(--shadow-out); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid var(--pear-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; }
.p-trust-badge:hover { box-shadow: var(--shadow-out-2); transform: translateY(-4px); }
.p-trust-badge-icon { font-size: 48px; margin-bottom: 12px; }
.p-trust-badge-text { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* ========== 16) Contact Section ========== */
.contact-logos { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.contact-logos img { height: 60px; width: auto; object-fit: contain; transition: transform 0.2s ease; }
.contact-logos img:hover { transform: scale(1.05); }

@media (min-width: 768px) {
    .contact-logos { justify-content: flex-end; gap: 24px; }
    .contact-logos img { height: 80px; }
}

/* ========== 17) Cookie Banner ========== */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); padding: 16px; z-index: 10000; border-top: 3px solid var(--pear-accent); animation: slideUp 0.4s ease-out; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-consent-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cookie-consent-text { flex: 1; }
.cookie-consent-text h3 { margin: 0 0 12px 0; font-size: 20px; font-weight: 900; color: var(--text); }
.cookie-consent-text p { margin: 0 0 8px 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.cookie-consent-link { color: var(--pear-accent-dark); text-decoration: underline; font-weight: 600; font-size: 13px; }
.cookie-consent-buttons { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; width: 100%; }
.cookie-btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; width: 100%; text-align: center; }
.cookie-btn-accept { background: linear-gradient(135deg, var(--pear-accent), #66bb6a); color: white; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3); }
.cookie-btn-necessary { background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); color: var(--text); box-shadow: var(--shadow-out); }
.cookie-btn-settings { background: transparent; color: var(--text); border: 2px solid var(--pear-accent); }

@media (min-width: 768px) {
    .cookie-consent-content { flex-direction: row; justify-content: space-between; gap: 32px; }
    .cookie-consent-buttons { flex-direction: row; width: auto; }
    .cookie-btn { width: auto; }
}

/* ========== General Utility Classes ========== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.fs-18 { font-size: 18px; }
.mt-80 { margin-top: 80px !important; } /* Important to override other margins */

.mt-0 { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.p-btn-full { width: 100%; padding-top: 16px; padding-bottom: 16px; }
.link-accent { color: var(--pear-accent-dark); text-decoration: underline; font-weight: 700; }

/* Fallback for grid-cols-2 in forms etc. */
[grid-cols-2] { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) {
    [grid-cols-2] { grid-template-columns: 1fr 1fr; }
}

/*
==============================================
   STYLES FROM BETATEST.HTML
==============================================
*/

/* Beta Info Grid */
.beta-info { display: grid; gap: 24px; }
.beta-info-item { display: flex; flex-direction: column; text-align: center; gap: 12px; align-items: center; padding: 20px; background: linear-gradient(145deg, var(--pear-tint), #ffffff); border-radius: var(--radius-lg); box-shadow: var(--shadow-in); }
.beta-info-highlight { background: linear-gradient(145deg, #fff9c4, #fff59d); border: 2px solid var(--pear-accent); }
.beta-info-icon { font-size: 40px; min-width: 60px; text-align: center; }
.beta-info-content h3 { margin: 0 0 8px 0; font-size: 20px; font-weight: 900; color: var(--text); }
.beta-info-content p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

@media (min-width: 768px) {
    .beta-info-item { flex-direction: row; text-align: left; gap: 20px; }
    .beta-info-icon { font-size: 48px; }
}

/* Timeline */
.beta-timeline { display: grid; gap: 24px; }
.beta-timeline-item { display: flex; gap: 20px; align-items: start; }
.beta-timeline-marker { min-width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--pear-accent), #66bb6a); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3); }
.beta-timeline-content { flex: 1; padding-top: 4px; }
.beta-timeline-content h4 { margin: 0 0 8px 0; font-size: 18px; font-weight: 900; color: var(--pear-accent-dark); }
.beta-timeline-content p { margin: 0; font-size: 15px; color: var(--text); }

@media (min-width: 768px) {
    .beta-timeline-marker { min-width: 48px; height: 48px; font-size: 20px; }
}

/* Checkboxes */
.beta-checkbox { display: flex; align-items: start; gap: 12px; }
.beta-checkbox input[type="checkbox"] { margin-top: 4px; width: 20px; height: 20px; cursor: pointer; }
.beta-checkbox label { font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; }
.beta-checkbox-text { font-size: 14px; line-height: 1.5; color: var(--text); cursor: default; flex: 1; }
.beta-checkbox-text a { pointer-events: all; cursor: pointer; }

/* Mega Guardian Modal */
.mega-guardian-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: none; align-items: center; justify-content: center; }
.mega-guardian-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.mega-guardian-content { position: relative; background: white; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); max-width: 600px; width: 90%; padding: 24px; animation: modalSlideIn 0.3s ease-out; }
.mega-guardian-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 32px; line-height: 1; cursor: pointer; color: #999; padding: 0; width: 32px; height: 32px; transition: color 0.2s; }
.mega-guardian-close:hover { color: #333; }
.mega-guardian-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.mega-guardian-logo img { width: 100px; height: 100px; object-fit: contain; }
.mega-guardian-text h3 { margin: 0 0 16px 0; font-size: 24px; font-weight: 900; color: #333; }
.mega-guardian-text p { margin: 0 0 12px 0; font-size: 16px; line-height: 1.6; color: #555; }
.mega-guardian-text p:last-child { margin-bottom: 0; }
.mega-guardian-text .contact-info { margin-top: 20px; padding: 16px; background: #f5f5f5; border-radius: 8px; border-left: 4px solid #4caf50; }

@media (min-width: 768px) {
    .mega-guardian-content { padding: 40px; }
    .mega-guardian-body { flex-direction: row; text-align: left; gap: 24px; }
    .mega-guardian-logo img { width: 120px; height: 120px; }
}

@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* Beta CTA Popup Button */
.beta-cta-popup-btn { display: inline-block; background: linear-gradient(135deg, #FFD700, #FFA500); color: #333; padding: 16px 32px; border: none; border-radius: 12px; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4); transition: all 0.3s ease; margin-top: 24px; border: 3px solid #FFD700; animation: ctaPulse 2s infinite; width: 100%; }
.beta-cta-popup-btn:hover { background: linear-gradient(135deg, #FFA500, #FFD700); transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(255, 165, 0, 0.6); }

@media (min-width: 768px) {
    .beta-cta-popup-btn { width: auto; padding: 18px 40px; font-size: 18px; }
}

/* Beta Anmeldung Popup */
.beta-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10001; display: none; align-items: center; justify-content: center; animation: fadeIn 0.3s ease-out; }
.beta-popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); }
.beta-popup-content { position: relative; background: linear-gradient(145deg, var(--pear-tint), var(--pear-surface)); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; padding: 24px; animation: popupSlideIn 0.4s ease-out; border: 3px solid var(--pear-accent); }
.beta-popup-close { position: absolute; top: 20px; right: 20px; background: linear-gradient(145deg, var(--pear-tint), white); border: 2px solid var(--pear-accent); border-radius: 50%; width: 36px; height: 36px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--pear-accent-dark); padding: 0; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.beta-popup-close:hover { background: var(--pear-accent); color: white; transform: rotate(90deg); }
.beta-popup-header { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 2px solid rgba(76, 175, 80, 0.2); }
.beta-popup-header h2 { margin: 0 0 12px 0; font-size: 24px; font-weight: 900; color: var(--pear-accent-dark); }
.beta-popup-header p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

@media (min-width: 768px) {
    .beta-popup-content { padding: 40px; }
    .beta-popup-header h2 { font-size: 28px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupSlideIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/*
==============================================
   STYLES FROM AGB.HTML
==============================================
*/

.legal-wrap{ max-width:900px; margin:0 auto; padding:24px 20px; }
.legal-brand{ display:flex; justify-content:center; margin:6px 0 16px; }
.legal-brand .logo-wrap{ padding:10px 16px; border-radius:20px; }
.legal-brand .logo-wrap img{ height:46px; }

.legal-card{ background: linear-gradient(145deg, var(--pear-surface), var(--pear-bg)); border-radius: var(--radius-xl); box-shadow: var(--shadow-out); padding:24px; }

.legal-card h1{ font-size:28px; margin:0 0 10px; font-weight:900; letter-spacing:.2px; }
.legal-card h2{ font-size:20px; margin:22px 0 8px; font-weight:800; }
.legal-card h3{ font-size:16px; margin:16px 0 6px; font-weight:700; }
.legal-card p, .legal-card li{ line-height:1.55; }
.legal-card p{ margin:8px 0; }
.legal-card .muted{ color:var(--muted); }
.legal-card ul{ margin:8px 0; padding-left:24px; }
.legal-card li{ margin:4px 0; }
.legal-card a{ color:var(--pear-accent-dark); text-decoration:none; font-weight:700; }
.legal-card a:hover{ text-decoration:underline; }

.highlight-box {
  background: linear-gradient(145deg, #fff9c4, #fff59d);
  border-left: 4px solid var(--pear-accent);
  padding: 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.legal-footer{ text-align:center; color:var(--muted); font-size:12px; margin:20px 0 10px; }
.legal-footer .links{ margin-top:8px; letter-spacing:.3px; }
.legal-footer .links a{ margin:0 8px; color:var(--muted); }
.legal-footer .links a:hover{ color:var(--pear-accent-dark); }

@media print {
  .p-nav, .hamburger-btn, .nav-menu, .nav-menu-overlay, .p-footer { display:none !important; }
  body { background:#fff; }
  .p-wrap, .p-card { max-width: 100%; padding: 0; margin: 0; }
  .p-card { box-shadow:none; border: none; }
  a{ text-decoration:underline !important; color:#000 !important; }
}

@media (max-width: 768px) {
  .legal-card { padding: 20px; }
  .legal-card h1 { font-size: 24px; }
  .legal-card h2 { font-size: 18px; }
}

/*
==============================================
   STYLES FROM BLOG
==============================================
*/

/* Blog Overview */
.blog-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.blog-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}

/* Hero Gallery (PiP) */
.blog-hero-gallery {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--pear-surface), var(--pear-bg));
  box-shadow: var(--shadow-out);
  margin-bottom: 32px;
}

.blog-gallery-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.blog-gallery-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.blog-gallery-images img.active {
  opacity: 1;
}

.blog-gallery-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
}

.gallery-btn {
  padding: 8px 12px;
  font-size: 14px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-dots span.active {
  background: var(--pear-accent);
  transform: scale(1.2);
}

/* Artikel-Layout */
.blog-layout {
  align-items: start;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-article {
  padding: 32px;
}

.blog-article h1 {
  font-size: 32px;
  margin: 0 0 16px 0;
  font-weight: 900;
}

.blog-content h2 {
  font-size: 24px;
  margin: 32px 0 12px 0;
  font-weight: 800;
  color: var(--pear-accent-dark);
}

.blog-content h3 {
  font-size: 18px;
  margin: 24px 0 8px 0;
  font-weight: 700;
}

.blog-content p {
  line-height: 1.7;
  margin: 12px 0;
}

.blog-toc {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.blog-toc li {
  margin: 8px 0;
}

.blog-toc a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-toc a:hover {
  color: var(--pear-accent);
}

/* Desktop: Hero Gallery größer */
@media (min-width: 768px) {
  .blog-hero-gallery {
    height: 400px;
  }
}

/* Mobile: Kleinere Padding */
@media (max-width: 768px) {
  .blog-article {
    padding: 24px;
  }
  
  /* Tabellen responsive machen */
  .blog-article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }
  
  .blog-article table th,
  .blog-article table td {
    font-size: 13px !important;
    padding: 8px !important;
  }
}
