/* ============ FONTS ============ */
@font-face { font-family: 'Sansation'; src: url('../fonts/Sansation-Regular.woff2') format('woff2'), url('../fonts/Sansation-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sansation'; src: url('../fonts/Sansation-Italic.woff2') format('woff2'), url('../fonts/Sansation-Italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Sansation'; src: url('../fonts/Sansation-Bold.woff2') format('woff2'), url('../fonts/Sansation-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sansation'; src: url('../fonts/Sansation-BoldItalic.woff2') format('woff2'), url('../fonts/Sansation-BoldItalic.woff') format('woff'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Sansation'; src: url('../fonts/Sansation-Light.woff2') format('woff2'), url('../fonts/Sansation-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --green: #7ab340;
  --green2: #90c254;
  --green-dark: #588f22;
  --dark: #1f2617;
  --dark2: #3a4c24;
  --gray: #5b6058;
  --gray-bg: #f3f5f0;
  --line: #dfe5d7;
  --tint: #e7ede0;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Sansation', 'Segoe UI', Arial, sans-serif;
  color: #23281c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.accent { color: var(--green2); display: block; }
.accent-text { color: var(--green); }
.on-dark { color: #fff; }

.eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--green-dark); margin-bottom: 10px;
}
.eyebrow-light { color: var(--green2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 40px; font-weight: 700; font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(88,143,34,0.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-small { padding: 10px 22px; font-size: 14px; }

/* Unsichtbarer Anker ganz oben, damit "Zurück nach oben"-Links zuverlässig
   funktionieren — ein Sprungziel auf dem "position:fixed"-Header selbst wird
   von Browsern beim Anker-Scrollen ignoriert. */
.top-anchor { position: absolute; top: 0; left: 0; }

#funktionen, #einblick, #mobile, #zielgruppen, #kontakt, #cta { scroll-margin-top: 84px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.main-nav a { font-size: 15px; font-weight: 700; color: var(--dark); opacity: 0.8; }
.main-nav a:hover { opacity: 1; color: var(--green-dark); }
.nav-cta { margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #17200f 0%, #33461f 55%, #3d5127 100%);
  padding: 150px 24px 0 24px;
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  padding-bottom: 90px;
}
.hero-text { flex: 1 1 480px; min-width: 300px; }
.badge {
  display: inline-block; background: rgba(255,255,255,0.14); color: #eaf3de;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 30px; margin-bottom: 22px;
}
.hero-text h1 { font-size: 54px; color: #fff; margin-bottom: 20px; }
.brand-word { display: block; }
.bw-gray { color: #acacac; }
.bw-green { color: var(--green2); }
.hero-sub { font-size: 18px; color: #e9f0e0; line-height: 1.6; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 8px; color: var(--green2); font-weight: 700; font-size: 14px; }

.hero-devices { position: relative; flex: 1 1 420px; min-width: 320px; height: 380px; }
.device.laptop {
  position: absolute; left: 0; top: 20px; width: 88%; max-width: 560px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.laptop-screen { background: #14170f; border-radius: 10px 10px 0 0; padding: 10px 10px 4px 10px; border: 1px solid #2a3320; }
.laptop-screen img { width: 100%; height: auto; border-radius: 3px; display: block; }
.laptop-base { height: 14px; background: linear-gradient(#2a3320,#181d12); border-radius: 0 0 8px 8px; position: relative; }
.laptop-base::after { content:''; position:absolute; left:50%; top:0; transform:translateX(-50%); width:70px; height:5px; background:#0f120b; border-radius:0 0 6px 6px; }

.device.phone {
  position: absolute; right: 0; bottom: -10px; width: 150px;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.45));
}
.phone-frame { background: #14170f; border-radius: 16px; padding: 6px; border: 1px solid #2a3320; }
.phone-frame img { width: 100%; height: auto; border-radius: 11px; display: block; }

.hero-wave { position: relative; display: block; width: 100%; height: 60px; }

/* ============ TICKER ============ */
.ticker-wrap {
  background: var(--gray-bg); padding: 20px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px; overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto; padding-left: 24px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--gray); white-space: nowrap;
}
.ticker { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; animation: scrollTicker 22s linear infinite; width: max-content; }
.ticker-track span { font-weight: 700; color: var(--green-dark); font-size: 16px; }
@keyframes scrollTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section-dark { max-width: none; background: linear-gradient(180deg, var(--dark) 0%, #26301a 100%); position: relative; overflow: hidden; }
.section-dark > *:not(.net-canvas) { position: relative; z-index: 1; }
.section-dark .net-canvas { opacity: 0.4; }
.section-tint { max-width: none; background: var(--tint); }
.section-tint > .section-head, .section-tint > .audience-grid { max-width: var(--maxw); margin: 0 auto; }

.section-head { max-width: 680px; margin: 0 auto 56px auto; text-align: center; }
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-lead { font-size: 17px; color: var(--gray); line-height: 1.6; }
.section-lead.on-dark { color: #cdd8c0; }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(31,38,23,0.08); border-color: transparent; }
.feature-card .icn { width: 34px; height: 34px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--gray); line-height: 1.5; }

/* ============ SHOWCASE ============ */
.showcase-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  background: rgba(255,255,255,0.08); color: #dbe6cd; border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 22px; border-radius: 30px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tab-btn:hover { background: rgba(255,255,255,0.16); }
.tab-btn.is-active { background: var(--green); color: #fff; border-color: transparent; }

.showcase-frame {
  max-width: 980px; margin: 0 auto; background: #0f130a; border-radius: 14px;
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08);
}
.browser-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #181d12; }
.browser-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #3a4530; display: inline-block; }
.browser-url {
  margin-left: 14px; background: #0f130a; color: #7d8a6c; font-size: 12.5px;
  padding: 5px 16px; border-radius: 20px; flex: 1; max-width: 260px;
}
.showcase-shots { position: relative; background: #fff; }
.shot { display: none; width: 100%; height: auto; cursor: zoom-in; }
.shot.is-active { display: block; animation: fadeShot .4s ease; }
@keyframes fadeShot { from { opacity: 0; } to { opacity: 1; } }
.zoom-hint { display: none; text-align: center; color: #9fae8c; font-size: 13px; margin: 14px 0 0 0; }

/* ============ LIGHTBOX (Tap-to-Zoom für Screenshots) ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,7,0.92);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); cursor: zoom-out; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============ MOBILE SECTION ============ */
.mobile-wrap { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.mobile-text { flex: 1 1 400px; min-width: 300px; }
.mobile-text h2 { font-size: 34px; margin-bottom: 16px; }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; font-size: 15px; color: var(--dark); font-weight: 700; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 12px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.mobile-shots { flex: 1 1 420px; min-width: 320px; display: flex; justify-content: center; gap: 18px; }
.mobile-shots .phone-frame { width: 150px; box-shadow: 0 20px 40px rgba(31,38,23,0.18); }
.mobile-shots .p1 { margin-top: 40px; }
.mobile-shots .p3 { margin-top: 40px; }

/* ============ AUDIENCE ============ */
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.audience-card {
  background: #fff; border-radius: 14px; padding: 26px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-weight: 700; color: var(--dark); font-size: 14.5px;
  transition: transform .2s ease;
}
.audience-card:hover { transform: translateY(-4px); }
.icn2 { width: 30px; height: 30px; }

/* ============ CTA ============ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #17200f 0%, #33461f 55%, #3d5127 100%);
  padding: 90px 24px;
}
.cta-inner {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.cta-left h2 { font-size: 40px; margin-bottom: 14px; }
.cta-left .section-lead { max-width: 440px; margin: 0 auto 28px auto; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: #cdd8c0; padding: 60px 24px 0 24px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; gap: 50px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: #94a184; }
.footer-contact { flex: 1 1 240px; font-size: 14.5px; line-height: 1.9; }
.footer-contact a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 20px 0; font-size: 13px; color: #7d8a6c; text-align: center; }
.footer-bottom a:hover { color: #fff; }

/* ============ RECHTLICHES (Impressum & Datenschutz) ============ */
.legal-hero { background: var(--dark); padding: 150px 24px 50px 24px; }
.legal-hero h1 { color: #fff; font-size: 38px; }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px 24px; }
.legal-wrap h2 { font-size: 22px; margin: 40px 0 14px 0; color: var(--dark); }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { margin-bottom: 16px; line-height: 1.7; color: #3a4030; }
.legal-wrap address { font-style: normal; line-height: 1.7; }
.legal-wrap a { color: var(--green-dark); text-decoration: underline; }
.legal-back { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--green-dark); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { font-size: 42px; }
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .header-inner.is-open .main-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding-top: 120px; }
  .hero-inner { padding-bottom: 60px; }
  .hero-devices { height: 300px; margin-top: 30px; }
  .device.laptop { width: 100%; }
  .section { padding: 70px 20px; }
  .section-head h2 { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-shots .p1, .mobile-shots .p3 { margin-top: 0; }
  .mobile-shots .phone-frame:nth-child(2) { display: none; }
  .zoom-hint { display: block; }
}
