/* ============================================================
   Schubert & Tacke — Visual MVP matching production shop chrome
   Colors / type from live site tokens (primary #005da9, Raleway)
   ============================================================ */

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/Raleway/raleway-v12-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/Raleway/raleway-v12-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/Raleway/raleway-v12-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #005da9;
  --primary-dark: #004a87;
  --primary-light: #1a7bc4;
  --secondary: #e2382a;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --header-dark: #343a40;
  --header-darker: #191e24;
  --header-medium: #353a40;
  --white: #fff;
  --body: #212529;
  --body-bg: #fff;
  --font: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs: 0.9375rem;
  --radius: 0.375rem;
  --radius-sm: 0.25rem;
  --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --max: 1200px;
  --header-upper-h: 36px;
  --nav-h: 44px;
  --transition: 0.15s ease-in-out;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.5;
  color: var(--body);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { color: var(--primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: -9999px; z-index: 10000;
  background: var(--primary); color: #fff; padding: 0.5rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: #fff3cd;
  border-bottom: 1px solid #ffeeba;
  color: #856404;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.4rem 0.75rem;
}
.demo-banner strong { color: #664d03; }

/* ---------- Header upper (primary blue bar) ---------- */
.st-header-upper {
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  min-height: var(--header-upper-h);
}
.st-header-upper a { color: #fff; text-decoration: none; }
.st-header-upper a:hover { text-decoration: underline; color: #fff; }

.st-header-upper__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  min-height: var(--header-upper-h);
  padding: 0.35rem 0;
}

.st-header-upper__left,
.st-header-upper__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.st-header-upper b { font-weight: 700; }

/* ---------- Header main ---------- */
.st-header-main {
  background: #fff;
  border-bottom: 1px solid var(--gray-300);
  padding: 0.75rem 0;
}

.st-header-main__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

@media (min-width: 992px) {
  .st-header-main__inner {
    grid-template-columns: 200px 1fr auto;
  }
}

.st-logo {
  display: flex;
  align-items: center;
  max-width: 220px;
  text-decoration: none;
}
.st-logo img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

/* Search */
.st-search {
  display: none;
  width: 100%;
}
@media (min-width: 992px) {
  .st-search { display: block; }
}

.st-search__form {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.st-search__input {
  flex: 1;
  border: 1px solid var(--gray-400);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--body);
  min-width: 0;
}
.st-search__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 93, 169, 0.15);
}
.st-search__input::placeholder { color: var(--gray-600); }

.st-search__btn {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 1.1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.st-search__btn:hover { background: var(--primary-dark); }

/* Mobile search under header */
.st-search--mobile {
  display: block;
  padding: 0 0 0.75rem;
  background: #fff;
  border-bottom: 1px solid var(--gray-300);
}
@media (min-width: 992px) {
  .st-search--mobile { display: none; }
}
.st-search--mobile .st-search__form { max-width: none; }

/* Header panels */
.st-panels {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.st-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--gray-800);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  min-width: 64px;
  text-align: center;
  line-height: 1.15;
}
.st-panel:hover {
  background: var(--gray-100);
  color: var(--primary);
  text-decoration: none;
}
.st-panel__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-400);
  border-radius: 50%;
  color: var(--primary);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
}
.st-panel span { max-width: 5.5rem; }

@media (max-width: 575px) {
  .st-panel span { display: none; }
  .st-panel { min-width: 40px; padding: 0.4rem; }
}

/* ---------- Main nav (dark) ---------- */
.st-nav {
  background: #e9ecef;
  color: var(--gray-900);
  position: relative;
  z-index: 50;
}

.st-nav__inner {
  display: flex;
  align-items: stretch;
  min-height: var(--nav-h);
}

.st-nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  color: var(--gray-900);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 0;
  cursor: pointer;
}
.st-nav__toggle svg { width: 20px; height: 20px; fill: currentColor; }

@media (min-width: 992px) {
  .st-nav__toggle { display: none; }
}

.st-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  width: 100%;
  background: #e9ecef;
}

.st-nav__list.is-open { display: flex; }

@media (min-width: 992px) {
  .st-nav__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    background: transparent;
  }
}

.st-nav__list > li > a {
  display: block;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.96rem;
  padding: 0.72rem 0.95rem;
  white-space: nowrap;
  border-bottom: 0;
}
.st-nav__list > li > a:hover,
.st-nav__list > li > a[aria-current="page"] {
  color: var(--gray-900);
  background: #dfe4e8;
  text-decoration: none;
}

/* ---------- Original-style shop homepage ---------- */
.st-shop-home {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.st-category-rail {
  display: flex;
  flex-direction: column;
}

.st-category-rail a {
  min-height: 71px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-300);
  text-decoration: none;
  padding: 8px 0;
}

.st-category-rail a:hover {
  color: var(--primary);
  text-decoration: none;
}

.st-category-rail img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.st-category-rail span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
}

.st-original-main {
  min-width: 0;
}

.st-info-hero {
  position: relative;
  min-height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #222;
}

.st-info-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-info-hero__box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(74%, 660px);
  transform: translate(-50%, -50%);
  background: rgba(160, 160, 160, 0.74);
  color: #fff;
  text-align: center;
  padding: 22px 34px 26px;
}

.st-info-hero__box h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 400;
}

.st-info-hero__box p {
  color: #fff;
  font-size: 0.98rem;
}

.st-recommendations {
  padding: 38px 0 20px;
}

.st-recommendations h2,
.st-account-cta > h2 {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.st-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.st-shop-product {
  min-width: 0;
  font-size: 0.86rem;
}

.st-shop-product__img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  background: #fff;
  margin-bottom: 12px;
}

.st-shop-product__img img {
  max-height: 170px;
  object-fit: contain;
}

.st-shop-product__brand {
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.st-shop-product h3 {
  font-size: 0.92rem;
  line-height: 1.25;
  min-height: 58px;
  margin-bottom: 8px;
}

.st-shop-product h3 a {
  color: var(--gray-900);
}

.st-shop-product__type {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.st-shop-product dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  color: var(--gray-700);
  margin: 0;
  font-size: 0.78rem;
}

.st-shop-product dt {
  color: var(--gray-600);
}

.st-shop-product dd {
  margin: 0;
}

.st-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.st-variants span {
  border: 1px solid var(--gray-300);
  min-width: 24px;
  text-align: center;
  padding: 1px 4px;
  font-size: 0.72rem;
}

.st-account-cta {
  text-align: center;
  padding: 36px 0 28px;
}

.st-account-cta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
  margin-bottom: 24px;
}

.st-account-cta article {
  text-align: center;
}

.st-account-cta img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.st-account-cta h3 {
  font-size: 1.2rem;
  font-weight: 400;
  min-height: 54px;
}

.st-account-cta p {
  margin-bottom: 6px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .st-shop-home {
    grid-template-columns: 1fr;
  }
  .st-category-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .st-info-hero {
    min-height: 520px;
  }
  .st-product-grid,
  .st-account-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .st-info-hero {
    min-height: 420px;
  }
  .st-info-hero__box {
    width: 86%;
    padding: 18px;
  }
  .st-product-grid,
  .st-account-cta__grid,
  .st-category-rail {
    grid-template-columns: 1fr;
  }
}

/* ---------- Info alert ---------- */
.st-alert {
  background: #e8f1f8;
  border: 1px solid #b8d4ea;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  border-radius: var(--radius-sm);
}
.st-alert h2 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.st-alert p { margin-bottom: 0.5rem; color: var(--gray-700); font-size: 0.9rem; }
.st-alert a { font-weight: 600; }
.st-alert--shop {
  background: #fff;
  border-color: var(--gray-300);
  border-left-color: var(--secondary);
  box-shadow: var(--shadow);
}
.st-alert--shop h2 {
  color: var(--gray-900);
}

/* ---------- Hero / slider ---------- */
.st-hero {
  margin: 1.25rem 0 1.75rem;
}

.st-hero__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .st-hero__grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .st-hero__main {
    grid-row: 1 / span 2;
  }
}

.st-hero__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  min-height: 160px;
  display: flex;
  align-items: stretch;
}
.st-hero__main { min-height: 280px; }
.st-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.st-hero__main img { object-fit: cover; background: #f0f4f8; padding: 0; }
.st-hero__overlay {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 1rem 1.15rem;
  background: linear-gradient(transparent, rgba(25, 30, 36, 0.9));
  color: #fff;
}
.st-hero__overlay h1 {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.12;
  max-width: 46rem;
  margin-bottom: 0.55rem;
}
@media (min-width: 768px) {
  .st-hero__overlay h1 { font-size: 2.35rem; }
}
.st-hero__overlay h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}
.st-hero__overlay p {
  margin: 0;
  font-size: 0.85rem;
  color: #dee2e6;
}
.st-hero__main .st-hero__overlay p {
  max-width: 39rem;
  font-size: 0.98rem;
}
.st-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.st-kicker {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem !important;
  text-transform: uppercase;
}

/* ---------- Section titles ---------- */
.st-section {
  padding: 1.75rem 0 2rem;
}
.st-section--gray { background: var(--gray-100); }
.st-section--dark {
  background: var(--header-darker);
  color: #e9ecef;
}
.st-section--dark h2 { color: #fff; }

.st-section__title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gray-800);
}
.st-section--dark .st-section__title { color: #fff; }

.st-section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0.6rem auto 0;
}

/* ---------- Product cards ---------- */
.st-products {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .st-products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .st-products { grid-template-columns: repeat(4, 1fr); }
}

.st-product {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--transition);
  height: 100%;
}
.st-product:hover { box-shadow: var(--shadow-md); }

.st-product__img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.st-product__img img {
  max-height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.st-product__body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.st-product__brand {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.st-product__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.35;
  flex: 1;
}
.st-product__name a {
  color: inherit;
  text-decoration: none;
}
.st-product__name a:hover { color: var(--primary); }

.st-product__meta {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0.15rem 0 0.5rem;
}

.st-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: #c42f23;
  border-color: #c42f23;
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: var(--gray-400);
  color: var(--gray-800);
}
.btn-light:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.btn-sm { padding: 0.35rem 0.65rem; font-size: 0.75rem; }
.btn-lg { padding: 0.65rem 1.25rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn[disabled],
.btn.is-demo {
  opacity: 0.95;
}

/* Toast */
.st-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--gray-800);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transition: transform 0.25s ease;
  max-width: min(90vw, 420px);
  text-align: center;
}
.st-toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ---------- Benefits / register CTA ---------- */
.st-benefits {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 2.5rem 0;
}
.st-benefits h2 {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}
.st-benefits h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #fff;
  margin: 0.6rem auto 0;
  opacity: 0.5;
}

.st-benefits__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .st-benefits__grid { grid-template-columns: repeat(3, 1fr); }
}

.st-benefit {
  text-align: center;
  padding: 0.5rem;
}
.st-benefit img {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.st-benefit h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}
.st-benefit ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}
.st-benefit li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: #d6e8f5;
}
.st-benefit li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}

.st-benefits__cta { text-align: center; }
.st-benefits .btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}
.st-benefits .btn-secondary:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

/* ---------- Brands strip ---------- */
.st-brands {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.st-brands h2 {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.st-brands__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}
.st-brands__track a,
.st-brands__track span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 56px;
  padding: 0.35rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.st-brands__track a:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.st-brands__track img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(0.15);
}

/* ---------- News / Aktuelles ---------- */
.st-news {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .st-news { grid-template-columns: 1fr 1fr; }
}

.st-news-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
  align-items: start;
}
@media (max-width: 480px) {
  .st-news-card { grid-template-columns: 1fr; }
}

.st-news-card__visual {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
  letter-spacing: 0;
  text-transform: uppercase;
}
.st-news-card__visual--alt {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-600) 100%);
}

.st-news-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.st-news-card p {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 0.65rem;
}

/* ---------- Services blocks ---------- */
.st-services {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .st-services { grid-template-columns: 1fr 1fr; }
}

.st-service {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  height: 100%;
}
.st-service h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.st-service p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ---------- Category tiles ---------- */
.st-cats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .st-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .st-cats { grid-template-columns: repeat(6, 1fr); }
}

.st-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 0.65rem;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.st-cat:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--primary);
  text-decoration: none;
}
.st-cat__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--gray-300);
  letter-spacing: 0;
}
.st-cat strong {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- Page header (inner) ---------- */
.st-pagehead {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
  padding: 1.5rem 0;
}
.st-pagehead h1 {
  margin-bottom: 0.35rem;
  color: var(--gray-800);
}
.st-pagehead p {
  margin: 0;
  color: var(--gray-600);
  max-width: 40rem;
}
.st-breadcrumb {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}
.st-breadcrumb a { color: var(--primary); }

/* ---------- Content / about ---------- */
.st-content {
  padding: 2rem 0 2.5rem;
}

.st-prose {
  max-width: 48rem;
}
.st-prose p { color: var(--gray-700); }

.st-split {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .st-split { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.st-box {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.st-box--primary {
  border-left: 4px solid var(--primary);
}
.st-box h3 { color: var(--primary); }

.st-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}
.st-list li:last-child { border-bottom: 0; }
.st-list strong { color: var(--gray-900); }

/* ---------- Contact ---------- */
.st-form {
  display: grid;
  gap: 0.9rem;
}
.st-form-row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 576px) {
  .st-form-row { grid-template-columns: 1fr 1fr; }
}
.st-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}
.st-field input,
.st-field select,
.st-field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--gray-400);
  border-radius: var(--radius-sm);
  background: #fff;
}
.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 93, 169, 0.15);
}
.st-field textarea { min-height: 130px; resize: vertical; }
.st-form-note { font-size: 0.8rem; color: var(--gray-600); margin: 0; }

.st-form-success {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}
.st-form-success.is-visible { display: block; }

.st-contact-aside {
  background: var(--header-dark);
  color: #e9ecef;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.st-contact-aside h3 { color: #fff; margin-bottom: 1rem; }
.st-contact-aside dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gray-500);
  margin-top: 0.85rem;
}
.st-contact-aside dt:first-child { margin-top: 0; }
.st-contact-aside dd { margin: 0.2rem 0 0; }
.st-contact-aside a { color: #8ec5eb; }
.st-contact-aside a:hover { color: #fff; }

/* ---------- Footer ---------- */
.st-footer-newsletter {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  padding: 1.5rem 0;
}
.st-footer-newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.st-footer-newsletter h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary);
}
.st-footer-newsletter p {
  margin: 0.2rem 0 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}
.st-footer-newsletter__form {
  display: flex;
  gap: 0;
  min-width: min(100%, 320px);
}
.st-footer-newsletter__form input {
  flex: 1;
  border: 1px solid var(--gray-400);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font: inherit;
}
.st-footer-newsletter__form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.st-footer {
  background: var(--header-dark);
  color: #adb5bd;
  font-size: 0.875rem;
  padding: 2rem 0 0;
}
.st-footer a { color: #ced4da; text-decoration: none; }
.st-footer a:hover { color: #fff; text-decoration: underline; }

.st-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .st-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.st-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.st-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-footer li { margin-bottom: 0.4rem; }
.st-footer p { margin: 0 0 0.4rem; color: #adb5bd; }

.st-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #6c757d;
}

.st-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  background: var(--secondary);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }
.fw-bold { font-weight: 700; }
