/* TyreSoft WMS – Produktseite. Farben und Schrift wie /src/assets/SCSS/global.scss */
:root {
    --wms-grafit: #1E364D;
    --wms-grafit-2: #2B4965;
    --wms-green: #28C386;
    --wms-green-dark: #008853;
    --wms-tint: #F3FAFF;
    --wms-muted: #8490A1;
    --wms-line: #E3E8EF;
}

.wms-section { padding: 90px 0; background: #fff; }
.wms-section--tint { background: var(--wms-tint); }
.wms-section--dark { background: var(--wms-grafit); color: #fff; }
.wms-section--dark .tit { color: #fff; margin-bottom: 20px; }
.wms-section--dark .subtit { color: var(--wms-green); }
.wms-section .tit { margin-bottom: 50px; }

/* ---------- Hero ---------- */
.wms-hero { text-align: left; padding: 70px 0 90px; background: linear-gradient(180deg, #fff 0%, var(--wms-tint) 100%); }
.wms-hero__text { text-align: left; }
.wms-hero .tit { margin: 10px 0 0; font-size: 40px; line-height: 1.15; }
.wms-hero .desc { font-size: 17px !important; line-height: 1.6; color: var(--wms-grafit); max-width: 540px; margin-top: 20px !important; }
.wms-badge {
    display: inline-block; padding: 4px 12px; margin-bottom: 14px;
    border-radius: 20px; background: rgba(40, 195, 134, .12); color: var(--wms-green-dark);
    font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.wms-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.wms-hl { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.wms-hl li { display: flex; flex-direction: column; max-width: 150px; }
.wms-hl strong { font-size: 24px; font-weight: 800; color: var(--wms-green); line-height: 1.2; }
.wms-hl span { font-size: 13px; color: var(--wms-muted); line-height: 1.4; margin-top: 4px; }

/* ---------- Gerät (CSS-Mockup) ---------- */
.wms-device { position: relative; width: 290px; margin: 40px auto 0; }
.wms-device__body {
    position: relative; background: linear-gradient(160deg, #3a4048, #22262c);
    border-radius: 34px; padding: 34px 14px 46px;
    box-shadow: 0 40px 70px -20px rgba(30, 54, 77, .45), inset 0 0 0 2px rgba(255,255,255,.06);
    transform: rotate(-4deg);
}
.wms-device__body::before, .wms-device__body::after {           /* Scan-Seitentasten */
    content: ''; position: absolute; top: 150px; width: 6px; height: 54px;
    background: var(--wms-green); border-radius: 3px;
}
.wms-device__body::before { left: -5px; }
.wms-device__body::after  { right: -5px; }
.wms-device__scanwin {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 9px; border-radius: 5px; background: #111; box-shadow: inset 0 0 0 2px #444;
}
.wms-device__chin { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 60px; height: 14px; border-radius: 7px; border: 2px solid #4a5058; }
.wms-device__beam {
    position: absolute; top: -70px; left: 50%; width: 120px; height: 90px; transform: translateX(-50%) rotate(-4deg);
    background: linear-gradient(0deg, rgba(232, 64, 64, .35), rgba(232, 64, 64, 0));
    clip-path: polygon(40% 100%, 60% 100%, 100% 0, 0 0);
}
.wms-device__screen { background: #fff; border-radius: 8px; overflow: hidden; font-size: 13px; color: var(--wms-grafit); }
.wms-app__bar { display: flex; justify-content: space-between; padding: 12px 14px; background: var(--wms-grafit); color: #fff; font-weight: 700; }
.wms-app__content { padding: 14px; }
.wms-app__meta { color: var(--wms-muted); font-size: 11px; }
.wms-app__label { margin-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--wms-muted); }
.wms-app__loc { font-size: 34px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.wms-app__ok { margin-top: 6px; padding: 5px 8px; border-radius: 4px; background: rgba(40,195,134,.12); color: var(--wms-green-dark); font-size: 11px; font-weight: 700; }
.wms-app__item { margin-top: 12px; padding: 10px; border: 1px solid var(--wms-line); border-radius: 6px; }
.wms-app__brand { font-weight: 700; }
.wms-app__size { font-size: 18px; font-weight: 800; margin: 2px 0 6px; }
.wms-app__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.wms-app__tags span { font-size: 10px; padding: 2px 6px; border-radius: 3px; background: var(--wms-tint); }
.wms-app__qty { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; color: var(--wms-muted); font-size: 11px; }
.wms-app__qty strong { color: var(--wms-grafit); font-size: 20px; }
.wms-app__btn { margin-top: 12px; padding: 12px; text-align: center; border-radius: 6px; background: var(--wms-green); color: #fff; font-weight: 700; }

/* ---------- Karten ---------- */
.wms-card {
    height: calc(100% - 30px); margin-bottom: 30px; padding: 28px 24px;
    background: #fff; border: 1px solid var(--wms-line); border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.wms-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(30, 54, 77, .25); }
.wms-card__icon {
    width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: rgba(40, 195, 134, .1); color: var(--wms-green); margin-bottom: 18px;
}
.wms-card__title { font-size: 17px; font-weight: 700; color: var(--wms-grafit); margin-bottom: 10px; }
.wms-card__desc { font-size: 14px; line-height: 1.6; color: #55657a; margin: 0; }
.wms-card--stack { text-align: left; }

/* ---------- Reifen-Spezifik ---------- */
.wms-tyre { display: flex; gap: 20px; padding: 26px; margin-bottom: 30px; background: #fff; border-radius: 10px; height: calc(100% - 30px); }
.wms-tyre__num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--wms-grafit); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wms-tyre__title { font-size: 18px; font-weight: 700; color: var(--wms-grafit); margin-bottom: 8px; }
.wms-tyre__desc { font-size: 14px; line-height: 1.6; color: #55657a; margin: 0; }

/* ---------- Prozess ---------- */
.wms-flow { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; position: relative; counter-reset: none; }
.wms-flow::before { content: ''; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--wms-green) 0 10px, transparent 10px 18px); }
.wms-flow__step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wms-flow__num { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--wms-green); color: var(--wms-green); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.wms-flow__name { margin-top: 14px; font-weight: 700; color: var(--wms-grafit); font-size: 15px; }

/* ---------- Kanäle ---------- */
.wms-channels__desc { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.85); }
.wms-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wms-chip { padding: 9px 16px; border-radius: 24px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.wms-chip--main { background: var(--wms-green); border-color: var(--wms-green); color: #fff; }

/* ---------- KP36L ---------- */
.wms-photo { background: var(--wms-tint); border-radius: 16px; padding: 30px; text-align: center; margin-bottom: 30px; }
.wms-photo img { max-width: 100%; max-height: 460px; height: auto; }
.wms-device-desc { font-size: 16px; line-height: 1.7; color: #55657a; margin: 20px 0 26px; }
.wms-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0 0 30px; }
.wms-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wms-line); font-size: 14px; }
.wms-specs dt { font-weight: 500; color: var(--wms-muted); }
.wms-specs dd { margin: 0; font-weight: 600; color: var(--wms-grafit); text-align: right; }
.wms-price { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: 10px; background: var(--wms-tint); }
.wms-price__label { font-size: 13px; color: var(--wms-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.wms-price__value { font-size: 34px; font-weight: 800; color: var(--wms-grafit); line-height: 1.2; }
.wms-price__note { font-size: 12px; color: var(--wms-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .wms-section { padding: 60px 0; }
    .wms-hero .tit { font-size: 30px; }
    .wms-section--dark .tit { margin-bottom: 10px; }
}
@media (max-width: 767px) {
    .wms-specs { grid-template-columns: 1fr; }
    .wms-flow { flex-direction: column; gap: 18px; align-items: flex-start; }
    .wms-flow::before { top: 10px; bottom: 10px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--wms-green) 0 10px, transparent 10px 18px); }
    .wms-flow__step { flex-direction: row; gap: 16px; }
    .wms-flow__name { margin-top: 0; }
    .wms-device { transform: scale(.9); }
}

/* ---------- Hardware (mehrere Geräte) ---------- */
.wms-hw + .wms-hw { margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--wms-line); }
.wms-hw__title { font-size: 28px; font-weight: 800; color: var(--wms-grafit); margin: 0; }
.wms-photo { background: #fff; border: 1px solid var(--wms-line); }
.wms-photo img { max-height: 420px; object-fit: contain; }
.wms-photo { min-height: 340px; display: flex; align-items: center; justify-content: center; }

/* ---------- Kartenstil wie auf tyresoft.eu (profits__card / automation__card) ---------- */
.wms-card,
.wms-tyre,
.wms-photo,
.wms-price {
    border: 1px solid #BAC1CC;
    border-radius: 20px;
    box-shadow: 0 3px 28px rgba(0, 0, 0, .05);
}
.wms-price { background: #fff; }
