/* ToSender — Welcome Page Styles
   Extracted from welcome.blade.php */


/* Screen-reader only (accessibility + SEO) */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Dark Theme (default) — basierend auf Logo-Farbe #1d1d1b */
:root, [data-theme="dark"] {
    --bg: #141416;
    --bg-raised: #1d1d1b;
    --bg-card: #232325;
    --border: rgba(255,255,255,0.07);
    --border-grad-1: rgba(160,160,155,0.2);
    --border-grad-2: rgba(120,120,115,0.12);
    --border-grad-3: rgba(100,100,95,0.1);
    --text-primary: #ededec;
    --text-secondary: #8a8a86;
    --text-muted: #5c5c58;
    --grad-1: linear-gradient(135deg, #FFD600, #FFD600);
    --grad-2: linear-gradient(135deg, #FFD600, #FFD600);
    --grad-3: linear-gradient(135deg, #FFD600, #B89400);
    --grad-4: linear-gradient(135deg, #FFD600, #FFD600);
    --nav-bg: rgba(20,20,22,0.88);
    --btn-bg: #ededec;
    --btn-color: #1d1d1b;
    --card-shadow: 0 0 0 1px rgba(255,255,255,0.07);
    --glow-1: rgba(200,200,195,0.04);
    --glow-2: rgba(160,160,155,0.03);
    --cloud-1: rgba(255,255,250,0.22);
    --cloud-2: rgba(255,255,252,0.16);
    --cloud-3: rgba(255,255,254,0.12);
    --logo-filter: invert(1);
}
/* Light Theme */
[data-theme="light"] {
    --bg: #f0f2f5;
    --bg-raised: #ffffff;
    --bg-card: #ffffff;
    --border: rgba(29,29,27,0.10);
    --border-grad-1: rgba(29,29,27,0.18);
    --border-grad-2: rgba(29,29,27,0.10);
    --border-grad-3: rgba(29,29,27,0.08);
    --text-primary: #1d1d1b;
    --text-secondary: #1d1d1b;
    --text-muted: #3d3d3b;
    --grad-1: linear-gradient(135deg, #FFD600, #E6B800);
    --grad-2: linear-gradient(135deg, #E6B800, #FFD600);
    --grad-3: linear-gradient(135deg, #FFD600, #B89400);
    --grad-4: linear-gradient(135deg, #E6B800, #FFD600);
    --nav-bg: rgba(240,242,245,0.92);
    --btn-bg: #1d1d1b;
    --btn-color: #ffffff;
    --card-shadow: 0 1px 3px rgba(29,29,27,0.08), 0 0 0 1px rgba(29,29,27,0.06);
    --glow-1: rgba(29,29,27,0.03);
    --glow-2: rgba(29,29,27,0.02);
    --cloud-1: rgba(255,252,235,0.70);
    --cloud-2: rgba(255,254,245,0.55);
    --cloud-3: rgba(255,255,250,0.45);
    --logo-filter: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}
h1, h2, h3, .section-title, .cta h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    letter-spacing: -0.03em;
}
a { color: inherit; text-decoration: none; }

/* Gradient text */
.grad { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; font-style: italic; }
.grad-1 { background-image: var(--grad-1); }
.grad-2 { background-image: var(--grad-2); }
.grad-3 { background-image: var(--grad-3); }
.grad-4 { background-image: var(--grad-4); }

/* Gradient border container */
.gcard {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 44px;
}
.gcard::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--border-grad-1), transparent 50%, var(--border-grad-2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Hero */
/* Monitor Hero Screen — Globe Network */
.monitor-hero {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s ease, filter 1s ease, transform 1.2s ease;
    overflow: hidden;
}
.monitor-hero.bg-mode {
    pointer-events: none;
}
.globe-welcome {
    position: absolute;
    top: 54px; left: 0; right: 0;
    text-align: center;
    z-index: 5;
    pointer-events: none;
    padding: 0 16px;
    opacity: 0;
    animation: globeWelcomeFade 1.2s ease 0.6s forwards;
}
.globe-welcome h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    line-height: 1.2;
    background-image: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.globe-welcome p {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.75);
    margin: 0;
}
[data-theme="light"] .globe-welcome p {
    color: rgba(0,0,0,0.55);
}
@keyframes globeWelcomeFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.globe-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.nav-bg-logo {
    position: absolute;
    top: -30px; left: -20px;
    width: 260px;
    opacity: 0.50;
    pointer-events: none;
    z-index: 101;
    filter: blur(8px) saturate(2.0) brightness(1.3);
}
[data-theme="light"] .nav-bg-logo {
    opacity: 0.60;
    filter: blur(6px) saturate(2.5) brightness(1.4);
}
[data-theme="dark"] .nav-bg-logo {
    opacity: 0.45;
    filter: blur(8px) saturate(2.0) brightness(1.5);
}

/* Section */
.section { max-width: 1080px; margin: 0 auto; padding: 120px 40px; }
.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 400; color: var(--text-primary);
    letter-spacing: -0.03em; line-height: 1.1;
    margin-bottom: 20px;
}
.section-sub {
    font-size: 17px; color: var(--text-secondary);
    max-width: 480px; line-height: 1.8;
}

/* Two-column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; gap: 20px; }
.step-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; color: #1d1d1b;
    background: #FFD600 !important;
}
[data-theme="light"] .step-num {
    background: #FFD600 !important;
}
.step h4 { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.step p { font-size: 14px; line-height: 1.6; }

/* Tech tags */
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tech-tag {
    padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
    color: var(--text-secondary); border: 1px solid var(--border);
}

/* ========== SHOWCASE ========== */
.showcase {
    padding: 80px 0 0;
}

/* Showcase Item — zentriert, ein Mockup pro Sektion */
.showcase-item {
    text-align: center;
    padding: 80px 32px 40px;
    max-width: 560px;
    margin: 0 auto;
}

/* Vertikaler Monitor-Mockup */
.monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
}
.monitor-screen {
    background: #1c1c1e;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,214,0,0.12);
}
.monitor-screen::before {
    content: '';
    width: 5px; height: 5px;
    background: rgba(255,214,0,0.35);
    border-radius: 50%;
    position: absolute;
    top: 4px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(255,214,0,0.2);
}
.monitor-screen img {
    width: 100%;
    display: block;
    border-radius: 4px;
}
.monitor-stand {
    width: 28px; height: 28px;
    background: linear-gradient(rgba(255,214,0,0.25), rgba(255,214,0,0.15));
}
.monitor-base {
    width: 80px; height: 6px;
    background: linear-gradient(rgba(255,214,0,0.25), rgba(255,214,0,0.15));
    border-radius: 0 0 6px 6px;
    position: relative;
}
.monitor-base::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,214,0,0.25), transparent);
}
[data-theme="light"] .monitor-screen {
    background: #e8e4d8;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(200,170,0,0.15);
}
[data-theme="light"] .monitor-screen::before { background: rgba(200,170,0,0.35); box-shadow: 0 0 6px rgba(200,170,0,0.15); }
[data-theme="light"] .monitor-stand { background: linear-gradient(rgba(200,170,0,0.3), rgba(200,170,0,0.2)); }
[data-theme="light"] .monitor-base { background: linear-gradient(rgba(200,170,0,0.3), rgba(200,170,0,0.2)); }

/* Gold corner accents — 4 L-shaped edges */
.monitor-corners {
    position: absolute; inset: 0; pointer-events: none; z-index: 2;
    --c: #FFD600; --len: 36px; --w: 2px; --r: 12px;
}
.monitor-corner {
    position: absolute; width: var(--len); height: var(--len);
}
.monitor-corner:nth-child(1) {
    top: 0; left: 0;
    border-top: var(--w) solid var(--c); border-left: var(--w) solid var(--c);
    border-radius: var(--r) 0 0 0;
}
.monitor-corner:nth-child(2) {
    top: 0; right: 0;
    border-top: var(--w) solid var(--c); border-right: var(--w) solid var(--c);
    border-radius: 0 var(--r) 0 0;
}
.monitor-corner:nth-child(3) {
    bottom: 0; left: 0;
    border-bottom: var(--w) solid var(--c); border-left: var(--w) solid var(--c);
    border-radius: 0 0 0 var(--r);
}
.monitor-corner:nth-child(4) {
    bottom: 0; right: 0;
    border-bottom: var(--w) solid var(--c); border-right: var(--w) solid var(--c);
    border-radius: 0 0 var(--r) 0;
}
[data-theme="light"] .monitor-corners { --c: #C7A500; }

/* Device Switcher */
.device-switcher {
    display: flex; gap: 6px; justify-content: center;
    margin-top: 16px;
}
.device-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid rgba(255,214,0,0.15);
    border-radius: 8px; cursor: pointer;
    color: rgba(255,214,0,0.35);
    transition: all 0.2s;
}
.device-btn:hover { color: rgba(255,214,0,0.7); border-color: rgba(255,214,0,0.3); }
.device-btn.active { color: #FFD600; border-color: rgba(255,214,0,0.5); background: rgba(255,214,0,0.08); }
.device-btn svg { width: 18px; height: 18px; }
[data-theme="light"] .device-btn { border-color: rgba(255,214,0,0.2); color: rgba(180,150,0,0.4); }
[data-theme="light"] .device-btn:hover { color: rgba(180,150,0,0.7); border-color: rgba(255,214,0,0.4); }
[data-theme="light"] .device-btn.active { color: #C7A500; border-color: rgba(255,214,0,0.5); background: rgba(255,214,0,0.1); }

/* Device Modes — applied to .monitor */
.monitor { transition: all 0.4s ease; }
.monitor .monitor-screen { transition: all 0.4s ease; width: 100%; }
.monitor .monitor-stand, .monitor .monitor-base { transition: all 0.3s ease; }

/* Tablet: iPad-style, thick bezel, rounded corners, home bar */
.monitor.device-tablet .monitor-stand,
.monitor.device-tablet .monitor-base { opacity: 0; height: 0; overflow: hidden; margin: 0; }
.monitor.device-tablet .monitor-screen {
    border-radius: 24px; padding: 20px 16px 28px;
    max-width: 82%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.08), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.monitor.device-tablet .monitor-screen::before {
    width: 6px; height: 6px; top: 9px; border-radius: 50%;
}
/* Home bar at bottom */
.monitor.device-tablet .monitor-screen::after {
    content: '';
    width: 36px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,0.15);
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
}
.monitor.device-tablet .slideshow-viewport {
    border-radius: 4px;
    aspect-ratio: 3 / 4;
    min-height: 460px;
}
[data-theme="light"] .monitor.device-tablet .monitor-screen {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 2px rgba(0,0,0,0.06);
}
[data-theme="light"] .monitor.device-tablet .monitor-screen::after {
    background: rgba(0,0,0,0.12);
}

/* Smartphone: narrow, tall, phone shape */
.monitor.device-smartphone .monitor-stand,
.monitor.device-smartphone .monitor-base { opacity: 0; height: 0; overflow: hidden; margin: 0; }
.monitor.device-smartphone .monitor-screen {
    border-radius: 32px; padding: 18px 10px 24px;
    max-width: 52%; min-width: 260px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.08), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.monitor.device-smartphone .monitor-screen::before {
    width: 40px; height: 4px; border-radius: 4px; top: 8px;
}
/* Home bar at bottom */
.monitor.device-smartphone .monitor-screen::after {
    content: '';
    width: 32px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,0.15);
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
}
.monitor.device-smartphone .slideshow-viewport {
    border-radius: 8px;
    aspect-ratio: 9 / 19;
    min-height: 500px;
}
[data-theme="light"] .monitor.device-smartphone .monitor-screen::after {
    background: rgba(0,0,0,0.12);
}
/* Smartphone: Globe & text angepasst */
.monitor.device-smartphone .globe-welcome {
    top: 32px; padding: 0 8px;
}
.monitor.device-smartphone .globe-welcome h2 { font-size: 16px; }
.monitor.device-smartphone .globe-welcome p { font-size: 11px; }
.monitor.device-smartphone .slideshow-text {
    top: calc(50% + 60px); padding: 12px 10px;
}
.monitor.device-smartphone .slideshow-text .showcase-title { font-size: 14px; }
.monitor.device-smartphone .slideshow-text .showcase-sub { font-size: 10px; }

/* Tablet: Globe & text angepasst */
.monitor.device-tablet .globe-welcome {
    top: 54px;
}
.monitor.device-tablet .globe-welcome h2 { font-size: 18px; }
.monitor.device-tablet .globe-welcome p { font-size: 12px; }
.monitor.device-tablet .slideshow-text {
    top: calc(50% + 140px); padding: 16px 16px;
}
.monitor.device-tablet .slideshow-text .showcase-title { font-size: 18px; }
.monitor.device-tablet .slideshow-text .showcase-sub { font-size: 11px; }

/* TV: wide screen, very thin bezel, two feet left/right */
.monitor.device-tv .monitor-stand { opacity: 0; height: 0; overflow: hidden; }
.monitor.device-tv .monitor-base { opacity: 0; height: 0; overflow: hidden; }
.monitor.device-tv .monitor-screen {
    border-radius: 4px; padding: 4px;
    max-width: 115%; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}
.monitor.device-tv .monitor-screen::before {
    display: none !important;
    width: 0; height: 0; content: none;
}
/* TV feet — two small legs via pseudo-element on the viewport */
.monitor.device-tv .monitor-screen::after {
    content: '';
    position: absolute; bottom: -10px; left: 8%; right: 8%;
    height: 10px;
    background: transparent;
    border-left: 12px solid #48484c;
    border-right: 12px solid #48484c;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}
.monitor.device-tv .slideshow-viewport {
    aspect-ratio: 16 / 9;
    min-height: 300px;
    border-radius: 2px;
}
.monitor.device-tv { margin-bottom: 14px; }
[data-theme="light"] .monitor.device-tv .monitor-screen::after {
    border-left-color: #c8c8cc;
    border-right-color: #c8c8cc;
}

/* Showcase-Image Container (fuer Parallax) */
.showcase-image {
    will-change: transform;
}

/* ========== SLIDESHOW ========== */
.slideshow-section {
    text-align: center;
    padding: 32px 32px 60px;
    max-width: 560px;
    margin: 0 auto;
}
.slideshow-text {
    position: absolute;
    left: 3%;
    right: 3%;
    top: calc(50% + 200px);
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 28px;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: transparent;
}
.slideshow-text.fade-out {
    opacity: 0;
    transform: translateY(calc(-50% - 10px));
}
.slideshow-text.hidden {
    display: none;
}
.viewport-logo-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 16;
    background: #1a1a1c;
}
[data-theme="light"] .viewport-logo-bar {
    background: #f8f8fa;
}
.viewport-logo-img {
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    pointer-events: none;
    filter: invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
[data-theme="light"] .viewport-logo-img {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.viewport-date {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    text-shadow: none;
}
[data-theme="light"] .viewport-date {
    color: #1d1d1b;
    text-shadow: none;
}
.slideshow-text .showcase-num {
    font-size: 11px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.35);
}
[data-theme="light"] .slideshow-text .showcase-num {
    color: rgba(0,0,0,0.3);
}
.slideshow-text .showcase-title {
    font-size: clamp(18px, 3vw, 30px);
    margin-bottom: 10px;
    line-height: 1.2;
}
.slideshow-text .showcase-sub {
    font-size: 13px;
    line-height: 1.6;
    max-width: 380px;
    color: var(--text-secondary);
}
.slideshow-section .monitor-screen {
    width: 100%;
    box-sizing: border-box;
}
.slideshow-viewport {
    position: relative;
    aspect-ratio: 9 / 16;
    min-height: 480px;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1c;
}
[data-theme="light"] .slideshow-viewport {
    background: #f8f8fa;
}
/* ========== MONITOR CHAT OUTPUT ========== */
.monitor-chat-output {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    padding: 50px 18px;
    background: #0d0d0f;
    border-radius: 4px;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
/* Spacer pushes bubbles to bottom when few, collapses when many */
.monitor-chat-spacer {
    flex: 1 1 auto;
    min-height: 0;
}
.monitor-chat-output::-webkit-scrollbar { width: 4px; }
.monitor-chat-output::-webkit-scrollbar-track { background: transparent; }
.monitor-chat-output::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
[data-theme="light"] .monitor-chat-output {
    background: #f8f8fa;
    scrollbar-color: rgba(0,0,0,0.12) transparent;
}
[data-theme="light"] .monitor-chat-output::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); }
.monitor-chat-output.active {
    display: flex;
}

/* ---- Speech Bubbles ---- */
.monitor-msg {
    position: relative;
    font-size: 15px;
    text-align: left;
    line-height: 1.65;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 88%;
    padding: 10px 14px;
    animation: monitorFadeIn 0.35s ease;
}
@keyframes monitorFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timestamp on every message */
.msg-time {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    font-variant-numeric: tabular-nums;
}
.monitor-msg.user .msg-time {
    color: rgba(29,29,27,0.55);
    text-align: left;
}
.monitor-msg.assistant .msg-time {
    color: rgba(255,214,0,0.7);
    text-align: left;
}
[data-theme="light"] .monitor-msg.assistant .msg-time {
    color: rgba(140,110,0,0.6);
}

/* User speech bubble — Gold, oben rechts eckig, organischer Tail */
.monitor-msg.user {
    align-self: flex-end;
    background: #FFD600;
    color: #1d1d1b;
    font-weight: 600;
    border-radius: 14px 0 14px 14px;
    margin-right: 18px;
}
.monitor-msg.user::after {
    content: '';
    position: absolute;
    top: 0; right: -10px;
    width: 12px; height: 16px;
    background: #FFD600;
    clip-path: path('M0 0 L10 0 C6 4, 2 8, 0 14 Z');
}
[data-theme="light"] .monitor-msg.user {
    background: #FFD600;
    color: #1d1d1b;
}

/* Assistant speech bubble — linksbündig, premium-look */
.monitor-msg.assistant {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,214,0,0.04) 100%);
    color: rgba(255,255,255,0.92);
    border-radius: 0 14px 14px 14px;
    margin-left: 18px;
    border: 1px solid rgba(255,214,0,0.10);
    white-space: normal;
    max-width: 92%;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
    padding: 16px 20px;
    letter-spacing: -0.01em;
}
/* --- Typografie in Assistant-Bubbles --- */
.monitor-msg.assistant h1 {
    font-size: 24px; font-weight: 300; margin: 0 0 14px; color: #fff;
    letter-spacing: -0.03em;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,214,0,0.25);
}
.monitor-msg.assistant h2 {
    font-size: 20px; font-weight: 300; margin: 20px 0 10px; color: rgba(255,255,255,0.95);
    letter-spacing: -0.02em;
    padding-left: 12px;
    border-left: 3px solid #FFD600;
}
.monitor-msg.assistant h3 {
    font-size: 17px; font-weight: 600; margin: 16px 0 8px; color: #FFD600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 12px;
}
.monitor-msg.assistant p {
    margin: 0 0 12px; line-height: 1.85;
}
.monitor-msg.assistant p:last-child { margin-bottom: 0; }
.monitor-msg.assistant ul, .monitor-msg.assistant ol {
    margin: 8px 0 14px 0; padding-left: 0; list-style: none;
}
.monitor-msg.assistant ol { counter-reset: li; }
.monitor-msg.assistant li {
    margin-bottom: 8px; line-height: 1.75;
    padding: 6px 10px 6px 28px;
    position: relative;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}
.monitor-msg.assistant ul > li::before {
    content: '';
    position: absolute;
    left: 10px; top: 14px;
    width: 6px; height: 6px;
    background: #FFD600;
    border-radius: 50%;
}
.monitor-msg.assistant ol > li { counter-increment: li; }
.monitor-msg.assistant ol > li::before {
    content: counter(li);
    position: absolute;
    left: 6px; top: 6px;
    width: 18px; height: 18px;
    background: rgba(255,214,0,0.15);
    color: #FFD600;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.monitor-msg.assistant strong {
    color: #fff; font-weight: 700;
    background: linear-gradient(135deg, rgba(255,214,0,0.12), transparent);
    padding: 1px 4px;
    border-radius: 3px;
}
.monitor-msg.assistant em {
    color: rgba(255,255,255,0.65); font-style: italic;
}
.monitor-msg.assistant hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,214,0,0.3), transparent);
    margin: 16px 0;
}
.monitor-msg.assistant blockquote {
    border-left: 3px solid #FFD600;
    margin: 10px 0; padding: 8px 16px;
    background: rgba(255,214,0,0.05);
    border-radius: 0 8px 8px 0;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}
/* Light-Theme Typografie */
[data-theme="light"] .monitor-msg.assistant h1 {
    color: #1a1a1a; border-bottom-color: rgba(255,214,0,0.35);
}
[data-theme="light"] .monitor-msg.assistant h2 {
    color: #1d1d1b; border-left-color: #D4B000;
}
[data-theme="light"] .monitor-msg.assistant h3 { color: #8B7000; }
[data-theme="light"] .monitor-msg.assistant strong {
    color: #111; background: linear-gradient(135deg, rgba(255,214,0,0.18), transparent);
}
[data-theme="light"] .monitor-msg.assistant em { color: rgba(0,0,0,0.55); }
[data-theme="light"] .monitor-msg.assistant hr {
    background: linear-gradient(90deg, transparent, rgba(200,170,0,0.4), transparent);
}
[data-theme="light"] .monitor-msg.assistant li {
    background: rgba(0,0,0,0.02);
}
[data-theme="light"] .monitor-msg.assistant ul > li::before {
    background: #C7A500;
}
[data-theme="light"] .monitor-msg.assistant ol > li::before {
    background: rgba(200,170,0,0.15); color: #8B7000;
}
[data-theme="light"] .monitor-msg.assistant blockquote {
    border-left-color: #C7A500; background: rgba(200,170,0,0.06);
    color: rgba(0,0,0,0.6);
}
.monitor-msg.assistant::after {
    content: '';
    position: absolute;
    top: 0; left: -10px;
    width: 12px; height: 16px;
    background: rgba(255,255,255,0.09);
    clip-path: path('M12 0 L2 0 C6 4, 10 8, 12 14 Z');
}
[data-theme="light"] .monitor-msg.assistant {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,248,220,0.5) 100%);
    color: rgba(0,0,0,0.82);
    border-color: rgba(200,170,0,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(200,170,0,0.06);
}
[data-theme="light"] .monitor-msg.assistant::after {
    background: #ffffff;
}

/* Peter's live messages — subtle green accent */
.monitor-msg.assistant.peter-msg {
    border-color: rgba(34,197,94,0.20);
    background: linear-gradient(135deg, rgba(34,197,94,0.06) 0%, rgba(255,255,255,0.06) 100%);
}
.monitor-msg.assistant.peter-msg .msg-time {
    color: rgba(34,197,94,0.7);
}
.monitor-msg.assistant.peter-msg::before {
    content: '';
    position: absolute;
    top: 10px; left: -6px;
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(34,197,94,0.5);
}
[data-theme="light"] .monitor-msg.assistant.peter-msg {
    border-color: rgba(34,197,94,0.15);
    background: linear-gradient(135deg, rgba(34,197,94,0.04) 0%, #ffffff 100%);
}

/* Typing indicator bubble */
.monitor-msg.typing {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,214,0,0.04) 100%);
    border: 1px solid rgba(255,214,0,0.10);
    border-radius: 0 14px 14px 14px;
    margin-left: 18px;
    padding: 12px 18px;
}
.monitor-msg.typing::after {
    content: '';
    position: absolute;
    bottom: -8px; left: -14px;
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.09);
    clip-path: path('M30 0 C30 0, 28 6, 24 12 C20 18, 14 24, 6 28 C12 28, 20 26, 24 22 C28 18, 30 10, 30 4 Z');
}
[data-theme="light"] .monitor-msg.typing {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,248,220,0.5) 100%);
    border-color: rgba(200,170,0,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .monitor-msg.typing::after {
    background: #ffffff;
}
.monitor-msg.typing .typing-dots {
    display: inline-flex; gap: 5px; align-items: center;
}
.monitor-msg.typing .typing-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: typingBounce 1.2s infinite;
}
[data-theme="light"] .monitor-msg.typing .typing-dots span {
    background: rgba(0,0,0,0.3);
}
.monitor-msg.typing .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.monitor-msg.typing .typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Document mode inside monitor (for toolbar buttons) */
.monitor-doc {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    padding: 50px 22px 50px;
    background: #0d0d0f;
    border-radius: 4px;
    z-index: 10;
    display: none;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
    animation: monitorFadeIn 0.4s ease;
}
.monitor-doc::-webkit-scrollbar { width: 4px; }
.monitor-doc::-webkit-scrollbar-track { background: transparent; }
.monitor-doc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
[data-theme="light"] .monitor-doc {
    background: #f8f8fa;
    scrollbar-color: rgba(0,0,0,0.12) transparent;
}
[data-theme="light"] .monitor-doc::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); }
.monitor-doc.active { display: block; }

/* Document typography */
.monitor-doc h1 {
    font-size: 20px; font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px; letter-spacing: -0.02em;
}
.monitor-doc h2 {
    font-size: 18px; font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .monitor-doc h2 {
    border-bottom-color: rgba(0,0,0,0.08);
}
.monitor-doc h3 {
    font-size: 16px; font-weight: 700;
    color: var(--text-primary);
    margin: 18px 0 6px;
}
.monitor-doc p {
    font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin: 0 0 10px;
}
[data-theme="light"] .monitor-doc p {
    color: rgba(0,0,0,0.72);
}
.monitor-doc ul, .monitor-doc ol {
    font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin: 0 0 10px; padding-left: 20px;
}
[data-theme="light"] .monitor-doc ul,
[data-theme="light"] .monitor-doc ol {
    color: rgba(0,0,0,0.72);
}
.monitor-doc li { margin-bottom: 4px; }
.monitor-doc strong {
    color: var(--text-primary);
    font-weight: 700;
}
.monitor-doc em {
    color: var(--text-secondary);
    font-style: italic;
}
.monitor-doc hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 20px 0;
}
[data-theme="light"] .monitor-doc hr {
    border-top-color: rgba(0,0,0,0.08);
}
.monitor-doc blockquote {
    border-left: 3px solid rgba(255,255,255,0.2);
    margin: 8px 0; padding: 4px 14px;
    color: rgba(255,255,255,0.65);
    font-style: italic; font-size: 16px;
}
[data-theme="light"] .monitor-doc blockquote {
    border-left-color: rgba(0,0,0,0.15);
    color: rgba(0,0,0,0.6);
}
.monitor-doc .doc-label {
    display: inline-block;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFD600;
    margin-bottom: 12px;
}

/* === MAGAZINE-STYLE DOCUMENT COMPONENTS === */

/* Section divider with label */
.doc-section {
    margin: 28px 0 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.doc-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
[data-theme="light"] .doc-section { border-top-color: rgba(0,0,0,0.06); }

/* Card container */
.doc-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 12px 0;
}
[data-theme="light"] .doc-card {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}

/* Highlighted callout */
.doc-callout {
    background: rgba(255,214,0,0.06);
    border-left: 3px solid #FFD600;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
}
[data-theme="light"] .doc-callout {
    background: rgba(200,170,0,0.06);
    border-left-color: #C7A500;
    color: rgba(0,0,0,0.78);
}
.doc-callout strong { color: #FFD600; }
[data-theme="light"] .doc-callout strong { color: #9A7D00; }

/* Warning/important callout */
.doc-callout.warning {
    background: rgba(107,114,128,0.06);
    border-left-color: #9ca3af;
}
.doc-callout.warning strong { color: #6b7280; }

/* Stat grid */
.doc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.doc-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
}
[data-theme="light"] .doc-stat {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}
.doc-stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #FFD600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
[data-theme="light"] .doc-stat-num { color: #9A7D00; }
.doc-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}
[data-theme="light"] .doc-stat-label { color: rgba(0,0,0,0.45); }

/* Timeline / process steps */
.doc-timeline {
    position: relative;
    padding-left: 28px;
    margin: 16px 0;
}
.doc-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, #FFD600 0%, rgba(255,214,0,0.15) 100%);
    border-radius: 1px;
}
[data-theme="light"] .doc-timeline::before {
    background: linear-gradient(180deg, #C7A500 0%, rgba(200,170,0,0.15) 100%);
}
.doc-step {
    position: relative;
    margin-bottom: 18px;
    padding-left: 8px;
}
.doc-step::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #FFD600;
    border-radius: 50%;
    border: 2px solid #0d0d0f;
}
[data-theme="light"] .doc-step::before {
    background: #C7A500;
    border-color: #f8f8fa;
}
.doc-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.doc-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}
[data-theme="light"] .doc-step-desc { color: rgba(0,0,0,0.6); }

/* Badge / tag */
.doc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,214,0,0.12);
    color: #FFD600;
    margin-right: 6px;
    margin-bottom: 4px;
}
[data-theme="light"] .doc-badge {
    background: rgba(200,170,0,0.1);
    color: #9A7D00;
}

/* Pull quote */
.doc-quote {
    position: relative;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    text-align: center;
}
.doc-quote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,214,0,0.25);
    line-height: 1;
}
[data-theme="light"] .doc-quote { color: rgba(0,0,0,0.82); }
[data-theme="light"] .doc-quote::before { color: rgba(200,170,0,0.2); }

/* Comparison table */
.doc-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.doc-compare-col {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px;
}
.doc-compare-col.highlight {
    border-color: rgba(255,214,0,0.3);
    background: rgba(255,214,0,0.04);
}
[data-theme="light"] .doc-compare-col {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .doc-compare-col.highlight {
    border-color: rgba(200,170,0,0.3);
    background: rgba(200,170,0,0.04);
}
.doc-compare-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}
.doc-compare-col.highlight .doc-compare-title { color: #FFD600; }
[data-theme="light"] .doc-compare-col.highlight .doc-compare-title { color: #9A7D00; }

/* Skill/tech tag list */
.doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.doc-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.06);
}
[data-theme="light"] .doc-tag {
    background: rgba(0,0,0,0.04);
    color: rgba(0,0,0,0.65);
    border-color: rgba(0,0,0,0.06);
}

/* Loading spinner with tips */
.doc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 20px;
}
.doc-loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255,214,0,0.15);
    border-top-color: #FFD600;
    border-radius: 50%;
    animation: docSpin 0.8s linear infinite;
}
@keyframes docSpin { to { transform: rotate(360deg); } }
.doc-loading-text {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    max-width: 280px;
    line-height: 1.5;
}
[data-theme="light"] .doc-loading-text { color: rgba(0,0,0,0.4); }
.doc-loading-tip {
    font-size: 12px;
    color: rgba(255,214,0,0.5);
    font-style: italic;
}

/* Contact form inside monitor */
.contact-form-wrap { padding: 8px 0; }
.contact-form-wrap h1 { font-size: 20px; font-weight: 700; color: rgba(255,255,255,0.95); margin-bottom: 4px; }
.contact-form-wrap .contact-intro { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 24px; }
.cf-row { display: flex; gap: 12px; }
.cf-row .cf-field { flex: 1; }
.cf-field { margin-bottom: 16px; position: relative; }
.cf-field label {
    display: block; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: rgba(255,214,0,0.6); margin-bottom: 6px;
}
.cf-field .cf-input-wrap {
    position: relative; display: flex; align-items: center;
}
.cf-field .cf-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: rgba(255,214,0,0.35);
    pointer-events: none; z-index: 1;
}
.cf-field textarea ~ .cf-icon { top: 16px; transform: none; }
.cf-field input, .cf-field select, .cf-field textarea {
    width: 100%; padding: 12px 12px 12px 38px;
    background: transparent; border: none;
    border-radius: 10px; color: rgba(255,255,255,0.9); font-size: 14px;
    font-family: inherit; outline: none;
    box-shadow: 0 0 0 1px rgba(255,214,0,0.08), 0 2px 12px rgba(255,214,0,0.04);
    transition: box-shadow 0.3s ease;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
    box-shadow: 0 0 0 1px rgba(255,214,0,0.25), 0 4px 20px rgba(255,214,0,0.1);
}
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.cf-field select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.cf-field select option { background: #1d1d1b; color: #ededec; }
.cf-field textarea { resize: vertical; min-height: 80px; padding-top: 12px; }
.cf-submit {
    width: 100%; padding: 14px; margin-top: 8px;
    background: #FFD600; color: #1d1d1b; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(255,214,0,0.2);
}
.cf-submit:hover { opacity: 0.9; box-shadow: 0 6px 24px rgba(255,214,0,0.3); }
.cf-alt { text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 16px; }
.cf-alt strong { color: rgba(255,214,0,0.5); font-weight: 600; }

/* Preview step */
.cf-preview { padding: 4px 0; }
.cf-preview-title { font-size: 13px; font-weight: 700; color: rgba(255,214,0,0.7); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.cf-preview-row {
    display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
    padding: 10px 14px; border-radius: 8px;
    background: rgba(255,214,0,0.03);
}
.cf-preview-row .cf-icon { width: 14px; height: 14px; color: rgba(255,214,0,0.4); flex-shrink: 0; margin-top: 2px; }
.cf-preview-label { font-size: 11px; color: rgba(255,255,255,0.4); min-width: 70px; }
.cf-preview-value { font-size: 14px; color: rgba(255,255,255,0.88); word-break: break-word; }
.cf-preview-actions { display: flex; gap: 10px; margin-top: 20px; }
.cf-preview-actions .cf-submit { flex: 1; }
.cf-btn-back {
    padding: 14px 20px; border: none; border-radius: 10px;
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.cf-btn-back:hover { background: rgba(255,255,255,0.1); }

/* Success */
.cf-success { text-align: center; padding: 32px 16px; animation: cfFadeIn 0.5s ease; }
.cf-success-icon { font-size: 56px; margin-bottom: 12px; display: block; }
.cf-success h2 { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.cf-success p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 4px; }
.cf-success strong { color: rgba(255,214,0,0.8); font-weight: 700; }
.cf-success .cf-timestamp {
    display: inline-block; margin-top: 14px; padding: 6px 14px;
    background: rgba(255,214,0,0.06); border-radius: 6px;
    font-size: 12px; color: rgba(255,214,0,0.5); font-variant-numeric: tabular-nums;
}
@keyframes cfFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Light theme contact form */
[data-theme="light"] .contact-form-wrap h1 { color: rgba(0,0,0,0.9); }
[data-theme="light"] .contact-form-wrap .contact-intro { color: rgba(0,0,0,0.45); }
[data-theme="light"] .cf-field label { color: rgba(180,140,0,0.7); }
[data-theme="light"] .cf-field .cf-icon { color: rgba(180,140,0,0.35); }
[data-theme="light"] .cf-field input, [data-theme="light"] .cf-field select, [data-theme="light"] .cf-field textarea {
    background: transparent; color: rgba(0,0,0,0.85);
    box-shadow: 0 0 0 1px rgba(200,170,0,0.1), 0 2px 12px rgba(200,170,0,0.05);
}
[data-theme="light"] .cf-field input:focus, [data-theme="light"] .cf-field select:focus, [data-theme="light"] .cf-field textarea:focus {
    box-shadow: 0 0 0 1px rgba(200,170,0,0.3), 0 4px 20px rgba(200,170,0,0.1);
}
[data-theme="light"] .cf-field input::placeholder, [data-theme="light"] .cf-field textarea::placeholder { color: rgba(0,0,0,0.2); }
[data-theme="light"] .cf-field select option { background: #fff; color: #1d1d1b; }
[data-theme="light"] .cf-alt { color: rgba(0,0,0,0.35); }
[data-theme="light"] .cf-alt strong { color: rgba(180,140,0,0.6); }
[data-theme="light"] .cf-preview-title { color: rgba(180,140,0,0.7); }
[data-theme="light"] .cf-preview-row { background: rgba(200,170,0,0.04); }
[data-theme="light"] .cf-preview-row .cf-icon { color: rgba(180,140,0,0.4); }
[data-theme="light"] .cf-preview-label { color: rgba(0,0,0,0.4); }
[data-theme="light"] .cf-preview-value { color: rgba(0,0,0,0.8); }
[data-theme="light"] .cf-btn-back { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.5); }
[data-theme="light"] .cf-success h2 { color: rgba(0,0,0,0.9); }
[data-theme="light"] .cf-success p { color: rgba(0,0,0,0.5); }
[data-theme="light"] .cf-success strong { color: rgba(180,140,0,0.8); }
[data-theme="light"] .cf-success .cf-timestamp { background: rgba(200,170,0,0.06); color: rgba(180,140,0,0.6); }

@media (max-width: 600px) {
    .cf-row { flex-direction: column; gap: 0; }
}

/* Monitor header with logo + timestamp */
.monitor-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 0 10px; margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .monitor-header {
    border-bottom-color: rgba(0,0,0,0.08);
}
.monitor-header-logo {
    height: 18px; filter: var(--logo-filter); opacity: 0.5;
}
.monitor-header-time {
    font-size: 10px; color: rgba(255,255,255,0.35);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
[data-theme="light"] .monitor-header-time {
    color: rgba(0,0,0,0.35);
}

/* Loading animation with logo */
.monitor-loading {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; padding: 80px 20px;
    animation: monitorFadeIn 0.3s ease;
}
.monitor-loading-logo {
    height: 28px; filter: var(--logo-filter);
    opacity: 0.35;
    animation: loadingPulse 2s ease-in-out infinite;
}
@keyframes loadingPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.06); }
}
.monitor-loading .typing-dots {
    display: inline-flex; gap: 5px; align-items: center;
}
.monitor-loading .typing-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: #FFD600; opacity: 0.5;
    animation: typingBounce 1.2s infinite;
}
.monitor-loading .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.monitor-loading .typing-dots span:nth-child(3) { animation-delay: 0.3s; }


/* Showcase fuer Laptop-Mockups (Vollbericht, Analytics) */
.showcase-item.showcase-wide {
    max-width: 900px;
}

/* Showcase Text */
.showcase-num {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.showcase-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 300; color: var(--text-primary);
    letter-spacing: -0.02em; line-height: 1.15;
    margin-bottom: 12px;
}
.showcase-sub {
    font-size: 15px; color: var(--text-secondary);
    max-width: 480px; line-height: 1.7;
    margin: 0 auto;
}

/* Scroll-Reveal Animationen (nur aktiv wenn JS .reveal-ready setzt) */
.reveal-ready [data-reveal] .showcase-num,
.reveal-ready [data-reveal] .showcase-title,
.reveal-ready [data-reveal] .showcase-sub,
.reveal-ready [data-reveal] .showcase-image,
.reveal-ready [data-reveal] .showcase-laptop {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-ready [data-reveal].visible .showcase-num     { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-ready [data-reveal].visible .showcase-title    { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-ready [data-reveal].visible .showcase-sub      { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-ready [data-reveal].visible .showcase-image    { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-ready [data-reveal].visible .showcase-laptop   { opacity: 1; transform: none; transition-delay: 0.24s; }

/* ========== LAPTOP MOCKUP (für Vollbericht + Analytics) ========== */
.showcase-laptop {
    perspective: 1200px;
    max-width: 780px;
    width: 100%;
    position: relative;
}
.laptop-cloud {
    position: absolute;
    inset: -50% -40%;
    pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 45% 42%, var(--cloud-1) 0%, transparent 65%),
        radial-gradient(ellipse 50% 42% at 55% 58%, var(--cloud-2) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 50%, var(--cloud-3) 0%, transparent 70%);
    filter: blur(30px);
}
.laptop {
    transform: rotateX(4deg);
    transform-style: preserve-3d;
    position: relative; z-index: 1;
}
.laptop-screen {
    background: #1c1c1e;
    border-radius: 14px 14px 0 0;
    padding: 14px 14px 0;
    position: relative;
    box-shadow: 0 -4px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}
.laptop-screen::before {
    content: '';
    width: 5px; height: 5px;
    background: #2a2a2e;
    border-radius: 50%;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
}
.laptop-viewport {
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}
.laptop-viewport::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 25%;
    background: linear-gradient(transparent, rgba(15,15,20,0.6));
    pointer-events: none;
}
.laptop-viewport img {
    width: 100%;
    display: block;
}
.laptop-base {
    background: linear-gradient(#48484c, #38383c);
    height: 10px;
    border-radius: 0 0 8px 8px;
    width: 108%;
    margin-left: -4%;
    position: relative;
}
.laptop-base::before {
    content: '';
    position: absolute; top: 0; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.laptop-base::after {
    content: '';
    width: 54px; height: 4px;
    background: #525256;
    border-radius: 0 0 4px 4px;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
}
[data-theme="light"] .laptop-screen {
    box-shadow: 0 -4px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.08);
}
[data-theme="light"] .laptop-base {
    background: linear-gradient(#c8c8cc, #b8b8bc);
}
[data-theme="light"] .laptop-base::after {
    background: #d0d0d4;
}

/* Scroll-Animationen für Laptop-Viewports */
@keyframes scrollSlow {
    0%, 6%   { transform: translateY(0); }
    44%, 56% { transform: translateY(-88%); }
    94%, 100%{ transform: translateY(0); }
}
@keyframes scrollMedium {
    0%, 6%   { transform: translateY(0); }
    44%, 56% { transform: translateY(-90%); }
    94%, 100%{ transform: translateY(0); }
}
.scroll-slow img  { animation: scrollSlow 45s ease-in-out infinite; }
.scroll-medium img { animation: scrollMedium 50s ease-in-out infinite; }

/* ========== CTA ========== */
.cta {
    text-align: center; padding: 120px 40px; position: relative;
    max-width: 1080px; margin: 0 auto;
}
.cta::before {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 500px; height: 250px;
    background: radial-gradient(ellipse, var(--glow-2) 0%, transparent 70%);
    pointer-events: none;
}
.cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400; color: var(--text-primary);
    letter-spacing: -0.03em; margin-bottom: 20px; line-height: 1.1;
    position: relative;
}
.cta p { font-size: 17px; max-width: 460px; margin: 0 auto 36px; position: relative; line-height: 1.8; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 10px;
    background: #FFD600; color: #1d1d1b;
    font-size: 14px; font-weight: 600; transition: opacity 0.2s;
    position: relative;
}
.btn-primary:hover { opacity: 0.85; }
[data-theme="light"] .btn-primary { background: #FFD600; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 10px;
    border: 1px solid var(--border); color: var(--text-secondary);
    font-size: 14px; font-weight: 600; transition: all 0.2s;
    position: relative;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* Footer */
.footer { padding: 40px 32px 32px; text-align: center; border-top: 1px solid var(--border); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); color: var(--text-muted);
    transition: all 0.2s;
}
.footer-social a:hover { color: #FFD600; border-color: rgba(255,214,0,0.3); background: rgba(255,214,0,0.06); }
.footer-social svg { width: 18px; height: 18px; }
.footer p { font-size: 13px; color: var(--text-muted); }
.footer a { color: var(--text-secondary); transition: color 0.2s; }
.footer a:hover { color: var(--text-primary); }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 0 auto; max-width: 900px; }

/* ========== BACKGROUND LOGO GLOW ========== */
.bg-logo-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    max-width: 900px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    filter: blur(14px) saturate(0.6) brightness(1.5);
}
[data-theme="light"] .bg-logo-glow {
    opacity: 0.30;
    filter: blur(14px) saturate(0.5) brightness(1.6);
}

/* ========== CHAT SECTION — Claude.ai Style ========== */
.chat-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 32px 48px;
    position: relative;
}
/* Input box — THE main container (Claude.ai style) */
.chat-input-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), var(--card-shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.chat-input-box:focus-within {
    border-color: var(--border-grad-1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), var(--card-shadow), 0 0 0 1px var(--border-grad-1);
}
.chat-textarea {
    width: 100%;
    min-height: 52px;
    max-height: 120px;
    padding: 16px 20px 8px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    outline: none;
    resize: none;
    display: block;
}
.chat-textarea::placeholder { color: var(--text-muted); }
.chat-input-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 14px 12px;
    gap: 8px;
}
.chat-model-tag {
    font-size: 11px;
    color: var(--text-muted);
    margin-right: auto;
    padding-left: 6px;
    opacity: 0.6;
}
.contact-icon-btn, .mic-btn {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.contact-icon-btn { margin-right: auto; }
.contact-icon-btn:hover, .mic-btn:hover {
    color: #FFD600;
    border-color: #FFD600;
    background: rgba(255,214,0,0.08);
}
.contact-icon-btn svg, .mic-btn svg { width: 16px; height: 16px; }
.mic-btn.recording {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239,68,68,0.08);
    animation: micPulse 1.2s ease-in-out infinite;
}
.mic-btn.unsupported { display: none; }
@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.chat-send {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: #FFD600;
    color: #2a2518;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.chat-send:hover { opacity: 0.85; }
.chat-send:disabled { opacity: 0.2; cursor: not-allowed; }
.chat-send svg { width: 14px; height: 14px; }

/* Below input — toolbar icons + chips */
.chat-below {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px 0;
    position: relative;
    z-index: 1;
}
.chat-chip {
    padding: 6px 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.chat-chip:hover {
    border-color: var(--border-grad-1);
    color: var(--text-primary);
    background: var(--bg-raised);
}
.chat-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}
.chat-model-below {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.5;
    margin: 0;
}
.chat-clock {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.4;
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .chat-section { padding: 48px 16px 32px; max-width: 100%; }
    .chat-input-box { border-radius: 18px; max-width: 100%; box-sizing: border-box; }
    .monitor-chat-output { padding: 40px 10px; }
    .monitor-msg { font-size: 20px; padding: 12px 16px; line-height: 1.6; }
    .chat-textarea { font-size: 20px; padding: 14px 16px 8px; } /* ≥16px prevents iOS auto-zoom */
    .chat-chips { gap: 5px; }
    .chat-chip { font-size: 14px; padding: 9px 14px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 48px; }
    .section { padding: 64px 24px; }
    .gcard { padding: 28px; }
    .contact-icon-btn, .mic-btn { width: 28px; height: 28px; border-radius: 7px; }
    .contact-icon-btn svg, .mic-btn svg { width: 14px; height: 14px; }
    .chat-send { width: 28px; height: 28px; }
    .chat-send svg { width: 14px; height: 14px; }
    .chat-input-footer { padding: 4px 10px 8px; gap: 6px; }
    .showcase-item { padding: 48px 24px 24px; }
    .slideshow-section { padding: 24px 16px 32px; }
    .slideshow-viewport { aspect-ratio: 9 / 16; min-height: 480px; }
    .slideshow-text { top: calc(50% + 180px); padding: 12px 16px; }
    .slideshow-text .showcase-title { font-size: 18px; }
    .slideshow-text .showcase-sub { font-size: 12px; max-width: 280px; }
    .viewport-logo-bar { height: 36px; padding: 0 10px; }
    .viewport-logo-img { height: 24px; }
    .viewport-date { font-size: 11px; }
    .monitor-screen { border-radius: 8px; padding: 6px; }
    .monitor-stand { width: 20px; height: 16px; }
    .monitor-base { width: 56px; height: 4px; }
    .showcase-laptop { max-width: 100%; }
    .laptop { transform: rotateX(2deg); }
    .laptop-screen { padding: 8px 8px 0; }
    .monitor-msg { margin-right: 8px !important; margin-left: 8px !important; }
    .monitor-msg.assistant { padding: 12px 16px; font-size: 20px; line-height: 1.6; max-width: 95%; }
    .monitor-doc { padding: 40px 14px 40px; }
    .monitor-chat-output { padding: 40px 8px; }
    .monitor-screen { max-width: 100%; overflow: hidden; }
    .showcase { overflow: hidden; }
    .chat-section { padding: 48px 12px 32px; max-width: 100%; width: 100%; overflow: hidden; box-sizing: border-box; }
    .chat-below { padding: 10px 4px 0; }
    .doc-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .doc-stat-num { font-size: 20px; }
    .doc-card { padding: 14px; }
    .cta { padding: 64px 24px; }
    .cta h2 { font-size: 26px; }
    .cta p { font-size: 15px; margin-bottom: 24px; }
    .cta::before { width: 300px; height: 150px; }
    .bg-logo-glow { width: 200px !important; opacity: 0.12 !important; filter: blur(16px) saturate(0.3) brightness(1.6) !important; }
    .divider { margin: 0; }
    .device-switcher { display: none; }
    footer { padding: 32px 16px !important; }
}

/* ========== COOKIE CONSENT ========== */
.cookie-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: flex-end; justify-content: flex-end;
    padding: 24px;
    pointer-events: none;
}
.cookie-overlay.visible { display: flex; }
.cookie-card {
    pointer-events: auto;
    background: #1a1a1e; border-radius: 20px;
    padding: 36px 40px 32px;
    max-width: 520px; width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    transform: translateY(40px); opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.cookie-overlay.visible .cookie-card { transform: translateY(0); opacity: 1; }
[data-theme="light"] .cookie-card {
    background: #1a1a1e;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
}
.cookie-title {
    font-size: 22px; font-weight: 700; color: #ffffff;
    margin-bottom: 14px; letter-spacing: -0.02em;
}
.cookie-desc {
    font-size: 15px; line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
}
.cookie-desc a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.cookie-desc a:hover { color: #ffffff; }
.cookie-actions {
    display: flex; gap: 12px;
}
.cookie-btn {
    flex: 1; padding: 14px 24px; border-radius: 12px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; border: none;
}
.cookie-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
}
.cookie-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}
.cookie-accept {
    background: #FFD600; color: #1a1a1e;
}
.cookie-accept:hover { background: #ffe033; }
@media (max-width: 540px) {
    .cookie-overlay { padding: 16px; }
    .cookie-card { padding: 28px 24px 24px; }
    .cookie-actions { flex-direction: column; }
}
