/* ===========================================
   KENMA SMART RENTAL – NISCHEN-LANDINGPAGE
   Design-DNA: kenma.at (Glasmorphism, Olive-Accent)
   =========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hjQ.woff2') format('woff2');
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    background: #002222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    --color-bg: #002222;
    --color-bg-deep: #001a1a;
    --color-accent: #89964e;
    --color-accent-light: #b5c475;
    --color-accent-bright: #b7c968;
    --color-accent-dark: #6b773d;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-text-dim: rgba(255, 255, 255, 0.5);
    --color-glass-bg: rgba(255, 255, 255, 0.03);
    --color-glass-bg-hover: rgba(255, 255, 255, 0.06);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --color-glass-border-accent: rgba(137, 150, 78, 0.4);
    --radius-panel: 24px;
    --radius-card: 14px;
    --radius-btn: 12px;
    --shadow-glass: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glass-hover: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 15px rgba(137, 150, 78, 0.3);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ===========================================
   ANIMATED BACKGROUND (Particle Grid)
   =========================================== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(137, 150, 78, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridDrift 20s linear infinite;
}

.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(137, 150, 78, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(0, 80, 80, 0.15) 0%, transparent 50%);
    animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes glowPulse {
    0%   { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ===========================================
   TOP NAVIGATION
   =========================================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(0, 34, 34, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-smooth);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-logo-text {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: opacity 0.3s, color 0.3s;
}

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

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: all 0.3s;
    box-shadow: var(--shadow-accent);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 150, 78, 0.5);
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===========================================
   SECTIONS BASE
   =========================================== */
.content-section {
    position: relative;
    z-index: 10;
    padding: 7rem 2rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 600px;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: rgba(137, 150, 78, 0.12);
    border: 1px solid rgba(137, 150, 78, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-title .accent {
    color: var(--color-accent-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-accent);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(137, 150, 78, 0.5);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.3s;
    text-decoration: none;
}

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

.btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

/* --- Hero Visual (Vorher/Nachher) --- */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.comparison-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-panel);
    padding: 1.75rem;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.comparison-card.chaos {
    border-color: rgba(255, 80, 80, 0.2);
}

.comparison-card.chaos:hover {
    border-color: rgba(255, 80, 80, 0.35);
}

.comparison-card.order {
    border-color: rgba(137, 150, 78, 0.3);
}

.comparison-card.order:hover {
    border-color: rgba(137, 150, 78, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-hover);
}

.comparison-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
}

.comparison-label.label-chaos {
    background: rgba(255, 80, 80, 0.15);
    color: #ff6b6b;
}

.comparison-label.label-order {
    background: rgba(137, 150, 78, 0.15);
    color: var(--color-accent-light);
}

.comparison-label svg {
    width: 12px;
    height: 12px;
}

/* ===========================================
   WHATSAPP PHONE MOCKUP
   =========================================== */
.wa-phone {
    background: #0b141a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    /* no max-height — let content define size */
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Header */
.wa-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.wa-header-back {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wa-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a3942;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.wa-header-info {
    flex: 1;
    min-width: 0;
}

.wa-header-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e9edef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-header-status {
    font-size: 0.62rem;
    color: rgba(233, 237, 239, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* Chat Body */
.wa-chat-body {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: hidden;
    position: relative;
    /* Subtle WA wallpaper pattern */
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: #0b141a;
}

/* Date separator */
.wa-date-sep {
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.wa-date-sep span {
    background: #182229;
    color: rgba(233, 237, 239, 0.6);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Chat bubbles */
.wa-bubble {
    max-width: 88%;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
    position: relative;
    word-wrap: break-word;
}

.wa-bubble.wa-incoming {
    background: #1e2d3d;
    align-self: flex-start;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Staggered animation */
.wa-anim {
    opacity: 0;
    animation: waBubbleIn 0.4s ease forwards;
}

@keyframes waBubbleIn {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-bubble-sender {
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    letter-spacing: 0.01em;
}

.wa-bubble-text {
    color: #e9edef;
    margin-bottom: 0.1rem;
}

.wa-bubble-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.1rem;
}

.wa-bubble-time {
    font-size: 0.55rem;
    color: rgba(233, 237, 239, 0.4);
}

/* Image placeholder in bubble */
.wa-bubble-image {
    margin-bottom: 0.35rem;
}

.wa-image-placeholder {
    width: 100%;
    height: 72px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(233, 237, 239, 0.25);
    font-size: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Voice message */
.wa-voice-msg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0;
}

.wa-voice-play {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.wa-voice-waveform {
    display: flex;
    align-items: center;
    gap: 1.5px;
    flex: 1;
}

.wa-voice-waveform span {
    display: block;
    width: 2.5px;
    background: rgba(37, 211, 102, 0.5);
    border-radius: 2px;
    animation: waveformPulse 1.5s ease-in-out infinite alternate;
}

.wa-voice-waveform span:nth-child(odd) { animation-delay: 0.1s; }
.wa-voice-waveform span:nth-child(3n)  { animation-delay: 0.3s; }
.wa-voice-waveform span:nth-child(5n)  { animation-delay: 0.5s; }

@keyframes waveformPulse {
    0%   { opacity: 0.4; }
    100% { opacity: 1; }
}

.wa-voice-dur {
    font-size: 0.6rem;
    color: rgba(233, 237, 239, 0.4);
    flex-shrink: 0;
}

/* Unread badge */
.wa-unread-badge {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.wa-unread-badge span {
    background: rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 80, 80, 0.25);
    letter-spacing: 0.02em;
}

/* Input bar */
.wa-input-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: #1f2c34;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.wa-input-field {
    flex: 1;
    background: #2a3942;
    border-radius: 20px;
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    color: rgba(233, 237, 239, 0.35);
}

.wa-input-mic {
    width: 32px;
    height: 32px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ===========================================
   INTERACTIVE WHATSAPP CHAT – ADDITIONAL STYLES
   =========================================== */

/* Avatar image in header */
.wa-header-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Chat body scrolling */
#wa-chat-body {
    min-height: 280px;
    max-height: 340px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#wa-chat-body::-webkit-scrollbar {
    display: none;
}

/* Outgoing bubbles (right side, green) */
.wa-bubble.wa-outgoing {
    background: #005c4b;
    align-self: flex-end;
    border-top-right-radius: 2px;
    border-top-left-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Typing indicator */
.wa-typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    background: #1e2d3d;
    border-radius: 8px;
    border-top-left-radius: 2px;
    align-self: flex-start;
    max-width: 88%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    animation: waBubbleIn 0.3s ease forwards;
}

.wa-typing-dots {
    display: flex;
    align-items: center;
    gap: 3px;
}

.wa-typing-dots span {
    display: block;
    width: 5px;
    height: 5px;
    background: rgba(233, 237, 239, 0.4);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
}

.wa-typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.wa-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;
    }
}

/* Image in chat bubble */
.wa-bubble-photo {
    width: 100%;
    max-width: 220px;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    display: block;
    object-fit: cover;
    max-height: 140px;
}

/* Read receipts (blue ticks) */
.wa-bubble-ticks {
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
}

.wa-bubble-ticks svg {
    width: 14px;
    height: 14px;
}

.wa-bubble-ticks.read svg {
    color: #53bdeb;
}

.wa-bubble-ticks.delivered svg {
    color: rgba(233, 237, 239, 0.4);
}

/* Send button (replaces mic when typing) */
.wa-input-send {
    width: 32px;
    height: 32px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.2s, background 0.2s;
}

.wa-input-send.active {
    transform: scale(1.1);
    background: #1eba57;
}

/* Input icons */
.wa-input-icons {
    display: flex;
    align-items: center;
    color: rgba(233, 237, 239, 0.4);
    flex-shrink: 0;
}

/* Input field when typing */
.wa-input-field.typing {
    color: #e9edef;
}

/* Animated entrance for bubbles injected by JS */
.wa-bubble-enter {
    animation: waBubbleIn 0.35s ease forwards;
}

/* Status text animation */
#wa-status-text {
    transition: color 0.3s;
}
#wa-status-text.typing-status {
    color: #25d366;
}


/* Sorted messages (After) */
.sorted-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sorted-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(137, 150, 78, 0.06);
    border: 1px solid rgba(137, 150, 78, 0.15);
    border-radius: var(--radius-card);
    transition: all 0.3s;
}

.sorted-category:hover {
    background: rgba(137, 150, 78, 0.12);
    border-color: rgba(137, 150, 78, 0.3);
    transform: translateX(4px);
}

.sorted-category-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(137, 150, 78, 0.15);
    border: 1px solid rgba(137, 150, 78, 0.3);
    border-radius: 10px;
    color: var(--color-accent);
}

.sorted-category-icon svg {
    width: 18px;
    height: 18px;
}

.sorted-category-text {
    flex: 1;
}

.sorted-category-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}

.sorted-category-desc {
    font-size: 0.7rem;
    color: var(--color-text-dim);
}

.sorted-category-badge {
    padding: 0.2rem 0.6rem;
    background: rgba(137, 150, 78, 0.2);
    color: var(--color-accent-light);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Connecting arrow between cards */
.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comparison-arrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(137, 150, 78, 0.4), transparent);
}

.comparison-arrow svg {
    width: 20px;
    height: 20px;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* ===========================================
   PRODUCT SECTION – SMART RENTAL
   =========================================== */
.product-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 20, 20, 0.5) 100%);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-name {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text);
}

.product-name-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(137, 150, 78, 0.3), rgba(137, 150, 78, 0.1));
    border: 1px solid rgba(137, 150, 78, 0.5);
    border-radius: 14px;
    color: var(--color-accent-light);
    box-shadow: 0 0 20px rgba(137, 150, 78, 0.2);
}

.product-name-icon svg {
    width: 24px;
    height: 24px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.product-feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(137, 150, 78, 0.2);
    border-radius: 50%;
    color: var(--color-accent);
    margin-top: 2px;
}

.product-feature-check svg {
    width: 12px;
    height: 12px;
}

.product-feature p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.product-feature strong {
    color: var(--color-text);
}

/* Product Demo Card */
.product-demo {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-panel);
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.product-demo::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(137, 150, 78, 0.3) 0%, transparent 50%, rgba(137, 150, 78, 0.1) 100%);
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-header-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.demo-header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--color-accent-light);
    font-weight: 500;
}

.demo-status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

/* Incoming message animation */
.demo-inbox {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.demo-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    opacity: 0;
    animation: messageAppear 0.6s ease forwards;
    transition: all 0.5s ease;
}

.demo-message:nth-child(1) { animation-delay: 0.5s; }
.demo-message:nth-child(2) { animation-delay: 1.2s; }
.demo-message:nth-child(3) { animation-delay: 1.9s; }

.demo-message.classified {
    border-color: rgba(137, 150, 78, 0.3);
    background: rgba(137, 150, 78, 0.06);
}

.demo-msg-channel {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.demo-msg-channel.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.demo-msg-channel.email {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
}

.demo-msg-content {
    flex: 1;
    min-width: 0;
}

.demo-msg-sender {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text);
}

.demo-msg-text {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-msg-tag {
    flex-shrink: 0;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: tagAppear 0.4s ease forwards;
}

.demo-message:nth-child(1) .demo-msg-tag { animation-delay: 1.0s; }
.demo-message:nth-child(2) .demo-msg-tag { animation-delay: 1.7s; }
.demo-message:nth-child(3) .demo-msg-tag { animation-delay: 2.4s; }

.tag-verlängerung {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
}

.tag-schaden {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.tag-abholung {
    background: rgba(137, 150, 78, 0.2);
    color: var(--color-accent-light);
}

/* Demo result */
.demo-result {
    padding: 1rem;
    background: rgba(137, 150, 78, 0.08);
    border: 1px solid rgba(137, 150, 78, 0.2);
    border-radius: 12px;
    text-align: center;
}

.demo-result-text {
    font-size: 0.78rem;
    color: var(--color-accent-light);
    font-weight: 600;
}

.demo-result-sub {
    font-size: 0.68rem;
    color: var(--color-text-dim);
    margin-top: 0.25rem;
}

/* ===========================================
   STEPS SECTION – SO FUNKTIONIERT'S
   =========================================== */
.steps-section {
    background: linear-gradient(180deg, rgba(0, 20, 20, 0.5) 0%, transparent 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.step-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-panel);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    background: var(--color-glass-bg-hover);
    border-color: var(--color-glass-border-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glass-hover);
}

.step-number {
    width: 56px;
    height: 56px;
    background: rgba(137, 150, 78, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(137, 150, 78, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(137, 150, 78, 0.15);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.step-card-icon {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-card-icon svg {
    width: 16px;
    height: 16px;
}

/* Step connector lines (desktop) */
.step-connector {
    display: none;
}

/* ===========================================
   PAIN POINTS – BENTO GRID
   =========================================== */
.pain-section {
    overflow: hidden;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    grid-auto-rows: minmax(240px, auto);
}

.bento-item {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-panel);
    padding: 2.25rem;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    background: var(--color-glass-bg-hover);
    border-color: var(--color-glass-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-hover);
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(137, 150, 78, 0.12);
    border: 1px solid rgba(137, 150, 78, 0.25);
    border-radius: var(--radius-card);
    margin-bottom: 1.25rem;
    color: var(--color-accent);
    transition: all 0.3s;
}

.bento-item:hover .bento-icon {
    background: rgba(137, 150, 78, 0.2);
    border-color: rgba(137, 150, 78, 0.4);
    box-shadow: 0 0 15px rgba(137, 150, 78, 0.2);
}

.bento-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.bento-icon.danger {
    background: rgba(255, 80, 80, 0.1);
    border-color: rgba(255, 80, 80, 0.25);
    color: #ff6b6b;
}

.bento-item:hover .bento-icon.danger {
    background: rgba(255, 80, 80, 0.18);
    border-color: rgba(255, 80, 80, 0.4);
    box-shadow: 0 0 15px rgba(255, 80, 80, 0.15);
}

.bento-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.bento-item p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* Special: Solution / Einwand card */
.bento-item.solution {
    border-color: rgba(137, 150, 78, 0.25);
    background: rgba(137, 150, 78, 0.04);
}

.bento-item.solution:hover {
    border-color: rgba(137, 150, 78, 0.5);
    background: rgba(137, 150, 78, 0.08);
}

.bento-item.solution .bento-icon {
    background: rgba(137, 150, 78, 0.2);
    border-color: rgba(137, 150, 78, 0.4);
    color: var(--color-accent-light);
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(137, 150, 78, 0.15);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    width: fit-content;
}

/* ===========================================
   FINAL CTA SECTION
   =========================================== */
.cta-section {
    padding-bottom: 6rem;
}

.cta-box {
    background: rgba(0, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(137, 150, 78, 0.25);
    border-radius: var(--radius-panel);
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(137, 150, 78, 0.04);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(137, 150, 78, 0.4) 0%, transparent 40%, transparent 60%, rgba(137, 150, 78, 0.15) 100%);
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(137, 150, 78, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: ctaGlow 4s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(137, 150, 78, 0.3), rgba(137, 150, 78, 0.1));
    border: 1px solid rgba(137, 150, 78, 0.4);
    border-radius: 50%;
    color: var(--color-accent-light);
    position: relative;
    z-index: 1;
}

.cta-icon svg {
    width: 2rem;
    height: 2rem;
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-box .btn-primary {
    font-size: 1.05rem;
    padding: 1.1rem 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

.cta-trust-item svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.footer-left img {
    height: 20px;
    width: auto;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent-light);
}

/* ===========================================
   SCROLL REVEAL ANIMATION
   =========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes chatSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tagAppear {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}

/* ===========================================
   REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    .bg-grid {
        animation: none;
    }
}

/* ===========================================
   RESPONSIVE BREAKPOINTS
   =========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 560px;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-span-2 {
        grid-column: span 1;
    }

    .cta-box {
        padding: 4rem 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile nav overlay */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 34, 34, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 200;
        padding: 2rem;
    }

    .nav-links.open .nav-link {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .nav-links.open .nav-cta {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--color-text);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .content-section {
        padding: 5rem 1.25rem;
    }

    .hero-section {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    .top-nav {
        padding: 1rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .comparison-container {
        gap: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .bento-item {
        padding: 1.75rem;
    }
}
