/* etikettendrucker.co.at – Komponenten des Relaunch. Farben: Variablen aus style2.css (:root) */

body {
  color: var(--color-text);
  background-color: var(--color-bg);
}
a, a:link, a:visited { color: var(--color-primary); }
a:hover, a:focus { color: var(--color-accent-text); }
h1, h2, h3, .heading-1, .heading-2, .heading-3, .heading-4 { color: var(--color-primary); }

/* Österreich-Leiste */
.at-bar {
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.at-bar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
}
.at-bar-list li { display: flex; align-items: center; gap: 8px; }
.at-bar-list li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 4px;
}
.at-flag { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.6); vertical-align: middle; }
@media (max-width: 767.98px) {
  .at-bar-more { display: none !important; }
}

/* Kopfzeile */
.rd-navbar-brand { display: flex; align-items: center; gap: 14px; }
.rd-navbar-brand .brand-logo { width: auto; height: 94px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.header-cart, .header-cart:link, .header-cart:visited { color: var(--color-primary); font-size: 20px; white-space: nowrap; }
.header-cart, .header-cart:hover, .header-cart:focus, .ui-to-top, .ui-to-top:hover, .ui-to-top:focus { text-decoration: none; }
.ui-to-top, .ui-to-top:link, .ui-to-top:visited, .ui-to-top:hover, .ui-to-top:focus { color: #fff; }
@media (max-width: 767.98px) { #ui-to-top { display: none !important; } }
.header-cart-count { font-family: inherit; font-size: 15px; margin-left: 4px; }
.rd-navbar-static .rd-nav-item.active > .rd-nav-link,
.rd-navbar-static .rd-nav-item:hover > .rd-nav-link { color: var(--color-accent-text); }
/* Pfeil des Untermenüs in derselben Farbe wie der Menütext (aktiv bzw. beim Darüberfahren) */
.rd-navbar-static .rd-navbar-nav > li.active > .rd-navbar-submenu-toggle::after,
.rd-navbar-static .rd-navbar-nav > li.focus > .rd-navbar-submenu-toggle::after,
.rd-navbar-static .rd-navbar-nav > li.opened > .rd-navbar-submenu-toggle::after,
.rd-navbar-static .rd-navbar-nav > li:hover > .rd-navbar-submenu-toggle::after,
.rd-navbar-static .rd-navbar-nav > li > a:hover + .rd-navbar-submenu-toggle::after { color: var(--color-accent-text); }
.rd-megamenu-header { font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }

/* Buttons */
.button-primary, .button-primary:link, .button-primary:visited, .button-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.button-primary:hover, .button-primary:link:hover, .button-primary:visited:hover, .button-primary:active {
  background-color: var(--color-accent-text);
  border-color: var(--color-accent-text);
  color: #fff;
}
.button-default-outline, .button-default-outline:focus {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.button-default-outline:hover { background: var(--color-primary); color: #fff; }

/* Produktseite */
/* Abstaende um "Zurueck zur Uebersicht" wie matratzen.co.at: oben .mt-4 (1.5rem), unten .product-lower */
.product-lower { margin-top: 40px; }
@media (min-width: 992px) { .product-lower { margin-top: 60px; } }
.product-subline { font-size: 17px; margin-top: 8px; }
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price-net { font-size: 30px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.price-net small { font-size: 16px; font-weight: 600; }
.price-sep { color: var(--color-text-muted); }
.price-gross { font-size: 17px; color: var(--color-text); }
/* Steuerhinweis unter dem Preis und Bruttopreis: Schrift wie „zzgl. Versand" (.price-note) */
.price-tax, .price-box .price-gross { display: block; flex-basis: 100%; font-size: 14px; font-weight: 400; color: var(--color-text-muted); line-height: 1.5; }
.price-box .price-tax + .price-gross { margin-top: -6px; }
.price-old { width: 100%; font-size: 14px; color: var(--color-text-muted); text-decoration: line-through; }
.price-note { font-size: 14px; color: var(--color-text-muted); margin: 0; }
.at-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-accent);
  font-size: 14px;
  color: var(--color-text);
}
.at-note .at-flag { border-color: var(--color-border); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-specs { width: 100%; border-collapse: collapse; font-size: 15px; }
/* .container-Präfix schlägt .container table th/td aus custom.css (fett, 2px-Linie, ohne Innenabstand) */
.container .table-specs th, .container .table-specs td { padding: 10px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; text-align: left; }
.container .table-specs th { width: 42%; font-weight: 400; color: var(--color-text); background: var(--color-bg-alt); }
/* Versandhinweis, Verfügbarkeit, Angaben unter dem Warenkorb-Button */
.price-note-free { display: flex; align-items: center; gap: 8px; color: var(--color-success); font-weight: 600; }
.dot-success { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); flex-shrink: 0; }
.product-unavailable { font-weight: 600; color: var(--color-text); margin-bottom: 12px; }
.single-product .definition-list dt, .single-product .definition-list dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.single-product .definition-list dt { flex-basis: 32%; }
.single-product .definition-list dd { flex-basis: 68%; }
@media (max-width: 768px) {
  .single-product .definition-list dt { flex-basis: 100%; padding-bottom: 0; border-bottom: none; font-weight: 600; }
  .single-product .definition-list dd { flex-basis: 100%; padding-top: 2px; }
}
.product-body-text { white-space: normal; }

/* Produktliste */
.product .product-title a { color: var(--color-primary); }
.product-price-net { font-weight: 700; color: var(--color-primary); }
.product-price-net small { font-weight: 400; color: var(--color-text-muted); }

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 48px;
  margin-top: 60px;
  font-size: 14px;
}
.site-footer a, .site-footer a:link, .site-footer a:visited { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: var(--color-accent); }
.footer-head { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 10px; border-bottom: 2px solid var(--color-accent); display: inline-block; padding-bottom: 2px; }
.footer-address { font-style: normal; line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; line-height: 1.7; }
.footer-small { font-size: 13px; opacity: .9; margin-top: 10px; }
.footer-at { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.footer-legal { background: var(--color-primary-dark); margin-top: 36px; padding: 14px 0; font-size: 13px; }
.footer-legal .container { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Shop-Seitennavigation */
.shopnav-search { margin: 20px 0 24px; }
.shopnav-search .form-input { flex: 1 1 auto; }
.form-label-static { display: block; font-weight: 600; color: var(--color-primary); margin-bottom: 6px; }
.shopnav-tree { border-top: 2px solid var(--color-primary); padding-top: 10px; line-height: 1.9; }
.shopnav-tree .shopnav-group { font-weight: 600; margin-top: 6px; }
a.shopnav.active { color: var(--color-accent-text); font-weight: 700; }

/* Inhaltsseiten */
.home-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: 6px;
  padding: 40px 36px;
  margin: 30px 0 40px;
}
.home-hero h1 { color: #fff; font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
.home-hero p { color: #fff; font-size: 17px; max-width: 820px; }
.home-hero .button-primary { background: #fff; border-color: #fff; color: var(--color-primary); }
.home-hero .button-primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #000; }
.home-hero .button-default-outline { border-color: #fff; color: #fff; }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.home-hero-cta .button { margin: 0; }
#main-content h2 { margin-top: 36px; margin-bottom: 14px; }
#main-content h3 { margin-top: 22px; margin-bottom: 8px; color: var(--color-primary-dark); font-size: 20px; }
.faq-list { border-top: 1px solid var(--color-border); }
details.faq { border-bottom: 1px solid var(--color-border); padding: 12px 0; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); list-style-position: outside; }
details.faq .faq-answer { padding-top: 8px; }
.table-content { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.table-content th, .table-content td { border-bottom: 1px solid var(--color-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.table-content th { background: var(--color-bg-alt); color: var(--color-primary); }
@media (max-width: 767.98px) {
  .home-hero { padding: 26px 18px; }
  .home-hero h1 { font-size: 26px; }
}

/* Feinschliff nach Screenshot-Prüfung */
#main-content h2, .heading-2 { font-size: 30px; font-weight: 600; line-height: 1.25; }
#main-content h3 { font-weight: 600; }
#main-content .container ul:not([class]) { list-style: disc; padding-left: 22px; margin: 8px 0 16px; }
#main-content .container ol:not([class]) { list-style: decimal; padding-left: 22px; margin: 8px 0 16px; }
#main-content .container ul:not([class]) li, #main-content .container ol:not([class]) li { margin-bottom: 4px; }
@media (max-width: 767.98px) { #main-content h2, .heading-2 { font-size: 24px; } }

/* Navigation Desktop: Logo | Menü | Telefon/Warenkorb in einer Zeile */
.rd-navbar-static .rd-navbar-inner { flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 12px 0; gap: 20px; }
.rd-navbar-static .rd-navbar-inner > * { padding: 0; }
.rd-navbar-static .rd-navbar-inner > * + * { margin-top: 0; }
.rd-navbar-static .rd-navbar-panel + .rd-navbar-nav-wrap { flex: 1 1 auto; text-align: center; }
.rd-navbar-static .rd-navbar-nav > li { margin-top: 0; padding: 0 16px; }
.rd-navbar-static .rd-navbar-nav > li > a { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--color-primary); }
/* Untermenüs schließen direkt an die Unterkante der Kopfzeile an (normal und fixiert beim Scrollen) */
.rd-navbar-static .rd-navbar-nav > li > .rd-navbar-dropdown, .rd-navbar-static .rd-navbar-nav > li .rd-navbar-megamenu { margin-top: 23.8px; }
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > .rd-navbar-dropdown, .rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li .rd-navbar-megamenu { margin-top: 26.8px; }
.rd-navbar-static .header-actions { position: static; transform: none; }
#main-content .container ul:not([class]) > li { display: list-item; list-style: disc outside; }
#main-content .container ol:not([class]) > li { display: list-item; list-style: decimal outside; }

/* Mobile/Tablet (fixierte Kopfzeile): Österreich-Leiste fixiert darüber */
@media (max-width: 1199.98px) {
  .at-bar { position: fixed; top: 0; left: 0; right: 0; height: 30px; overflow: hidden; z-index: 1001; }
  .at-bar-list { padding: 6px 0; flex-wrap: nowrap; }
  .rd-navbar-fixed .rd-navbar-panel { top: 30px; height: 64px; }
  .rd-navbar-fixed .rd-navbar-brand { top: 30px; height: 64px; align-items: center; flex-wrap: nowrap; }
  .rd-navbar-fixed .rd-navbar-brand .brand-logo { height: 44px; }
  .rd-navbar-fixed .rd-navbar-nav-wrap { top: -26px; }
  .header-actions { position: fixed; top: 30px; right: 14px; height: 64px; z-index: 1000; gap: 14px; }
  .page { padding-top: 38px; }
}
.price-net { white-space: nowrap; }
@media (max-width: 1199.98px) { #main-content > section:first-child, #main-content .home-hero { margin-top: 16px; } }
.price-net small { display: inline; }

/* Produktliste als Zeilen (Kategorie-Einstellung "Liste") */
.product-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.product-row-img img { width: 200px; height: 150px; object-fit: contain; }
.product-row-title { font-size: 20px !important; font-weight: 600; margin: 0 0 6px !important; line-height: 1.3; }
.product-row-title a { color: var(--color-primary); text-decoration: none; }
.product-row-text { margin: 0 0 8px; }
.product-row-specs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 14px; }
.product-row-specs > div { display: flex; gap: 6px; }
.product-row-specs dt { font-weight: 600; color: var(--color-text); }
.product-row-specs dt::after { content: ":"; }
.product-row-specs dd { margin: 0; }
.product-row-buy { text-align: right; min-width: 150px; }
.product-row-buy .product-price-net { font-size: 20px; margin-bottom: 8px; white-space: nowrap; }
@media (max-width: 767.98px) {
  .product-row { grid-template-columns: 96px 1fr; grid-template-areas: "img title" "text text" "specs specs" "buy buy"; gap: 10px 14px; }
  .product-row-body { display: contents; }
  .product-row-img { grid-area: img; }
  .product-row-img img { width: 96px; height: 76px; }
  .product-row-title { grid-area: title; align-self: center; font-size: 17px !important; margin: 0 !important; }
  .product-row-text { grid-area: text; }
  .product-row-specs { grid-area: specs; font-size: 13px; }
  .product-row-buy { grid-area: buy; display: flex; justify-content: space-between; align-items: center; text-align: left; }
  .product-row-buy .product-price-net { margin: 0; }
}

.product-price-net small { display: inline; margin-left: 4px; }
@media (max-width: 991.98px) { .shopnav-search { margin: 22px 0 14px; } }

/* Shop-Seitennavigation mobil: Auswahlliste */
.shopnav-select { margin-bottom: 8px; }
.shopnav-select select { width: 100%; height: 48px; padding: 0 12px; border: 2px solid var(--color-primary); border-radius: 4px; background-color: #fff; color: var(--color-primary); font-size: 16px; }

@media (max-width: 1199.98px) { #main-content { padding-top: 18px; } }
.rd-navbar-fixed .rd-navbar-nav > li > a, .rd-navbar-fixed .rd-navbar-user-mobile { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--color-primary); font-size: 16px; }

/* Inhaltsseiten: H1 aus der Seitenkategorie */
.page-head { padding-top: 40px; }
.page-title { font-size: 30px; line-height: 1.25; margin: 0; }
@media (min-width: 992px) { .page-title { font-size: 40px; } }

/* Absatz-Stil Kachel (40) */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 576px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; overflow: hidden; }
.tile-img { display: block; height: 220px; background: var(--color-bg-alt); }
.tile-img img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: contain; padding: 16px; }
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tile-title { font-size: 20px; margin: 0 0 8px; }
.tile-title a { color: var(--color-primary); text-decoration: none; }
.tile-text { flex: 1; margin-bottom: 16px; }
.tile-body .button { align-self: flex-start; margin-top: auto; }

/* Akkordeon (FAQ) */
.accordion-custom .card-custom { padding: 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: transparent; }
.accordion-custom .card-custom + .card-custom { margin-top: 0; }
.accordion-custom .card-custom-title { font-size: 18px; margin: 0; }
.accordion-custom .card-custom-title > a { display: block; position: relative; padding: 16px 40px 16px 0; color: var(--color-primary); text-decoration: none; }
.accordion-custom .card-custom-title > a::after { content: "\2212"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--color-accent-text); }
.accordion-custom .card-custom-title > a.collapsed::after { content: "+"; }
.accordion-custom .card-custom-title > a::before { display: none; }
.accordion-custom .card-custom-body { padding: 0 0 18px; }

/* Kontakt-Box am Seitenende */
.contact-box { background: var(--color-primary-light); border-left: 4px solid var(--color-accent); border-radius: 6px; padding: 24px; }
@media (min-width: 768px) { .contact-box { padding: 32px 40px; } }

/* Auslaufmodell: Hinweis auf das Nachfolgemodell */
.successor-note { display: inline-block; margin: 0 0 16px; padding: 10px 16px; background: var(--color-accent-light); border-left: 4px solid var(--color-accent); border-radius: 4px; text-align: left; }

/* Kasse */
.checkout-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; counter-reset: step; }
.checkout-steps li { counter-increment: step; color: var(--color-text-muted); }
.checkout-steps li::before { content: counter(step) ". "; }
.checkout-steps li + li::before { content: "› " counter(step) ". "; }
.checkout-steps li.active { color: var(--color-primary); font-weight: 700; }
.checkout-hint { font-size: 14px; color: var(--color-text-muted); }
.is-disabled { opacity: .5; }
.checkout-totals { margin: 24px 0 8px auto; min-width: 280px; border-collapse: collapse; }
.checkout-totals td { padding: 6px 0 6px 24px; text-align: right; }
.checkout-totals td:first-child { text-align: left; padding-left: 0; }
.checkout-total td { border-top: 2px solid var(--color-primary); font-weight: 700; color: var(--color-primary); font-size: 18px; }
.checkout-confirm label { display: block; margin-bottom: 10px; }

/* Tabellen in Inhaltsseiten: auf schmalen Bildschirmen horizontal scrollbar statt abgeschnitten */
@media (max-width: 767.98px) {
  .section-sm .container table:not(.table-custom) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-sm .container table:not(.table-custom) td, .section-sm .container table:not(.table-custom) th { min-width: 96px; }
}

/* Breadcrumb */
.breadcrumb-nav { padding: 14px 0 0; font-size: 14px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; color: var(--color-text-muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--color-text-muted); }
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs li[aria-current] { color: var(--color-text); }

/* Mobil: Bilder begrenzen, damit Preis bzw. Produktliste schneller sichtbar sind (Phase 6) */
@media (max-width: 767.98px) {
  .slick-product .slick-product-figure { height: auto !important; }
  .slick-product .slick-product-figure img { max-height: 240px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
  .slick-product { margin-bottom: 0; }
  section figure picture img { max-height: 240px; width: auto !important; max-width: 100%; display: block; margin: 0 auto; object-fit: contain; }
  .page-head { padding-top: 16px; }
  .page-title { font-size: 26px; }
}

/* Phase 9.6: Bilder haben width/height (Platz wird beim Laden reserviert); skaliert wird proportional.
   :where() hat keine Spezifität – Regeln mit fester Höhe (z. B. .product-row-img img) gelten weiter. */
:where(img[width][height]) { height: auto; }

/* Phase 10: Prüfmeldungen der Bestellseite untereinander; ausgeblendete (gültige) behalten display:none aus ASP.NET */
.checkout-validator { display: block; }

/* Textlinks: beim Darüberfahren überall orange (Vorlage setzt in Listen Schwarz, in Überschriften Grau) */
.list-marked > li a:hover, .list-marked-primary > li a:hover, .list-marked > li a:focus, .list-marked-primary > li a:focus,
.list-ordered > li a:hover, .list-ordered > li a:focus,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.heading-1 a:hover, .heading-2 a:hover, .heading-3 a:hover, .heading-4 a:hover, .heading-5 a:hover, .heading-6 a:hover,
.tile-title a:hover, .tile-title a:focus, .product-row-title a:hover, .product-row-title a:focus,
.breadcrumbs a:hover, .breadcrumbs a:focus { color: var(--color-accent-text); }

/* Untermenüs (Etikettiermaschinen, Ersatzteile, …) wie die Einträge im Mega-Menü „Etikettendrucker" */
.rd-navbar-static .rd-navbar-dropdown > .rd-dropdown-item { margin-bottom: 0; }
.rd-navbar-static .rd-navbar-dropdown > .rd-dropdown-item > .rd-dropdown-link { display: block; margin-top: 0; }
.rd-navbar-fixed .rd-navbar-dropdown > .rd-dropdown-item > .rd-dropdown-link { padding-left: 16px; }

/* Kopfzeile Desktop: Kontakt- und Warenkorb-Symbol in einer eigenen Zeile über den Menüeinträgen (wie apotheke-retz.at) */
.header-home, .header-home:link, .header-home:visited, .header-contact, .header-contact:link, .header-contact:visited { color: var(--color-primary); font-size: 20px; text-decoration: none; }
.header-home:hover, .header-home:focus, .header-contact:hover, .header-contact:focus, .header-cart:hover, .header-cart:focus { color: var(--color-accent-text); text-decoration: none; }
@media (min-width: 1200px) {
  .rd-navbar-static .rd-navbar-inner { position: relative; }
  .rd-navbar-static .header-actions { position: absolute; top: 8px; right: 0; }
  /* Menüeinträge: Schriftlinie auf Höhe der sichtbaren Logo-Unterkante (logo2.png hat unten ca. 12 px weißen Rand) */
  .rd-navbar-static .rd-navbar-nav-wrap { padding-top: 33px; }
}

/* Mobiles Menü: kein Leerraum über dem ersten Eintrag (Vorlage setzt margin-top: 30px !important für alle Größen) */
.rd-navbar-fixed .rd-navbar-nav-wrap { margin-top: 0 !important; }

/* Kopfbild bzw. Bild-Slider unter der Navigation (de/controls/_slider.ascx, Bild bzw. Galerie der Seitenkategorie im CMS):
   volle Breite bis max. 2100 px, festes Seitenverhältnis 10:3 (2100 × 630), Bild füllt die Fläche (object-fit: cover) */
.header-slider { max-width: 2100px; margin: 0 auto 24px; }
.header-slider .swiper-slider, .header-image { aspect-ratio: 10 / 3; height: auto; min-height: 0; }
.header-slider .swiper-wrapper, .header-slider .swiper-slide { height: 100%; }
.header-slider .swiper-slide { position: relative; background: none; }
.header-slider img { display: block; width: 100%; height: 100%; object-fit: cover; }
.header-slider .swiper-button-prev, .header-slider .swiper-button-next { color: var(--color-primary); background-color: rgba(255, 255, 255, 0.85); }
.header-slider-caption { position: absolute; left: 0; right: 0; bottom: 24px; }
.header-slider-caption .container > * { display: table; background: rgba(255, 255, 255, 0.9); padding: 6px 12px; margin: 0 0 6px; }
.header-slider-title { font-weight: 700; color: var(--color-primary); }
/* direkt unter der Kopfzeile: Desktop gleicht die feste Höhe .page-header (138 px, custom.css) aus, mobil die fixierte Kopfzeile */
@media (min-width: 1200px) { .page-header + .header-slider { margin-top: -20px; } }
@media (max-width: 1199.98px) { .header-slider { margin-top: 27px; } }
