* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

:root {
  --apex-home-max: 1520px;
  --apex-home-padding: clamp(16px, 1.9vw, 30px);
}

body {
  background: #f7f7f7;
  overflow-x: clip;
}

.apex-euro-section {
  padding: clamp(72px, 6vw, 110px) 0;
  background: #0b0b0b;
}

.apex-euro-panel {
  width: 100%;
  max-width: var(--apex-home-max);
  margin: 0 auto;
  padding-inline: var(--apex-home-padding);
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0;
}

.apex-euro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(320px, .92fr);
  gap: clamp(24px, 2.3vw, 44px);
  align-items: center;
}

.apex-euro-grid > * {
  min-width: 0;
}

.apex-euro-text h2 {
  font-size: clamp(34px, 2.35vw, 46px);
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fff;
  margin-bottom: 14px;
  white-space: nowrap;
}

.apex-euro-text h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  margin-top: 12px;
  border-radius: 8px;
}

.apex-euro-text p {
  font-size: clamp(15px, 1.05vw, 18px);
  color: #d1d5db;
  line-height: 1.75;
  max-width: 720px;
  margin-top: 18px;
}

.apex-euro-image img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: auto;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.55));
  transition: 0.3s ease;
  transform: none;
}

.apex-euro-image img:hover {
  transform: scale(1.03);
}

.apex-euro-section .gume-badge {
  color: #fff;
}

.apex-euro-filters {
  background: #111;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #262626;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.3s ease;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.apex-euro-filters:hover {
  border-color: #dc2626;
  box-shadow: 0 25px 90px rgba(220, 38, 38, 0.3);
}

.apex-euro-filters select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #262626;
  font-size: 14.5px;
  outline: none;
  transition: 0.2s ease;
  background: #0b0b0b;
  color: #fff;
}

.apex-euro-filters select:hover,
.apex-euro-filters select:focus {
  border-color: #dc2626;
}

.apex-euro-filters button {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  font-weight: 900;
  font-size: 15.5px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
  transition: 0.2s ease;
}

.apex-euro-filters button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(220, 38, 38, 0.5);
}

.apex-benefits {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.apex-brand-mark img {
  max-width: 240px;
  height: auto;
  display: block;
  margin-top: 10px;
}

.apex-benefit {
  background: #111;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #262626;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
}

.apex-benefit:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #dc2626;
  box-shadow:
    0 16px 50px rgba(220, 38, 38, 0.22),
    0 0 22px rgba(220, 38, 38, 0.15);
}

.apex-benefit i {
  font-size: 22px;
  color: #dc2626;
  margin-top: 2px;
}

.apex-benefit strong {
  font-size: 14.5px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 3px;
}

.apex-benefit span {
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.45;
}

.apex-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.apex-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.apex-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  width: min(640px, calc(100vw - 24px));
  min-width: 0;
  max-width: 640px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.apex-modal__close {
  background: transparent;
  border: none;
  font-size: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.apex-modal__list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.apex-modal__list li {
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.apex-modal__empty {
  margin: 0;
  color: #444;
}

.apex-code {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eee;
}

.apex-code__info {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.apex-code__label {
  font-weight: 700;
  color: #111;
}

.apex-code__value {
  color: #d22020;
  font-weight: 800;
}

.apex-code__price {
  color: #111;
}

.apex-code__thumb img {
  width: 80px;
  height: auto;
  border-radius: 6px;
  border: 1px solid #eee;
  object-fit: cover;
}

/* =====================================================
   APEX EURO SECTION – MOBILE OPTIMIZATION (FINAL)
===================================================== */
@media (max-width: 768px) {

  /* ===============================
     SECTION & LAYOUT
  =============================== */
  .apex-euro-section {
    padding: 70px 16px;
  }

  .apex-euro-panel {
    width: 100%;
    padding: 0;
  }

  .apex-euro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  /* ===============================
     TEXT / HERO
  =============================== */
  .apex-euro-text {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Badge */
  .apex-euro-text .gume-badge,
  .apex-euro-text .euro-badge {
    margin: 0 auto 18px;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    letter-spacing: 1px;
  }

  /* Title */
  .apex-euro-text h2 {
    font-size: 28px;
    line-height: 1.25;
    white-space: normal;
    margin-bottom: 16px;
  }

  .apex-euro-text h2::after {
    width: 60px;
    height: 3px;
    margin: 16px auto 0;
  }

  /* Paragraphs */
  .apex-euro-text p {
    font-size: 15px;
    line-height: 1.65;
    color: #d1d5db;
    max-width: 420px;
    margin: 18px auto 0;
  }

  /* ===============================
     IMAGE
  =============================== */
  .apex-euro-image img {
    max-width: 280px;
    margin: 0 auto;
    transform: none;
  }

  .apex-euro-image img:hover {
    transform: none;
  }

  /* ===============================
     FILTER BOX
  =============================== */
  .apex-euro-filters {
    padding: 18px;
    border-radius: 16px;
    max-width: 420px;
    margin: 0 auto;
  }

  .apex-euro-filters button {
    font-size: 15px;
    padding: 15px;
  }

  /* ===============================
     BENEFITS GRID
  =============================== */
  .apex-benefits {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .apex-benefit {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 14px;
    min-height: 130px;

    /* disable desktop animation */
    opacity: 1;
    transform: none;
  }

  .apex-benefit:hover {
    transform: none;
    box-shadow: 0 8px 26px rgba(0,0,0,0.18);
  }

  .apex-benefit i {
    font-size: 26px;
    margin: 0 0 10px;
  }

  .apex-benefit strong {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .apex-benefit span {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* =====================================================
   EXTRA SMALL PHONES
===================================================== */
@media (max-width: 380px) {

  .apex-benefits {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

}

/* ===============================
   SCHEPPACH SECTION
================================ */
.scheppach-section{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:clamp(70px, 5vw, 102px) 0;
  background:
    linear-gradient(90deg, rgba(5,11,18,.94) 0%, rgba(5,11,18,.88) 35%, rgba(5,11,18,.80) 58%, rgba(5,11,18,.82) 100%),
    url('https://scheppach.ba/wp-content/uploads/2024/04/bg-2-1.webp') center center / cover no-repeat;
  isolation:isolate;
}

.scheppach-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,81,136,.22), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(0,81,136,.18), transparent 24%);
  z-index:-1;
  pointer-events:none;
}

.scheppach-section::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  pointer-events:none;
}

.scheppach-container{
  width:100%;
  max-width:var(--apex-home-max);
  margin:0 auto;
  padding-inline: var(--apex-home-padding);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(24px, 2.5vw, 52px);
  align-items:center;
}

.scheppach-left{ max-width:760px; }

.scheppach-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:11px 18px;
  margin-bottom:24px;
  border-radius:999px;
  border:1px solid rgba(0,81,136,.42);
  background:rgba(0,81,136,.16);
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(0,81,136,.18);
}

.scheppach-badge-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#25a0ef;
  box-shadow:0 0 0 7px rgba(37,160,239,.14);
  flex-shrink:0;
}

.scheppach-title{
  font-size:clamp(38px, 5vw, 70px);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.045em;
  margin-bottom:20px;
  color:#fff;
  text-shadow:0 8px 30px rgba(0,0,0,.28);
}

.scheppach-title span{ color:#69c6ff; }

.scheppach-text{
  font-size:clamp(16px, 1.05vw, 20px);
  line-height:1.85;
  color:rgba(255,255,255,.82);
  max-width:720px;
  margin-bottom:28px;
}

.scheppach-features{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:8px;
}

.scheppach-feature{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:14px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  transition:.3s ease;
  backdrop-filter:blur(10px);
  box-shadow:0 14px 35px rgba(0,0,0,.16);
}

.scheppach-feature i{
  font-size:18px;
  color:#69c6ff;
  transition:.3s ease;
}

.scheppach-feature:hover{
  transform:translateY(-4px);
  border-color:rgba(105,198,255,.45);
  background:rgba(0,81,136,.18);
  box-shadow:0 20px 40px rgba(0,0,0,.26);
}

.scheppach-feature:hover i{
  transform:scale(1.08);
  color:#9ddbff;
}

.scheppach-right{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.scheppach-card{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  min-height:clamp(136px, 10vw, 164px);
  padding:clamp(20px, 1.6vw, 28px);
  border-radius:28px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  box-shadow:0 22px 55px rgba(0,0,0,.22);
  transition:.35s ease;
}

.scheppach-card::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:5px;
  border-radius:20px;
  background:linear-gradient(180deg, #25a0ef 0%, #005188 100%);
  box-shadow:0 0 20px rgba(37,160,239,.35);
}

.scheppach-card::after{
  content:"";
  position:absolute;
  right:-60px;
  top:50%;
  transform:translateY(-50%);
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,160,239,.18), rgba(37,160,239,0) 70%);
  transition:.35s ease;
  pointer-events:none;
}

.scheppach-card:hover{
  transform:translateY(-6px);
  border-color:rgba(105,198,255,.34);
  box-shadow:0 28px 65px rgba(0,0,0,.34);
  background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(0,81,136,.11));
}

.scheppach-card:hover::after{
  right:-20px;
  transform:translateY(-50%) scale(1.1);
}

.scheppach-card-left{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:22px;
  min-width:0;
}

.scheppach-card-icon{
  flex-shrink:0;
  width:72px;
  height:72px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:.32s ease;
}

.scheppach-card-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.scheppach-card:hover .scheppach-card-icon{
  transform:none;
  border-color:rgba(255,255,255,.14);
}

.scheppach-card-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.52);
  margin-bottom:8px;
}

.scheppach-card-title{
  font-size:clamp(22px, 1.85vw, 31px);
  line-height:1.14;
  font-weight:850;
  margin-bottom:8px;
  color:#fff;
}

.scheppach-card-text{
  font-size:clamp(14px, .92vw, 16px);
  line-height:1.7;
  color:rgba(255,255,255,.72);
  max-width:440px;
}

.scheppach-card-arrow{
  position:relative;
  z-index:2;
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:20px;
  transition:.3s ease;
}

.scheppach-card:hover .scheppach-card-arrow{
  transform:translateX(5px);
  background:#005188;
  border-color:#25a0ef;
  box-shadow:0 12px 26px rgba(0,81,136,.35);
}

.scheppach-reveal{
  opacity:0;
  transform:translateY(45px);
  transition:opacity .85s ease, transform .85s ease;
}

.scheppach-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

@media (max-width: 1180px){
  .scheppach-container{
    grid-template-columns:1fr;
    gap:30px;
  }

  .scheppach-left{
    max-width:100%;
  }
}

@media (min-width: 1800px) {
  :root {
    --apex-home-max: 1660px;
  }

  .apex-euro-grid {
    grid-template-columns: 30% 35% 35%;
  }
}

@media (max-width: 1280px) {
  .apex-euro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 22px;
  }

  .apex-euro-filters {
    grid-column: 1 / -1;
    max-width: 460px;
    justify-self: center;
  }
}

@media (max-width: 1040px) {
  .apex-euro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .apex-euro-text h2 {
    white-space: normal;
  }

  .apex-euro-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .apex-euro-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px){
  .scheppach-section{
    padding:68px 0;
  }

  .scheppach-container{
    padding-inline:16px;
  }

  .scheppach-title{
    font-size:35px;
  }

  .scheppach-text{
    font-size:16px;
    line-height:1.75;
  }

  .scheppach-features{
    display:grid;
    grid-template-columns:1fr;
  }

  .scheppach-card{
    min-height:auto;
    padding:22px 18px 22px 20px;
    gap:16px;
  }

  .scheppach-card-left{
    gap:14px;
    align-items:flex-start;
  }

  .scheppach-card-icon{
    width:56px;
    height:56px;
    border-radius:14px;
  }

  .scheppach-card-title{
    font-size:21px;
  }

  .scheppach-card-text{
    font-size:14px;
    max-width:100%;
  }

  .scheppach-card-arrow{
    width:44px;
    height:44px;
    font-size:16px;
  }
}
