/* RESET */

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family: Arial, Helvetica, sans-serif;
background:#ffffff;
color:#111;
line-height:1.6;
}

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}


/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}


/* TOPBAR */

/* FORCE HEADER LAYOUT: logo links, links rechts */
.topbar{
position:fixed;
top:0;
left:0;
right:0;
z-index:100;
padding:18px 40px;
}

.topbar-inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
width:100%;
}

.left{
display:flex;
align-items:center;
gap:20px;
}

.right{
display:flex;
align-items:center;
gap:28px;
margin-left:auto; /* zwingt nach rechts */
}

.logo{
font-weight:900;
text-transform:uppercase;
line-height:1;
color:white;
}

.logo .t1{
font-size:14px;
opacity:0.8;
color:white;
}

.logo .t2{
font-size:32px;
color:white;
}

.logo span{
color:#8bc34a;
}

.search{
background:rgba(0,0,0,0.4);
border:1px solid rgba(255,255,255,0.25);
padding:8px 12px;
border-radius:6px;
display:flex;
align-items:center;
gap:8px;
}

.search input{
background:none;
border:none;
outline:none;
color:white;
}

.navlink{
font-weight:700;
font-size:14px;
text-transform:uppercase;
color:white;
}

.login{
border:1px solid white;
color:white;
}


/* HERO */

.hero{
position:relative;
height:95vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
padding-top: 130px;
}

.hero-bg{
position:absolute;
inset:0;
background-image:url("img/hero.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
z-index:1;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to bottom,
rgba(0,0,0,0.2),
rgba(0,0,0,0.6)
);
z-index:2;
}

.hero-inner{
position:relative;
z-index:3;
max-width:900px;
padding:0 20px;
}

.h1{
font-size:82px;
font-weight:900;
text-transform:uppercase;
line-height:0.95;
letter-spacing:1px;
color:white;
}

.sub{
margin-top:20px;
font-size:22px;
font-weight:700;
letter-spacing:1px;
color:white;
}

.cta{
display:inline-block;
margin-top:30px;
background:white;
color:#c40000;
padding:16px 36px;
border-radius:6px;
font-weight:900;
text-transform:uppercase;
}


/* SECTIONS */

.section{
padding:80px 0;
}

.section h2{
font-size:34px;
margin-bottom:10px;
text-transform:uppercase;
}

.lead{
margin-bottom:30px;
opacity:0.8;
}


/* GRID */

.grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.card{
background:#1a1a1a;
padding:20px;
border-radius:10px;
}

.card h3{
margin-bottom:8px;
}


/* SPLIT PANELS */

.split{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
}

.panel{
background:#1a1a1a;
border-radius:10px;
overflow:hidden;
}

.pimg{
height:240px;
background-size:cover;
background-position:center;
}

.pbody{
padding:20px;
}


/* TABLE */

.table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}

.table th,
.table td{
padding:10px;
border-bottom:1px solid rgba(255,255,255,0.2);
text-align:left;
}


/* PRICING */

.pricing{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.price{
background:#1a1a1a;
padding:30px;
border-radius:10px;
text-align:center;
}

.money{
font-size:40px;
font-weight:900;
margin:15px 0;
}

.list{
list-style:disc;
padding-left:20px;
text-align:left;
}


/* FOOTER */

.footer{
  width:100%;
  display:block;
  background:#0b0b0b;
  padding:26px 20px;
  text-align:center;
  font-size:13px;
  color:rgba(255,255,255,.70);
  margin:0;
}

.footer a{
  color:rgba(255,255,255,.85);
  text-decoration:underline;
}

.footer a:hover{
  color:#fff;
}


/* RESPONSIVE */

@media (max-width:1000px){

.grid{
grid-template-columns:repeat(2,1fr);
}

.pricing{
grid-template-columns:1fr;
}

.split{
grid-template-columns:1fr;
}

.h1{
font-size:48px;
}

.sub{
font-size:16px;
}

.hero{
height:80vh;
}

}

@media (max-width:600px){

.right .navlink{
display:none;
}

.search{
display:none;
}

.h1{
font-size:36px;
}

}
/* COUNTER SECTION (unter dem Hero) */
.counter-wrap{
  background:#fff;
  padding:70px 18px;
}

.counter-inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  align-items:center;
  text-align:center;
}

.counter-item{
  padding:10px 0;
}

.counter-number{
  font-weight:900;
  font-size:96px;
  line-height:1;
  letter-spacing:1px;
  color:#e10000; /* clever-fit-like red */
}

.counter-label{
  margin-top:14px;
  font-weight:900;
  font-size:14px;
  letter-spacing:.6px;
  color:#e10000;
  text-transform:uppercase;
}

/* responsive */
@media (max-width: 900px){
  .counter-inner{ grid-template-columns:1fr; }
  .counter-number{ font-size:78px; }
}

/* ABOUT SECTION (clever-fit style white area) */

/* ABOUT SECTION (clever-fit style white area) */

.about-section{
padding-bottom:20px;
}

.about-container{
max-width:900px;
margin:auto;
text-align:center; /* zentriert gesamten Textblock */
}

.about-title{
font-size:70px;
font-weight:900;
text-transform:uppercase;
color:#e00000;
line-height:0.95;
margin-bottom:40px;
text-align:center;
}

.about-container p{
color:#e00000;
font-size:18px;
line-height:1.8;
margin-bottom:20px;
text-align:center;
}

.about-bold{
font-weight:900;
margin-top:30px;
text-align:center;
}


/* responsive */

@media (max-width:800px){

.about-title{
font-size:42px;
}

.about-container p{
font-size:16px;
}

}

/* ===== HEADER (no search, sticky + scroll state) ===== */

.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;

  padding:18px 28px;
  transition: background .22s ease, backdrop-filter .22s ease, border-color .22s ease, padding .22s ease;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
  border-bottom: 1px solid rgba(255,255,255,0);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  width:100%;
}

/* Logo */
.brand{
  display:flex;
  flex-direction:column;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  color:#fff;
  user-select:none;
}
.brand-top{
  font-size:12px;
  opacity:.9;
  letter-spacing:.6px;
}
.brand-bottom{
  font-size:34px;
  letter-spacing:.4px;
}
.brand-bottom span{
  color:#8bc34a; /* optional */
}

/* Nav */
.topbar-nav{
  display:flex;
  align-items:center;
  gap:34px;
  white-space:nowrap;
}
.topbar-nav a{
  color:#fff;
  font-weight:900;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:uppercase;
  opacity:.92;
}
.topbar-nav a:hover{
  opacity:1;
  text-decoration:underline;
}

/* Right */
.topbar-right{
  display:flex;
  align-items:center;
  gap:16px;
  white-space:nowrap;
}

.burger{
  width:44px;
  height:38px;
  border:none;
  background:transparent;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:0 8px;
  opacity:.95;
}
.burger span{
  height:2px;
  background:rgba(255,255,255,.95);
  border-radius:2px;
  display:block;
}
.burger:hover{opacity:1}

.login-btn{
  display:inline-block;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  padding:10px 14px;
  border-radius:4px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  background:rgba(0,0,0,.18);
}
.login-btn:hover{filter:brightness(1.05)}

/* Scroll state (wie original: solid bar) */
.topbar.is-solid{
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding:12px 28px; /* etwas kompakter beim Scroll */
}

.mobilemenu{
  display:none;
  position:fixed;
  top:72px;
  left:0;
  right:0;

  /* WICHTIG: deckend + klar */
  background: rgba(0,0,0,0.96);
  color:#fff;

  border-top:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);

  padding:14px 18px;
  z-index:99999; /* über hero overlay */

  /* optional nice */
  backdrop-filter: blur(8px);
}

.mobilemenu.active{
  display:block;
}

.mobilemenu a{
  display:block;
  padding:14px 8px;
  color:#fff !important;
  font-weight:900;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:uppercase;

  border-top:1px solid rgba(255,255,255,.10);
  opacity:1 !important; /* NICHT ausblassen */
}

.mobilemenu a:first-child{
  border-top:none;
}

/* Responsive */
@media (max-width: 820px){
  .topbar-nav{display:none} /* wie beim Original: Nav weg, Burger bleibt */
}

@media (max-width: 560px){
  .login-btn{padding:10px 10px}
}

/* JOIN / WHY CLEVER-SHIT */

.join-section{
position:relative;
height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

.join-bg{
  position:absolute;
  inset:0;
  background-image:url("img/join.jpg"); /* WICHTIG: relativ zu assets/site.css */
  background-size:cover;
  background-position:center;
  z-index:1;
}

.join-section::after{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,0.35);
z-index:2;
}

.join-inner{
position:relative;
z-index:3;
max-width:800px;
color:white;
}

.join-title{
font-size:64px;
font-weight:900;
text-transform:uppercase;
line-height:1;
margin-bottom:40px;
}

.join-steps{
font-size:22px;
font-weight:700;
line-height:2;
margin-bottom:40px;
}

.join-btn{
display:inline-block;
background:white;
color:#e00000;
padding:16px 36px;
border-radius:6px;
font-weight:900;
text-transform:uppercase;
}

/* mobile */

@media (max-width:800px){

.join-title{
font-size:40px;
}

.join-steps{
font-size:18px;
}

}

/* FEATURE GRID */

.features{
padding:30px 40px 80px 40px;
background:white;
}

.features-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.feature-card{
position:relative;
height:360px;
border-radius:10px;
overflow:hidden;
cursor:pointer;
}

.feature-bg{
position:absolute;
inset:0;
background-size:cover;
background-position:center;
transition:transform .4s ease;
}

.feature-card:hover .feature-bg{
transform:scale(1.08);
}

.feature-card::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to top,
rgba(0,0,0,.8),
rgba(0,0,0,.1)
);
}

.feature-content{
position:absolute;
bottom:20px;
left:20px;
right:20px;
color:white;
z-index:2;
}

.feature-content h3{
font-size:28px;
font-weight:900;
margin-bottom:8px;
}

.feature-content p{
font-size:14px;
opacity:.9;
}

/* responsive */

@media (max-width:1200px){
.features-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:700px){
.features-grid{
grid-template-columns:1fr;
margin-top:10px;
}
}

.features-title{
margin-top:0;
margin-bottom:20px;
}

footer.footer{
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* MOBILE: Burger immer sichtbar, Nav aus */
@media (max-width: 820px){
  .topbar-nav{ display:none !important; }     /* Nav weg */
  .burger{ display:flex !important; }        /* Burger AN */
}

/* Sehr klein: Login optional ausblenden (damit Burger Platz hat) */
@media (max-width: 520px){
  .login-btn{ display:none !important; }     /* optional */
}

.topbar{
  z-index: 9999 !important;
}
.topbar-right{
  position:relative;
  z-index: 10000 !important;
}

/* --- MOBILE BURGER FIX --- */
.burger{ display:flex !important; }

@media (max-width: 820px){
  .topbar-nav{ display:none !important; }
}

@media (max-width: 520px){
  .login-btn{ display:none !important; } /* damit Burger/Logo Platz haben */
}

.mobilemenu.active{
  display:block;
}

/* =========================
   MOBILE HEADER HARD FIX
   ========================= */

@media (max-width: 820px){
  /* Header immer oben und klickbar */
  .topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:100000 !important;
  }

  /* Desktop Nav aus */
  .topbar-nav{
    display:none !important;
  }

  /* Burger IMMER sichtbar */
  #burger,
  .burger{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  /* Damit Burger nicht hinter irgendwas liegt */
  .topbar-right{
    position:relative !important;
    z-index:100001 !important;
  }

  /* Login optional aus, damit Platz ist */
  .login-btn{
    display:none !important;
  }
}
/* ===== iOS FIX: Burger sichtbar machen ===== */
.burger{
  -webkit-appearance:none;
  appearance:none;
  background:rgba(0,0,0,.22);     /* leichter Hintergrund, damit man ihn sieht */
  border:1px solid rgba(255,255,255,.35);
  border-radius:6px;
}

.burger span{
  display:block !important;
  height:3px !important;          /* dicker, iOS-sicher */
  width:100% !important;
  background:#fff !important;     /* garantiert weiß */
  border-radius:3px !important;
  opacity:1 !important;
}

/* falls irgendwo opacity/filters auf dem Header liegen */
.topbar-right,
.burger{
  opacity:1 !important;
  filter:none !important;
}