/* =========================================================
   TRACTOR PULLING - style.css
   Clean Full Version
   ========================================================= */

/* =========================
   Variablen
   ========================= */
:root{
  --bg: #0b0f14;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --accent: #5efc8d;
  --accent2: #7aa2ff;
  --danger: #ff5d5d;
  --ok: #5efc8d;

  --radius: 18px;
  --radius2: 26px;

  --max: 1160px;
  --navH: 74px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

body[data-theme="light"]{
  --bg: #f6f8fb;
  --card: rgba(17,24,39,.06);
  --card2: rgba(17,24,39,.10);
  --text: rgba(17,24,39,.92);
  --muted: rgba(17,24,39,.70);
  --muted2: rgba(17,24,39,.55);
  --border: rgba(17,24,39,.14);
  --shadow: 0 18px 60px rgba(17,24,39,.18);
  --accent: #16a34a;
  --accent2: #2563eb;
}

/* =========================
   Reset
   ========================= */
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;

  background:
    linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.88)),
    url("Logos/TTV_Logo_Transparent.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="light"]{
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    url("Logos/TTV_Logo_Transparent.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

/* =========================
   Layout
   ========================= */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

section{
  padding:54px 0;
}

.grid2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

/* =========================
   Grundelemente
   ========================= */
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  overflow:hidden;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .card{
  background:rgba(255,255,255,.55);
}

.cardPad{
  padding:18px;
}

.muted{
  color:var(--muted);
}

.muted2{
  color:var(--muted2);
}

.divider{
  height:1px;
  background:var(--border);
  margin:12px 0;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  color:var(--text);
  box-shadow:0 10px 30px rgba(0,0,0,.20);
  cursor:pointer;
  transition:.18s transform, .18s filter, .18s background;
  user-select:none;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.btn:active{
  transform:translateY(0);
  filter:brightness(0.98);
}

.btn.primary{
  border-color:rgba(94,252,141,.45);
  background:linear-gradient(180deg, rgba(94,252,141,.22), rgba(94,252,141,.10));
}

.btn.ghost{
  background:transparent;
  box-shadow:none;
}

/* =========================
   Chips / Badges
   ========================= */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .chip{
  background:rgba(255,255,255,.55);
}

.badge{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  white-space:nowrap;
}

.badge.live{
  border-color:rgba(255,93,93,.40);
  color:rgba(255,93,93,.95);
  background:rgba(255,93,93,.10);
}

.badge.soldout{
  border-color:rgba(255,93,93,.35);
  color:rgba(255,93,93,.95);
  background:rgba(255,93,93,.08);
}

.badge.open{
  border-color:rgba(94,252,141,.35);
  color:rgba(94,252,141,.95);
  background:rgba(94,252,141,.10);
}

.kbd{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  padding:2px 8px;
  border-radius:8px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--muted);
}

/* =========================
   Navigation
   ========================= */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg, rgba(11,15,20,.82), rgba(11,15,20,.56));
  border-bottom:1px solid var(--border);
}

body[data-theme="light"] .nav{
  background:linear-gradient(180deg, rgba(246,248,251,.82), rgba(246,248,251,.56));
}

.navInner{
  height:var(--navH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:200px;
}

.logo{
  width:80px;
  height:70px;
  border-radius:14px;
  border:1px solid var(--border);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  box-shadow:var(--shadow);
}

.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.brand strong{
  letter-spacing:.3px;
}

.brand small{
  display:block;
  color:var(--muted2);
  font-size:12px;
  margin-top:2px;
}

.navLinks{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  justify-content:center;
}

.navLinks a{
  padding:10px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
  transition:.16s;
  font-size:14px;
}

.navLinks a:hover{
  color:var(--text);
  border-color:var(--border);
  background:rgba(255,255,255,.06);
}

.navActions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:200px;
  justify-content:flex-end;
}

.iconBtn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.16s transform, .16s filter;
}

.iconBtn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

.menuBtn{
  display:none;
}

/* =========================
   Hero
   ========================= */
header.hero{
  padding:34px 0 0;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:18px;
  align-items:stretch;
  padding:18px 0 22px;
}

.heroCard{
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .heroCard{
  background:rgba(255,255,255,.55);
}

.heroCard .pad{
  padding:28px;
}

.heroKicker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(94,252,141,.12);
}

h1{
  margin:0;
  font-size:clamp(30px, 4vw, 54px);
  line-height:1.06;
  letter-spacing:-.8px;
}

.sub{
  margin:14px 0 18px;
  color:var(--muted);
  font-size:16px;
  max-width:62ch;
}

.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.statsRow{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-top:18px;
}

.stat{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .stat{
  background:rgba(255,255,255,.55);
}

.stat b{
  display:block;
  font-size:18px;
}

.stat span{
  color:var(--muted2);
  font-size:13px;
}

/* Next panel */
.nextPanel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}

.nextTop{
  padding:22px 22px 8px;
}

.nextTop h2{
  margin:0;
  font-size:18px;
  letter-spacing:.2px;
}

.nextMeta{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.countdown{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
  padding:0 22px 18px;
}

.timeBox{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 10px;
  text-align:center;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .timeBox{
  background:rgba(255,255,255,.55);
}

.timeBox .num{
  font-size:22px;
  font-weight:800;
}

.timeBox .lab{
  font-size:12px;
  color:var(--muted2);
}

.nextBottom{
  border-top:1px solid var(--border);
  padding:14px 22px 18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

/* =========================
   Section Head
   ========================= */
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.sectionHead h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.2px;
}

.sectionHead p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}

/* =========================
   Events
   ========================= */
.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.input{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--border);
  border-radius:999px;
  min-width:240px;
  padding:10px 12px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .input{
  background:rgba(255,255,255,.55);
}

.input input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  color:var(--text);
  font-size:14px;
}

.select{
  border:1px solid var(--border);
  border-radius:999px;
  outline:none;
  font-size:14px;
  color:var(--text);
  padding:10px 12px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .select{
  background:rgba(255,255,255,.55);
}

#eventGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

#eventGrid .eventCard{
  width:100%;
  min-height:100%;
}

.eventCard{
  display:flex;
  flex-direction:column;
  transition:transform .2s ease;
}

.eventCard:hover{
  transform:translateY(-4px);
}

.eventTop{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}

.eventTitle{
  margin:10px 0 6px;
  font-size:18px;
}

.eventMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 14px;
}

.eventMeta .chip{
  font-size:12px;
}

.eventActions{
  display:flex;
  gap:10px;
  margin-top:auto;
  flex-wrap:wrap;
}

.price{
  font-weight:800;
  letter-spacing:.2px;
}

/* =========================
   Gallery
   ========================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

#galleryGrid .gridGalleryCard{
  width:100%;
  min-height:320px;
}

.gridGalleryCard{
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:transform .2s ease;
  background:rgba(0,0,0,.45);
}

.gridGalleryCard:hover{
  transform:translateY(-4px);
}

.galleryImg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gridGalleryCard::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.10));
}

.gridGalleryCard .label{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:2;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

body[data-theme="light"] .gridGalleryCard .label{
  background:rgba(255,255,255,.55);
}

/* =========================
   Pricing
   ========================= */
.pricing{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.priceCard{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.priceCard.highlight{
  border-color:rgba(94,252,141,.45);
  box-shadow:0 18px 70px rgba(94,252,141,.12), var(--shadow);
  transform:translateY(-2px);
}

.priceCard .top{
  padding:20px 18px 14px;
}

.priceCard h3{
  margin:0;
  font-size:18px;
}

.priceBig{
  font-size:34px;
  font-weight:900;
  margin:10px 0 6px;
  letter-spacing:-.6px;
}

.ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.ul li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
  font-size:14px;
}

.tick{
  width:18px;
  height:18px;
  border-radius:6px;
  border:1px solid rgba(94,252,141,.45);
  background:rgba(94,252,141,.12);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  margin-top:2px;
}

/* =========================
   FAQ
   ========================= */
details{
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] details{
  background:rgba(255,255,255,.55);
}

details summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:700;
}

details summary::-webkit-details-marker{
  display:none;
}

details p{
  margin:10px 0 0;
  color:var(--muted);
}

.chev{
  transition:.18s transform;
}

details[open] .chev{
  transform:rotate(180deg);
}

/* =========================
   Contact
   ========================= */
form{
  display:grid;
  gap:10px;
}

.field{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body[data-theme="light"] .field{
  background:rgba(255,255,255,.55);
}

input,
textarea{
  width:100%;
  border:0;
  background:transparent;
  outline:none;
  color:var(--text);
  font-size:14px;
  font-family:inherit;
}

textarea{
  min-height:120px;
  resize:vertical;
}

/* =========================
   Toast
   ========================= */
.toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  max-width:360px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.50);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
  display:none;
}

body[data-theme="light"] .toast{
  background:rgba(255,255,255,.78);
}

.toast.show{
  display:block;
  animation:pop .18s ease-out;
}

@keyframes pop{
  from{
    transform:translateY(8px);
    opacity:0;
  }
  to{
    transform:translateY(0);
    opacity:1;
  }
}

/* =========================
   Modal
   ========================= */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  z-index:90;
  padding:20px;
}

.modal.show{
  display:grid;
  place-items:center;
}

.modalCard{
  width:min(980px, 100%);
  border-radius:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}

.modalMedia{
  min-height:360px;
  background:
    radial-gradient(240px 220px at 25% 30%, rgba(94,252,141,.20), transparent 60%),
    radial-gradient(320px 260px at 80% 55%, rgba(122,162,255,.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.modalImage{
  width:100%;
  max-height:80vh;
  object-fit:contain;
  display:block;
}

.modalBar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}

body[data-theme="light"] .modalBar{
  background:rgba(255,255,255,.40);
}

.x{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  display:grid;
  place-items:center;
}

/* =========================
   Footer
   ========================= */
footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  color:var(--muted2);
}

.footerRow{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .heroGrid{
    grid-template-columns:1fr;
  }

  .navLinks{
    display:none;
  }

  .menuBtn{
    display:grid;
  }

  .brand{
    min-width:auto;
  }

  .navActions{
    min-width:auto;
  }

  .grid3,
  #eventGrid,
  .gallery,
  #galleryGrid{
    grid-template-columns:repeat(2, 1fr);
  }

  .pricing{
    grid-template-columns:1fr;
  }

  .statsRow{
    grid-template-columns:1fr 1fr 1fr;
  }
}

@media (max-width: 640px){
  .grid2,
  .grid3,
  #eventGrid,
  .gallery,
  #galleryGrid{
    grid-template-columns:1fr;
  }

  .statsRow{
    grid-template-columns:1fr;
  }

  .input{
    min-width:0;
    width:100%;
  }

  .sectionHead{
    flex-direction:column;
    align-items:flex-start;
  }

  .filters{
    justify-content:flex-start;
  }

  .modalBar{
    flex-direction:column;
    align-items:stretch;
  }
}