/* ============================================
   Rheinland Secure — Narrative Edition
   Minimalist, story-driven, high-contrast
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #050505;
    --bg-alt: #0a0a0a;
    --bg-light: #121212;
    
    --text: #888888;
    --text-strong: #e0e0e0;
    --text-head: #ffffff;
    
    --accent: #d4a24c;       /* Warm amber */
    --accent-dim: rgba(212, 162, 76, 0.2);
    --line: #1a1a1a;
    
    --font: 'Inter', -apple-system, sans-serif;
    --nav-h: 80px;
    --pad: 40px;
    --max-w: 1200px;
    
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) { :root { --pad: 24px; --nav-h: 64px; } }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* Typography */
.t-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: block;
    margin-bottom: 24px;
}

.t-h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-head);
}

.t-h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-head);
    margin-bottom: 24px;
}

.t-h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-head);
    letter-spacing: -0.02em;
}

.t-lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.5;
    color: var(--text-strong);
}

.t-body {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 36px;
    font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    cursor: pointer;
}
.btn--solid {
    background: var(--accent); color: #000;
}
.btn--solid:hover { 
    background: #e8b85d; 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 240, 78, 0.2);
}
.btn--outline {
    border: 1px solid var(--line); color: var(--text-head);
}
.btn--outline:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
    transform: translateY(-2px);
    background: rgba(168, 240, 78, 0.05);
}

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--nav-h); z-index: 100;
    display: flex; align-items: center;
    transition: background 0.3s, border 0.3s;
}
.nav--scrolled {
    background: rgba(5,5,5,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav .wrap {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.nav__logo img { height: 45px; transition: height 0.3s ease; }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); transition: color 0.2s; }
.nav__links a:hover { color: var(--text-head); }
.nav__cta { 
    color: var(--accent) !important; 
    font-weight: 600 !important; 
    transition: opacity 0.3s ease;
}
.nav__cta:hover {
    opacity: 0.7;
}

.hamburger { display: none; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span { height: 2px; width: 100%; background: var(--text-head); transition: 0.3s; }

@media (max-width: 768px) {
    .nav__links {
        position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg);
        flex-direction: column; padding: 40px; border-bottom: 1px solid var(--line);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s;
    }
    .nav__links--open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .hamburger { display: flex; }
    .hamburger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger--active span:nth-child(2) { opacity: 0; }
    .hamburger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Glowing Background Orbs */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}
.ambient-glow--1 {
    width: 60vw; height: 60vh;
    background: rgba(212,162,76,0.15);
    top: -20vh; right: -20vw;
}
.ambient-glow--2 {
    width: 50vw; height: 50vh;
    background: rgba(212,162,76,0.08);
    bottom: 20vh; left: -20vw;
}

/* Hero (Cinematic) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 100%);
    z-index: 1; pointer-events: none;
}
.hero__layout {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    width: 100%;
}
.hero__text { max-width: 600px; }
.hero__text .t-h1 { margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero__text .t-lead { margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
    position: relative;
    display: flex; justify-content: center; align-items: center;
}
.hero__drone-wrap {
    position: relative;
    width: 120%;
    transform: translateX(10%);
    animation: hover 6s ease-in-out infinite;
}
.hero__drone-img {
    position: relative; z-index: 2;
    width: 100%; height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.hero__drone-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
}

@keyframes hover {
    0%, 100% { transform: translateY(0) translateX(10%); }
    50% { transform: translateY(-20px) translateX(10%); }
}

@media (max-width: 900px) {
    .hero__layout { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 60px; text-align: center; }
    .hero__text { margin: 0 auto; }
    .hero__actions { justify-content: center; }
    .hero__drone-wrap { width: 100%; transform: translateX(0); margin-top: 40px; }
    @keyframes hover {
        0%, 100% { transform: translateY(0) translateX(0); }
        50% { transform: translateY(-15px) translateX(0); }
    }
}

/* Marquee Ticker */
.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    overflow: hidden;
    background: var(--bg-alt);
    white-space: nowrap;
    display: flex;
}
.ticker__inner {
    display: inline-flex;
    animation: ticker 40s linear infinite;
}
.ticker__item {
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-strong);
    display: flex; align-items: center; gap: 32px; padding-right: 32px;
}
.ticker__item::after {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Status Quo (Narrative) */
.story { padding: 120px 0; border-bottom: 1px solid var(--line); }
.story__layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:start;
}
.story__text > p { margin-bottom: 24px; }
.story__quote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.2; font-weight: 300;
    color: var(--text-head);
    border-left: 2px solid var(--accent); padding-left: 32px; margin-top: 40px;
}
@media (max-width: 900px) { .story__layout { grid-template-columns: 1fr; gap: 40px; } }

/* Tabbed Product */
.product { padding: 120px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.product__head { max-width: 700px; margin-bottom: 64px; }

.tabs__nav {
    display: flex; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
    overflow-x: auto; scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
    padding: 0 0 16px 0; font-size: 1rem; font-weight: 600; color: var(--text);
    text-transform: uppercase; letter-spacing: 0.05em; transition: 0.3s;
    border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs__btn:hover { color: var(--text-head); }
.tabs__btn.active { color: var(--accent); border-color: var(--accent); }

.tabs__pane { display: none; animation: fade 0.4s ease; }
.tabs__pane.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.pane__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pane__img img { width: 100%; border: 1px solid var(--line); }
.pane__text .t-h3 { margin-bottom: 16px; }
.pane__text .t-body { margin-bottom: 32px; }

.pane__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.spec__val { display: block; font-size: 1.25rem; font-weight: 700; color: var(--text-head); line-height: 1.1; margin-bottom: 4px; }
.spec__lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }

@media (max-width: 900px) { .pane__grid { grid-template-columns: 1fr; gap: 40px; } .tabs__nav{gap:24px;} }

/* Split Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; }
.compare__side { padding: 100px var(--pad); }
.compare__side--bad { background: var(--bg); border-right: 1px solid var(--line); }
.compare__side--good { background: var(--bg-alt); }
.compare__inner { max-width: 500px; }
.compare__side--bad .compare__inner { margin-left: auto; }
.compare__side--good .compare__inner { margin-right: auto; }

.compare__title { font-size: 2rem; font-weight: 700; margin-bottom: 48px; color: var(--text-head); }
.compare__side--bad .compare__title { color: #666; }

.compare__list { display: flex; flex-direction: column; gap: 32px; }
.compare__item { display:flex; flex-direction:column; gap:8px;}
.compare__item span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.compare__side--bad .compare__item span { color: #555; }
.compare__item p { font-size: 1.1rem; color: var(--text-strong); line-height: 1.5; }

@media (max-width: 900px) { 
    .compare { grid-template-columns: 1fr; } 
    .compare__side--bad { border-right: none; border-bottom: 1px solid var(--line); }
    .compare__inner { margin: 0 auto !important; width: 100%; }
}

/* Sectors (Text List) */
.sectors { padding: 120px 0; border-bottom: 1px solid var(--line); }
.sectors__head { margin-bottom: 64px; }
.sect__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sect__item { padding: 40px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background 0.3s; }
.sect__item:hover { background: var(--bg-alt); }
.sect__num { font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-bottom: 16px; display: block; }
.sect__item h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-head); margin-bottom: 12px; }
.sect__item p { font-size: 0.95rem; color: var(--text); }
@media (max-width: 768px) { .sect__list { grid-template-columns: 1fr; } .sect__item{padding:32px 24px;} }

/* FAQ (Minimal) */
.faq { padding: 120px 0; border-bottom: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq__list { display:flex; flex-direction: column;}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; padding: 24px 0; font-size: 1.1rem; font-weight: 500; color: var(--text-head); display: flex; justify-content: space-between; align-items: center; }
.faq__q::after { content: '+'; font-size: 1.5rem; font-weight: 300; transition: 0.3s; color: var(--accent); }
.faq__item.active .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: 0.4s ease; }
.faq__a-inner { padding-bottom: 32px; font-size: 1rem; color: var(--text); }
.faq__item.active .faq__a { max-height: 400px; }
@media(max-width:900px){ .faq__grid{grid-template-columns: 1fr;} }

/* CTA Band */
.cta { padding: 80px 0; background: var(--accent); text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #000; letter-spacing: -0.03em; margin-bottom: 24px; }
.cta .btn { border: 2px solid #000; color: #000; background: transparent; }
.cta .btn:hover { background: #000; color: var(--accent); }

.cta__email-box {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(0,0,0,0.03);
    border: 1.5px solid #000;
    border-radius: 2px;
    color: #000;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta__email-box:hover {
    background: #000;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer Minimal */
.footer { padding: 64px 0; background: var(--bg); }
.foot__grid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; }
.foot__brand img { height: 48px; margin-bottom: 24px; }
.foot__brand p { font-size: 0.85rem; max-width: 250px; color: var(--text); }
.foot__links { display: flex; gap: 24px; }
.foot__links a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.foot__links a:hover { color: var(--text-head); }
