﻿:root{
  --accent:#f6750b;

  /* Neutral Slate */
  --bg-main:#0b0f14;
  --bg-section:#0f1418;
  --bg-panel:#15181d;
  --bg-panel-soft:#1c2126;

  --border-muted:rgba(246,117,11,0.06);
  --border-strong:rgba(246,117,11,0.12);

  --text-primary:#eef2f3;
  --text-muted:rgba(238,242,243,0.72);

  --shadow-card:0 10px 30px rgba(2,6,10,0.6);
  --shadow-accent:0 8px 30px rgba(246,117,11,0.06);

  --radius-small:8px;
  --radius-medium:14px;
  --radius-large:18px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
}

/* NAVBAR â€” transparent until scroll */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: transparent; /* initially transparent */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 550px;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, padding 180ms ease;
}

/* style when user scrolled */
.navbar.scrolled {
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid var(--border-muted);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  padding: 0 600px; /* optional slight change when sticky */
}

/* keep logo/menu colors unchanged */
.logo, .menu a {
  transition: color 160ms ease, text-shadow 160ms ease;
}

/* Logo â€” stÃ¤rkerer Puls (sichtbarer) */
.logo {
  color: var(--accent);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 8px rgba(246,117,11,0.65),
    0 0 20px rgba(246,117,11,0.45);
  animation: logoPulse 2.8s ease-in-out infinite;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

/* Navbar menu buttons â€” Basisschatten + weiche Transition */
.menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55); /* reiner Textâ€‘Schlagschatten */
  transition: color 280ms ease, text-shadow 280ms ease;
}

/* feine 1px Kontur am unteren Rand der Navbar — erscheint beim Scrollen */
.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;                     /* standard: unsichtbar */
  pointer-events: none;
  z-index: 1001;
  transition: opacity 260ms ease; /* fade-in beim Scroll */
}

/* beim sticky/scrolled Zustand sichtbar machen */
.navbar.scrolled::after {
  opacity: 0.18;                  /* Stärke anpassen nach Geschmack */
}

.menu a:hover,
.menu a:focus {
  color: var(--accent); /* wechselt sanft zur Akzentfarbe */
  text-shadow: 0 8px 28px rgba(246,117,11,0.18); /* akzentuierter Glow */
  outline: none;
}

/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.12), rgba(0,0,0,0.55)),
    url("peakpx.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}

.hero-content {
  text-align: center;
  max-width: 1400px;
}

.hero h1 {
  font-size: 112px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.01em;
  text-shadow: 0 0 28px rgba(246,117,11,0.75);
}

.subtitle {
  font-size: 34px;
  font-weight: 800;
  margin-top: 12px;
  opacity: 0.92;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.hero-description {
  font-size: 18px;
  margin: 18px auto;
  max-width: 900px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Buttons base */
.hero-buttons {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 26px;
}

.btn {
  font-size: 16px;
  padding: 10px 22px;
  border-radius: var(--radius-medium);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.22s ease;
}

.btn.outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn.outline:hover {
  background: var(--accent);
  color: #111;
  box-shadow: var(--shadow-accent);
}

.btn.primary {
  background: var(--accent);
  color: #111;
  border: none;
  box-shadow: var(--shadow-accent);
}
.btn.primary:hover { transform: translateY(-2px); }

/* SECTIONS */
.section {
  padding: 100px 40px;
  background: transparent;
}

.section-title {
  text-align: center;
  margin-bottom: 68px;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 40px;
  font-weight: 600;
}

/* SERVER STATUS: wrapper box */
.server-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-medium);
  padding: 22px;
  max-width: 1250px;
  margin: 20px auto;
  text-align: left;
}

/* Server name (left aligned) */
.server-box .server-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
  opacity: 0.97;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1250px;
  margin: 0;
}

/* Status card */
.status-card {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-soft));
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: var(--radius-medium);
  padding: 18px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.status-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-accent);
}

.status-card .label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.95;
}

.status-card strong {
  font-weight: 400;
  display: block;
  font-size: 20px;
  color: var(--text-primary);
}

/* Hide IP element (if kept in HTML) */
.status-card small#ip { display: none; }

/* INFO BOXES (previous preview area) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: auto;
}

.info-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border-radius: var(--radius-large);
  padding: 35px;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  border: 1px solid var(--border-muted);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.info-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-accent);
}

/* Accent stripe and icon */
.info-box::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), rgba(246,117,11,0.6));
  border-radius: 4px;
  opacity: 0.95;
}
.info-box .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border-radius: 999px;
  background: rgba(246,117,11,0.06);
  color: var(--accent);
  flex-shrink: 0;
}
.info-box .icon svg { width: 28px; height: 28px; display:block; }

.info-box h3 {
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.01em;
}
.info-box p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* WHAT MAKES US SPECIAL (new features section) */
.makes-section {
  background: linear-gradient(180deg, #0b0f14, #0b0f14);
  padding: 72px 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1350px;
  margin: 18px auto 0;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.008));
  border-radius: var(--radius-medium);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  border: 1px solid var(--border-muted);
  min-height: 160px;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--shadow-accent);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(246,117,11,0.06);
  color: var(--accent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.feature-card:hover .icon {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(246,117,11,0.08);
}
.feature-card h3 {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 28px;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}

/* CTA section */
.cta-section {
  background: linear-gradient(180deg, #0b0f14, #0b0f14);
  padding: 56px 40px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(4,8,6,0.78), rgba(2,6,4,0.9));
  border-top: 1px solid rgba(255,255,255,0.02);
  padding: 48px 20px 24px;
  color: var(--text-muted);
  margin-top: 32px;
}
.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-brand { color: var(--accent); margin: 0 0 8px 0; font-size: 16px; letter-spacing: 0.12em; }
.footer-links { list-style: none; padding: 0; margin: 6px 0 0 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: 1150px; margin: 20px auto 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.02); padding-top: 14px; color: rgba(255,255,255,0.6); }

/* Deutlichere Keyframes fÃ¼r das Pulsieren */
@keyframes logoPulse {
  0% {
    text-shadow:
      0 0 6px rgba(246,117,11,0.20),
      0 0 12px rgba(246,117,11,0.10);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 22px rgba(246,117,11,0.95),
      0 0 40px rgba(246,117,11,0.60);
    transform: scale(1.01);
  }
  100% {
    text-shadow:
      0 0 6px rgba(246,117,11,0.20),
      0 0 12px rgba(246,117,11,0.10);
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 84px; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .makes-section { padding: 40px 20px; }
  .cta-section { padding: 36px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .navbar { padding: 0 18px; }
  .hero h1 { font-size: 56px; }
}

/* Hero: smooth enter-from-bottom */
.hero-content {
  transform: translateY(40px);
  opacity: 0;
  will-change: transform, opacity;
}

/* Klasse die bei load gesetzt wird */
.hero-content.enter {
  animation: heroEnter 820ms cubic-bezier(.2,.9,.3,1) 120ms both;
}

/* Keyframes */
@keyframes heroEnter {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hero buttons staggered entrance */
.hero-buttons .btn {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.2,.9,.3,1), opacity 520ms;
  will-change: transform, opacity;
}

.hero-buttons .btn.show {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll focus effect - global settings */
:root {
  --scroll-focus-max-scale: 1.01;   /* max zoom for center */
  --scroll-focus-min-scale: 1;   /* min zoom when leaving */
  --scroll-focus-glow: 0.26;        /* accent shadow strength */
  --scroll-focus-fade-start: 0.85;  /* fraction of viewport after which fade starts */
}

/* Elements that participate - will be toggled by JS with .sf-elt */
.sf-elt {
  will-change: transform, opacity, filter;
  transition: transform 180ms linear, opacity 180ms linear, filter 180ms linear;
  transform-origin: 50% 50%;
}

/* subtle accent shadow when in focus (applied dynamically) */
.sf-in-focus {
  box-shadow: 0 18px 40px rgba(2,8,4,var(--scroll-focus-glow));
}

/* reduced interaction while animating (optional) */
.sf-animating {
  pointer-events: auto;
}

/* Subtiles Scroll-Fokus Styling */
.sf-elt {
  will-change: transform, opacity;
  transition: transform 240ms ease, opacity 240ms ease;
  transform-origin: 50% 50%;
}

.sf-in-focus {
  /* sehr dezenter Akzent-Schatten nur wenn wirklich im Fokus */
  box-shadow: 0 10px 26px rgba(246,117,11,0.05);
}

/* Fix: prevent glow clipping and avoid section transforms interfering */
section, .section, .server-box, .status-grid, .info-grid {
  overflow: visible !important;
}

/* Ensure info/feature cards don't clip their own shadow */
.info-box, .feature-card {
  overflow: visible !important;
}

/* Focused card should render above section borders */
.sf-in-focus {
  position: relative !important;
  z-index: 9999 !important;
  box-shadow: 0 22px 44px rgba(246,117,11,0.06) !important;
}

/* Make sure we only animate intended properties */
.sf-elt { will-change: transform, opacity, box-shadow !important; }


