/* =========================================================
   GLOBAL RESET & VARIABLES
   ========================================================= */
* {
  box-sizing: border-box;
}

:root {
  --bg: #0b0b0f;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.035);
  --stroke: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.76);
  --red: #8b0000;
  --soft: rgba(255,255,255,0.88);
  --soft2: rgba(255,255,255,0.80);

  /* Konfigurator */
  --cfg-panel: rgba(255,255,255,0.07);
  --cfg-panel2: rgba(255,255,255,0.03);
  --cfg-stroke: rgba(255,255,255,0.10);
  --cfg-soft: rgba(255,255,255,0.88);
  --cfg-soft2: rgba(255,255,255,0.78);
  --cfg-red: #8b0000;

  /* Widget */
  --turbroos-red: #960000;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   PAGE TRANSITION
   ========================================================= */
main {
  animation: pageFade 220ms ease-out both;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 64px 0;
}

.muted {
  color: var(--soft2);
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.55));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  height: 34px;
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav a {
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--soft);
  transition: 180ms ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.06);
}

.nav a.active {
  background: rgba(139, 0, 0, 0.25);
  border: 1px solid rgba(139, 0, 0, 0.55);
  color: #ffffff !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary,
.btn-ghost {
  padding: 16px 22px;
  border-radius: 16px;
  font-weight: 900;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 180ms ease;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 0 36px rgba(139,0,0,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--soft);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

/* =========================================================
   HOME – HERO GALLERY
   ========================================================= */
.home-gallery {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 50px rgba(0,0,0,0.55);
  animation: floatSoft 8s ease-in-out infinite;
}

.home-gallery img:nth-child(2) {
  animation-delay: 1.4s;
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* =========================================================
   HOME – ANGEBOT (NEUE VERSION)
   ========================================================= */
.hero-offer {
  margin-top: 32px;
  max-width: 760px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(150,0,0,0.18);
  border: 1px solid rgba(150,0,0,0.45);
  box-shadow: 0 0 60px rgba(150,0,0,0.35);
  backdrop-filter: blur(6px);
}

.hero-offer-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(150,0,0,0.35);
  border: 1px solid rgba(150,0,0,0.55);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-offer-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.hero-offer-title {
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-offer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.hero-price.hot {
  font-weight: 900;
  color: #fff;
  background: rgba(150,0,0,0.55);
  border: 1px solid rgba(150,0,0,0.75);
  padding: 3px 10px;
  border-radius: 8px;
}

.hero-price.old {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(150,0,0,0.85);
}

.hero-offer-valid {
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =========================================================
   ABOUT / LEGAL
   ========================================================= */
.page-title {
  margin: 0 0 10px;
}

.rule {
  height: 1px;
  background: rgba(255,255,255,0.10);
  border: 0;
  margin: 18px 0 26px;
}

.readable {
  max-width: 880px;
  line-height: 1.7;
  color: var(--soft);
}

.legal-block {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--stroke);
}

.legal-block h2,
.legal-block h3 {
  margin: 0 0 10px;
}

.legal-block p,
.legal-block li {
  color: var(--soft);
  line-height: 1.7;
}

/* =========================================================
   KONFIGURATOR
   ========================================================= */
.page-configurator #ecuCalculateTool {
  min-height: 260px;
  color: var(--soft) !important;
}

.ecu-frame {
  width: 100%;
  max-width: 1100px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 70px rgba(0,0,0,0.7);
  overflow: visible;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.9));
  color: var(--soft);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  position: relative;
  padding: 0 6px;
  color: var(--soft) !important;
}

.footer-links a:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #777;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #8b0000;
  transition: width 0.25s ease;
}

.footer-links a:hover::before {
  width: 100%;
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25D366;
  color: #000;
  font-weight: 900;
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: 0 0 38px rgba(0,0,0,0.6);
  z-index: 60;
}

/* =========================================================
   MOBILE OPTIMIZATION
   ========================================================= */
@media (max-width: 920px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }
  .home-gallery img {
    height: 240px;
  }
}

@media (max-width: 820px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }

  .nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 520px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 14px 18px;
  }
}

/* =========================================================
   XREMOVER WIDGET FIXES
   ========================================================= */
#ecuCalculateTool {
  background: #000 !important;
}

#ecuCalculateTool [style*="background:#fff"],
#ecuCalculateTool [style*="background-color:#fff"],
#ecuCalculateTool > div {
  background: #000 !important;
}

#ecuCalculateTool .difference,
#ecuCalculateTool .diff,
#ecuCalculateTool [class*="diff"],
#ecuCalculateTool [style*="color: rgb(0,"] {
  color: var(--turbroos-red) !important;
}

@media (max-width: 820px) {
  #ecuCalculateTool {
    min-width: 980px;
    max-width: none !important;
  }
}

/* ================= HERO – ZENTRIERT (FINAL) ================= */

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-offer {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   HERO – ANGEBOTSBOX (ZENTRIERT + MOBILE FIX)
   ========================================================= */

.hero-offer {
  margin-top: 32px;
  max-width: 760px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(150,0,0,0.18);
  border: 1px solid rgba(150,0,0,0.45);
  box-shadow: 0 0 60px rgba(150,0,0,0.35);
  backdrop-filter: blur(6px);
  text-align: center;                 /* <<< WICHTIG: kompletter Inhalt zentriert */
}

.hero-offer-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(150,0,0,0.35);
  border: 1px solid rgba(150,0,0,0.55);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-offer-lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;                /* <<< WICHTIG: jede Zeile mittig */
}

.hero-offer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;            /* <<< WICHTIG: Preise + Titel mittig */
  align-items: baseline;
  width: 100%;
}

.hero-offer-title {
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-price.hot {
  font-weight: 900;
  color: #fff;
  background: rgba(150,0,0,0.55);
  border: 1px solid rgba(150,0,0,0.75);
  padding: 3px 10px;
  border-radius: 8px;
}

.hero-price.old {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(150,0,0,0.85);
}

.hero-offer-valid {
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* MOBILE FIX: Preise nicht mehr unten links verloren */
@media (max-width: 560px) {
  .hero-offer-line {
    flex-direction: column;           /* <<< Preise untereinander */
    gap: 6px;
  }

  .hero-price.hot,
  .hero-price.old {
    display: inline-block;
    margin: 0 auto;                   /* <<< Preise mittig */
  }
}

/* =========================================================
   HERO – ANGEBOTSBOX (FINAL FIX – ZENTRIERT + MOBILE)
   ========================================================= */

.hero-offer {
  margin-top: 32px;
  max-width: 760px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(150,0,0,0.18);
  border: 1px solid rgba(150,0,0,0.45);
  box-shadow: 0 0 60px rgba(150,0,0,0.35);
  backdrop-filter: blur(6px);
  text-align: center; /* GANZE BOX ZENTRIERT */
  margin-left: auto;
  margin-right: auto;
}

.hero-offer-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(150,0,0,0.35);
  border: 1px solid rgba(150,0,0,0.55);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-offer-lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center; /* ZEILEN ZENTRIERT */
  width: 100%;
}

.hero-offer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* INHALT ZENTRIERT */
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.hero-offer-title {
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-price.hot {
  font-weight: 900;
  color: #fff;
  background: rgba(150,0,0,0.55);
  border: 1px solid rgba(150,0,0,0.75);
  padding: 3px 10px;
  border-radius: 8px;
}

.hero-price.old {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(150,0,0,0.85);
}

/* MOBILE FIX – PREISE NICHT MEHR LINKS UNTEN */
@media (max-width: 560px) {

  .hero-offer-line {
    flex-direction: column; /* PREISE UNTEREINANDER */
    gap: 6px;
  }

  .hero-price.hot,
  .hero-price.old {
    margin: 0 auto; /* PREISE ZENTRIERT */
    display: inline-block;
  }
}

/* =========================================================
   GLOBALER FIX – NAVIGATION NICHT ZENTRIEREN
   ========================================================= */

.header-inner {
  justify-content: space-between !important;
}

.nav {
  justify-content: flex-start !important;
  text-align: left !important;
}

.nav a {
  text-align: left !important;
}
/* =========================================================
   GLOBALER FIX – HEADER NICHT VOM SEITENLAYOUT ZENTRIEREN
   ========================================================= */

/* Header immer links/rechts ausrichten */
.site-header,
.header-inner,
.nav {
  text-align: left !important;
}

.header-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Navigation immer links starten */
.nav {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 26px !important;
}

/* WICHTIG: Konfigurator darf NICHT den Header zentrieren */
.page-configurator .site-header,
.page-configurator .header-inner,
.page-configurator .nav {
  text-align: left !important;
  justify-content: space-between !important;
}


/* =========================================================
   FIX – Leistungsdiagramm wieder sichtbar machen
   ========================================================= */

#ecuCalculateTool canvas {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#ecuCalculateTool .chart,
#ecuCalculateTool [class*="chart"],
#ecuCalculateTool [id*="chart"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* =========================================================
   FIX – Widget darf nicht gequetscht werden
   ========================================================= */

#ecuCalculateTool {
  width: 100% !important;
  max-width: 1100px !important;
  overflow: visible !important;
}

#ecuCalculateTool canvas {
  max-width: 100% !important;
}

.testimonial-slider {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: #111;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.testimonial-slider h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    color: #ffcc00;
}

.slider-container {
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.slide span {
    font-size: 0.9rem;
    color: #ccc;
}

.slider-buttons {
    margin-top: 20px;
}

.slider-buttons button {
    background: #ffcc00;
    border: none;
    padding: 10px 18px;
    margin: 0 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
}

.slider-buttons button:hover {
    background: #e6b800;
}
/* ===================== ULTRADÜNNER REVIEW SLIDER ===================== */

.thin-review-slider {
    width: 100%;
    overflow: hidden;
    margin: 40px 0 10px 0;
}

.thin-slider-track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: slide-left 25s linear infinite;
}

.thin-slide {
    font-size: 1rem;
    color: #e0e0e0;
    opacity: 0.85;
}

.thin-slide:hover {
    opacity: 1;
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
/* Titel über dem dünnen Slider */
.thin-review-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-top: 60px;
  margin-bottom: 10px;
  color: #888; /* heller */
  letter-spacing: 0.5px;
}

/* MOBILE ANPASSUNG */
@media (max-width: 600px) {
  .thin-review-title {
    font-size: 14px; /* kleiner */
    color: #aaa;     /* noch heller */
    margin-top: 40px;
  }

  /* Slider schneller */
  .thin-slider-track {
    animation-duration: 25s !important;
  }
}
/* ENDLOS-SLIDER FIX */
.thin-review-slider {
  overflow: hidden;
  white-space: nowrap;
}

.thin-slider-track {
  display: inline-flex;
  animation: slide 25s linear infinite;
}

.thin-slide {
  padding: 0 40px;
  font-size: 15px;
  white-space: nowrap;
}

/* Animation */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MOBILE: schneller */
@media (max-width: 600px) {
  .thin-slider-track {
    animation-duration: 18s !important;
  }
}

/* FIX: Ruckelfreier Endlos-Slider */
.thin-review-slider {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.thin-slider-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
}

.thin-slide {
  display: inline-block;
  padding: 0 40px;
  font-size: 15px;
  white-space: nowrap;
}

/* Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MOBILE */
@media (max-width: 600px) {
  .thin-slide {
    font-size: 13px;
    padding: 0 25px;
  }

  .thin-slider-track {
    animation-duration: 25s !important;
  }
}
/* RUCKELFREIER ENDLOS-SLIDER – LANGSAMER GEMACHT */
.thin-review-slider {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.thin-slider-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite; /* DESKTOP LANGSAMER */
  white-space: nowrap;
}

.thin-slide {
  display: inline-block;
  padding: 0 40px;
  font-size: 15px;
  white-space: nowrap;
}

/* Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MOBILE LANGSAMER */
@media (max-width: 600px) {
  .thin-slide {
    font-size: 13px;
    padding: 0 25px;
  }

  .thin-slider-track {
    animation-duration: 40s !important; /* MOBILE LANGSAMER */
  }
}

/* SLIDER WIRKLICH LANGSAMER MACHEN */
.thin-slider-track {
  animation: scroll 60s linear infinite !important; /* Desktop */
}

@media (max-width: 600px) {
  .thin-slider-track {
    animation: scroll 45s linear infinite !important; /* Mobile */
  }
}
/* Mobile Fix für iPhone & kleine Geräte */
@media (max-width: 768px) {
  .ecu-iframe {
    min-height: 2200px !important;
    height: auto !important;
  }
}


