@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #B0B8C1;
  --bg2:       #C5CCD4;
  --bg3:       #D8DDE3;
  --white:     #ffffff;
  --border:    #9aa3ac;
  --dark:      #2D3748;
  --dark2:     #1E2737;
  --dark3:     #141c2a;
  --accent:    #1a7a30;
  --accent-l:  #22963a;
  --accent-bg: rgba(26,122,48,0.08);
  --text:      #1a1a2e;
  --muted:     #4a5568;
  --danger:    #c0392b;
  --warn:      #b7700a;
  --nav-h:     64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.nav-logo {
  font-size: 2.0rem;
  font-weight: 700;
  color: #F0F6FC;
  text-decoration: none;
  margin-right: 36px;
  flex-shrink: 0;
}
.nav-logo span { color: #4ade80; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(240,246,252,0.72);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active { color: #F0F6FC; background: rgba(255,255,255,0.07); }

.nav-arrow { font-size: 0.65rem; opacity: 0.55; transition: transform 0.18s; }
.nav-links > li:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 9px 13px;
  font-size: 0.93rem;
  font-weight: 400;
  color: rgba(240,246,252,0.68);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.13s, background 0.13s;
}

.nav-dropdown li a:hover { color: #F0F6FC; background: rgba(255,255,255,0.07); }

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-l) !important; }

/* ── LAYOUT ── */
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.page-wrap.narrow { max-width: 840px; }

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.85rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.45rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.8; }
.section-tag { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 28px; border-radius: 5px;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-l); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,122,48,0.28); }
.btn-outline { background: var(--white); color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ── KARTEN ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.card-dark { background: var(--dark2); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 32px; color: #F0F6FC; }
.card-accent { background: var(--white); border: 2px solid var(--accent); border-radius: 8px; padding: 32px; }

.info-box { background: var(--accent-bg); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; padding: 15px 20px; font-size: 0.97rem; color: var(--muted); margin: 1.5rem 0; }
.warn-box { background: rgba(183,112,10,0.08); border-left: 3px solid var(--warn); border-radius: 0 6px 6px 0; padding: 15px 20px; font-size: 0.97rem; color: #7a4a00; margin: 1.5rem 0; }

/* ── LISTEN ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; color: var(--muted); }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg2); }
.bg-lighter { background: var(--bg3); }
.bg-dark  { background: var(--dark); }
.bg-dark2 { background: var(--dark2); }

/* ── TABELLE ── */
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
thead th { padding: 13px 18px; text-align: left; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(240,246,252,0.5); background: var(--dark2); border-bottom: 1px solid rgba(255,255,255,0.07); }
thead th.col-us { color: #4ade80; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.13s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg3); }
tbody td { padding: 12px 18px; vertical-align: middle; font-size: 0.97rem; }
tbody td:first-child { color: var(--muted); }
tbody td.col-us { background: rgba(26,122,48,0.04); }
.t-check { color: var(--accent); font-weight: 600; }
.t-cross { color: var(--danger); }
.t-warn  { color: var(--warn); }

/* ── TERMINAL ── */
.terminal { background: var(--dark3); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; overflow: hidden; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; line-height: 1.85; }
.terminal-bar { background: var(--dark2); padding: 9px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot-r { background: #ff5f57; } .tdot-y { background: #febc2e; } .tdot-g { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 0.76rem; color: rgba(240,246,252,0.3); }
.terminal-body { padding: 20px 22px; color: #e2e8f0; }
.t-g { color: #4ade80; } .t-b { color: #60a5fa; } .t-m { color: rgba(226,232,240,0.38); } .t-y { color: #fbbf24; }
.tcursor { display:inline-block; width:7px; height:14px; background:#4ade80; vertical-align:middle; animation:tblink 1s step-end infinite; }
@keyframes tblink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; font-weight: 300; flex-shrink: 0; transition: transform 0.18s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
.faq-ans { padding: 0 0 17px; color: var(--muted); font-size: 0.97rem; line-height: 1.75; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.07); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: #F0F6FC; text-decoration: none; }
.footer-logo span { color: #4ade80; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(240,246,252,0.5); text-decoration: none; font-size: 0.93rem; transition: color 0.15s; }
.footer-links a:hover { color: #F0F6FC; }
.footer-copy { font-size: 0.83rem; color: rgba(240,246,252,0.3); font-family: 'JetBrains Mono', monospace; }

/* ── HERO ── */
.hero { background: var(--dark); padding: 80px 48px 68px; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-80px; right:-80px; width:480px; height:480px; background:radial-gradient(circle, rgba(26,122,48,0.11) 0%, transparent 65%); pointer-events:none; }
.hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: 1rem; font-weight: 500; color: #4ade80; letter-spacing: 0.02em; margin-bottom: 12px; display: block; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); color: #F0F6FC; line-height: 1.12; margin-bottom: 18px; }
.hero h1 .hl { color: #4ade80; }
.hero-sub { font-size: 1.08rem; color: rgba(240,246,252,0.62); max-width: 500px; line-height: 1.8; }

/* ── ANIMATIONS ── */
.reveal { opacity:0; transform:translateY(22px); transition:opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── SEITEN-HERO (Unterseiten) ── */
.page-hero { background: var(--dark); padding: 52px 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.page-hero h1 { color: #F0F6FC; font-size: 2.1rem; margin-bottom: 10px; }
.page-hero .lead { color: rgba(240,246,252,0.62); margin-bottom: 0; }
.breadcrumb { font-size: 0.88rem; color: rgba(240,246,252,0.4); margin-bottom: 14px; }
.breadcrumb a { color: rgba(240,246,252,0.4); text-decoration: none; }
.breadcrumb a:hover { color: #4ade80; }
.breadcrumb span { margin: 0 6px; }

/* ── FEATURE-BLÖCKE (Unterseiten) ── */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 64px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block.flip { direction: rtl; }
.feature-block.flip > * { direction: ltr; }

.setting-row { display: flex; flex-direction: column; gap: 14px; }
.setting-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 18px 20px; }
.setting-item .s-label { font-weight: 600; font-size: 0.97rem; color: var(--text); margin-bottom: 4px; }
.setting-item .s-desc { font-size: 0.93rem; color: var(--muted); }
.setting-item .s-tag { display: inline-block; background: var(--accent-bg); color: var(--accent); font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 3px; margin-top: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } .grid-4 { grid-template-columns: repeat(2,1fr); } .feature-block { grid-template-columns: 1fr; } .feature-block.flip { direction: ltr; } }
@media (max-width: 768px) { .site-nav { padding: 0 20px; } .nav-links { display: none; } .nav-cta { margin-left: auto; } .hero { padding: 56px 20px 48px; } .page-hero { padding: 40px 20px; } .page-wrap { padding: 0 20px; } .site-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; } .section { padding: 48px 0; } h1 { font-size: 1.9rem; } h2 { font-size: 1.55rem; } .grid-2, .grid-3 { grid-template-columns: 1fr; } }
