/* diveops Landingpage – modernes Dark-Theme, ohne externe Abhängigkeiten. */
:root {
  --bg: #0b1120;
  --bg-2: #0e1728;
  --surface: #121c30;
  --surface-2: #16223a;
  --border: rgba(148, 163, 184, 0.16);
  --text: #e6eaf2;
  --muted: #9aa7bd;
  --accent: #3aa0e0;
  --accent-2: #38bdf8;
  --teal: #2dd4bf;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }

.section { max-width: var(--max); margin: 0 auto; padding: 88px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.center { text-align: center; margin-top: 40px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: .95rem; transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.site-nav .nav-cta { color: var(--text); background: rgba(58,160,224,.16); border: 1px solid rgba(58,160,224,.35); }
.site-nav .nav-cta:hover { background: rgba(58,160,224,.28); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #05121f;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 16px 34px; font-size: 1.1rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 24px 72px; }
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 640px; pointer-events: none;
  background:
    radial-gradient(900px 460px at 50% -6%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(760px 420px at 100% 0%, rgba(45, 212, 191, 0.14), transparent 55%);
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.grad {
  background: linear-gradient(120deg, var(--accent-2), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 680px; margin: 18px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 34px 0 28px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.hero-badges li { position: relative; padding-left: 22px; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.35); box-shadow: 0 16px 40px rgba(2, 8, 20, 0.5); }
.card .ico { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Screenshots */
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.shot {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(2, 8, 20, 0.55); }
.shot img { width: 100%; height: 220px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.shot figcaption { padding: 14px 18px; color: var(--muted); font-size: .92rem; }

/* Kontakt */
.contact { padding-top: 40px; }
.contact-card {
  max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 32px;
  border-radius: 24px; border: 1px solid rgba(56,189,248,.28);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(56,189,248,.14), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.contact-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.contact-card p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { height: 34px; opacity: .9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer-links a { color: var(--muted); font-size: .92rem; transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.copyright { color: #64748b; font-size: .85rem; margin: 0; }

/* Klickbare Screenshots (Button-Reset) + Zoom-Hinweis */
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.shot-open img { display: block; }
.zoom-hint {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(2, 8, 20, 0.6); backdrop-filter: blur(4px);
  font-size: 1rem; opacity: 0; transition: opacity .15s;
}
.shot:hover .zoom-hint, .shot-open:focus-visible .zoom-hint { opacity: 1; }

/* Hervorgehobene Feature-Karte (USP) */
.card-accent { border-color: rgba(56,189,248,.4); background: linear-gradient(180deg, rgba(56,189,248,.08), rgba(255,255,255,.02)); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(2, 8, 20, 0.88); backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1200px, 94vw); text-align: center; }
.lb-figure img { max-width: 100%; max-height: 84vh; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-figure figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.lb-close, .lb-nav {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  color: var(--text); background: rgba(255,255,255,.08); border: 1px solid var(--border);
  border-radius: 999px; transition: background .15s, transform .15s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 560px) {
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
}

/* Rechtstexte (Impressum/Datenschutz) */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 24px 72px; }
.legal h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0 0 8px; }
.legal .lead-sub { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal a { color: #38bdf8; }
.legal .back { display: inline-block; margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.legal .back:hover { color: var(--text); }
.legal address { font-style: normal; color: var(--text); }

@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .section { padding: 64px 20px; }
  .shot img { height: 180px; }
  .legal { padding: 72px 20px 56px; }
}
