:root{
  --red-metal: #b30000;
  --red-acc: #ff2a2a;
  --text-light: #f3f6f8;
  --muted: #b0b0b0;
  --bg-overlay: rgba(0,0,0,0.35);
  --maxw: 1200px;
  --radius: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}

/* Reset / base */
*{ box-sizing: border-box; margin:0; padding:0; }
html,body{ height:100%; width:100%; overflow-x:hidden; }
body{
  color:var(--text-light);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  scroll-behavior: smooth;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(22,0,0,0.45) 50%, rgba(0,0,0,0.9) 100%),
    url("https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?w=1920&q=80");
  background-size: cover;
  background-position: center 0px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

/* Red gloss overlay */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 10% 10%, rgba(179,0,0,0.18), transparent 25%),
    radial-gradient(circle at 90% 85%, rgba(179,0,0,0.10), transparent 20%);
  mix-blend-mode: screen;
}

/* Header */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 28px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--red-metal);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text-light); }
.badge{ background:var(--red-metal); color:#000; font-weight:800; padding:6px 10px; display:inline-block; }
.name{ font-weight:800; font-size:18px; }

.nav{ display:flex; align-items:center; gap:12px; }
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  padding:6px 8px;
  border-bottom:2px solid transparent;
}
.nav a:hover{ color:var(--text-light); border-color:var(--red-metal); }
.cta{
  background:var(--red-metal);
  color:#000;
  padding:8px 12px;
  font-weight:800;
  text-decoration:none;
}

/* Main container (content loaded into #content) */
main#content{ position:relative; z-index:10; }

/* Section base: ensure children centered by using .container wrapper */
section{
  min-height:100vh;
  padding:120px 20px 80px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.12));
}
.section-container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  text-align:center;
}

/* Headings & text */
h1,h2,h3{ font-weight:800; margin-bottom:12px; line-height:1.08; }
h1{ font-size:44px; color:var(--text-light); }
h2{ font-size:32px; color:var(--text-light); }
p{ color:var(--muted); margin:0 auto 10px; max-width:820px; }

/* Grid / Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  align-items:stretch;
  justify-items:center;
  margin-top:28px;
}

.card{
  width:100%;
  max-width:360px;
  background: rgba(8,8,8,0.62);
  border: 2px solid var(--red-metal);
  padding:26px;
  text-align:center;
  color:var(--text-light);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.55);
}
.card:hover{ transform:translateY(-6px); background: rgba(179,0,0,0.08); }

/* Small UI elements */
.benefits{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:18px; }
.benefit-pill{
  border:2px solid var(--red-metal);
  padding:12px 18px;
  font-weight:700;
  text-transform:uppercase;
  color:var(--text-light);
  background: rgba(20,0,0,0.35);
}

/* Steps */
.steps{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin-top:20px; }
.step{ flex:1 1 220px; max-width:300px; border:2px solid var(--red-metal); padding:18px; background: rgba(8,8,8,0.6); }
.step .num{ display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; background:var(--red-metal); color:#000; font-weight:800; margin-bottom:8px; }

/* Konfigurator box */
#tuning-configurator{
  width:100%;
  margin:28px auto 0;
  padding:28px;
  background: rgba(8,8,8,0.65);
  border:2px dashed var(--red-metal);
  box-shadow: 0 10px 30px rgba(179,0,0,0.08);
  max-width:920px;
}

/* Footer */
footer{
  padding:22px 16px;
  text-align:center;
  color:var(--muted);
  border-top:2px solid var(--red-metal);
  background: rgba(0,0,0,0.75);
}

/* Visibility helper for animation */
.visible{ opacity:1 !important; transform:none !important; transition:all .6s ease; }
.card, .benefit-pill, .step{ opacity:0; transform:translateY(22px); }

/* Responsive tweaks */
@media (max-width:880px){
  header{ padding:12px 18px; }
  h1{ font-size:34px; }
  .nav{ flex-wrap:wrap; gap:8px; justify-content:center; width:100%; }
  header{ flex-direction:column; align-items:center; gap:10px; }
  section{ padding:100px 14px 60px; }
}
