/* Startseite „Unsere Software“: bisherige Motive in einem Programmfenster, Kacheln kleiner (15.11.2026, Bau tools/software-fenster/bau.py) */
.swf .swf-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 34px; }
.swf .swf-item { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e3e9f2; border-radius: 18px; overflow: hidden; background: #fff; }
.swf .swf-stage { padding: 18px 18px 0; background: linear-gradient(180deg, #f3f6fb 0%, #e8eef7 100%); }
.swf .swf-win { border-radius: 12px 12px 0 0; overflow: hidden; background: #0b1c3d;
  box-shadow: 0 -1px 0 rgba(11,28,61,.06), 0 14px 34px rgba(11,28,61,.28); transition: transform .35s ease; }
@media (hover: hover) { .swf .swf-item:hover .swf-win { transform: translateY(-4px); } }
.swf .swf-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; background: #fff; border-bottom: 1px solid #e3e9f2; }
.swf .swf-bar > i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #ff6159; }
.swf .swf-bar > i:nth-child(2) { background: #ffbd2e; } .swf .swf-bar > i:nth-child(3) { background: #28c941; }
.swf .swf-title { margin-left: 8px; font: 500 10.5px/1 Inter, system-ui, sans-serif; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.swf .swf-title b { color: #fff; font-weight: 700; }

/* Motiv im Fenster: niedriger, ohne eigene Rundung */
.swf .swf-win > .sw-visual { height: 214px !important; aspect-ratio: auto !important; border-radius: 0 !important; margin: 0 !important; box-shadow: none !important; transform: none !important; }
.swf .swf-win > .sw-visual--medmentis { padding: 14px 18px 12px !important; gap: 6px !important; }
.swf .swf-win > .sw-visual--medmentis .sw-brand { font-size: 10.5px !important; letter-spacing: .16em; }
.swf .swf-win > .sw-visual--rmt { padding: 10px 12px 8px !important; }
.swf .swf-win > .sw-visual--bs { padding: 12px 16px 10px !important; }

.swf .swf-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.swf .swf-body h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; }
.swf .swf-body h3 .name-alias { font-size: 15px; margin-top: 2px; }
.swf .swf-body p { font-size: 15px; line-height: 1.5; color: #54657f; margin: 0 0 14px; }
.swf .swf-body .sw-link { margin-top: auto; }

/* Tablet: wischen */
@media (max-width: 1100px) {
  .swf .swf-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding: 2px 24px 4px; scroll-padding: 0 24px; }
  .swf .swf-rail::-webkit-scrollbar { display: none; }
  .swf .swf-item { flex: 0 0 360px; scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .swf .swf-rail { gap: 14px; margin-bottom: 26px; }
  .swf .swf-item { flex-basis: min(82vw, 330px); }
  .swf .swf-stage { padding: 14px 14px 0; }
  .swf .swf-win > .sw-visual { height: 196px !important; }
  .swf .swf-body { padding: 16px 18px 18px; }
  .swf .swf-body h3 { font-size: 18px; }
  .swf .sw-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Handy: direkt nach „Lagebild SOC“ (#defense-engine hat order 8 aus pakete.css; gleicher Wert, DOM-Folge entscheidet) */
@media (max-width: 767px) {
  body.is-home>#main>#loesungen, body.is-home>#main>#solutions,
  body.is-home.h7>#main>#loesungen, body.is-home.h7>#main>#solutions { order: 8; }
}

/* 16.11.2026 Yusuf: Kachel wieder wie vorher (Motiv bis zum Rand, ruhiger Rahmen, kein Programmfenster),
   Motiv-Hintergrund mit Farbverlauf statt flachem Navy, je Produkt eigener Lichtton */
.swf .swf-item { border: 1px solid #e3e9f2; border-radius: 22px; box-shadow: 0 10px 30px rgba(11,28,61,.06); transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) { .swf .swf-item:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,28,61,.12); } .swf .swf-item:hover .swf-win { transform: none; } }
.swf .swf-stage { padding: 0; background: none; }
.swf .swf-win { border-radius: 0; box-shadow: none; background: transparent; }
.swf .swf-bar { display: none; }
.swf .swf-win > .sw-visual { height: 232px !important; }
.swf .swf-item--mm .sw-visual { background: radial-gradient(120% 95% at 18% 0%, #2a6fe0 0%, rgba(42,111,224,0) 58%), radial-gradient(90% 80% at 100% 100%, #0f8fd6 0%, rgba(15,143,214,0) 55%), linear-gradient(160deg, #0d2a63 0%, #0b1c3d 100%) !important; }
.swf .swf-item--rm .sw-visual { background: radial-gradient(70% 60% at 50% 18%, rgba(214,58,74,.45) 0%, rgba(214,58,74,0) 70%), radial-gradient(110% 90% at 0% 100%, #1d4fb0 0%, rgba(29,79,176,0) 60%), linear-gradient(160deg, #1a2350 0%, #0b1c3d 100%) !important; }
.swf .swf-item--bs .sw-visual { background: radial-gradient(110% 90% at 85% 0%, #1f86d8 0%, rgba(31,134,216,0) 58%), radial-gradient(90% 80% at 0% 100%, #136a9e 0%, rgba(19,106,158,0) 55%), linear-gradient(160deg, #0c2f5c 0%, #0b1c3d 100%) !important; }
@media (max-width: 700px) { .swf .swf-win > .sw-visual { height: 210px !important; } }
.swf .swf-win > .sw-visual { border: 0 !important; outline: 0 !important; }
.swf .swf-win { border: 0; }
