/* ═══════════════════════════════════════════════════════════════
   Handwertig Core — main_CSS.tpl
   Basis-Styles für Template 2 (Handwertig Website / Bootstrap 5)
   Bereinigt: Mobirise-Spezifika entfernt, eigene Styles behalten
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Basis ────────────────────────────────────────────────── */
section {
  background-color: #ffffff;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  word-wrap: break-word;
}

body {
  font-style: normal;
  line-height: 1.5;
  font-weight: 400;
  color: #101112;
  position: relative;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
}

html, body {
  height: auto;
  min-height: 100vh;
}

button {
  background-color: transparent;
  border-color: transparent;
}

.container,
.container-fluid {
  position: relative;
  word-wrap: break-word;
}

a {
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
}

a:hover { text-decoration: none; }

a.mbr-iconfont:hover { text-decoration: none; }

b, strong { font-weight: bold; }

figure { margin-bottom: 0; overflow: hidden; }

img, iframe { display: block; width: 100%; }

blockquote {
  font-style: italic;
  padding: 3rem;
  font-size: 1.09rem;
  position: relative;
  border-left: 3px solid;
}

ul, ol, pre, blockquote {
  margin-bottom: 2.3125rem;
  list-style-type: square;
}

td, th {
  word-wrap: break-word;
  white-space: normal;
}

@media (max-width: 576px) {
  .table td, .table th { font-size: 0.875rem; }
}

[type=submit] { -webkit-appearance: none; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition-delay: 9999s;
  transition-property: background-color, color;
}

textarea[type=hidden] { display: none; }

input[type=range] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

:focus { outline: none; }

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* ─── Typographie ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-4, .display-5, .display-7,
span, p, a {
  line-height: 1.3;
  word-break: break-word;
  word-wrap: break-word;
  font-weight: 400;
}

.article .lead p,
.article .lead ul,
.article .lead ol,
.article .lead pre,
.article .lead blockquote {
  margin-bottom: 0;
}

.mbr-section-title {
  font-style: normal;
  line-height: 1.3;
  color: #ffffff;
}

.mbr-section-subtitle { line-height: 1.3; }

.mbr-text {
  font-style: normal;
  line-height: 1.7;
}

.uppercase { text-transform: uppercase; }
.hidden    { visibility: hidden; }
.handwertig { font-weight: bold; }
.facts { font-weight: 300; font-size: 62px; }

/* ─── Farben & Utilities ───────────────────────────────────────────── */
.mbr-white    { color: #ffffff; }
.mbr-black    { color: #111111; }
.mbr-bg-white { background-color: #ffffff; }
.mbr-bg-black { background-color: #000000; }

.mbr-z-index20  { z-index: 20; }
.mbr-light      { font-weight: 300; }
.mbr-regular    { font-weight: 400; }
.mbr-semibold   { font-weight: 500; }
.mbr-bold       { font-weight: 700; }

.bg-handwertig  { background-color: #d63384; }
.mbr-handwertig { color: #d63384 !important; }

.align-left   { text-align: left; }
.align-center { text-align: center; }
.align-right  { text-align: right; }

@media (max-width: 767px) {
  .align-left,
  .align-right { text-align: center; }
}

.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* ─── Hintergrund (Startseite) ─────────────────────────────────────── */
.autobg {
  background-image: url("/cms-assets/handwertig/images/team/AdobeStock_783615922.jpeg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.mbr-overlay {
  background-color: #000;
  bottom: 0; left: 0;
  opacity: 0.5;
  position: absolute;
  right: 0; top: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── Navigation ──────────────────────────────────────────────────── */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar.navbar-short { background: transparent !important; }

.navbar-toggler {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  text-decoration: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em; height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

.menu .navbar-brand { display: flex; }
.menu .navbar-brand span { display: flex; }
.menu .navbar-brand .navbar-logo img { display: flex; width: auto; }

.navbar-caption-wrap, .title-wrap { color: transparent !important; }
.logo { width: 200px; }

.nav { display: flex; flex-wrap: wrap; }
.row { display: flex; flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.card-wrapper { flex: 1; }
.nav-item { border: none !important; }

.nav-link, .nav-link:focus, .nav-link:hover { color: #e22278; }

.nav-link .mbr-iconfont { margin-right: 0.5rem; }

.nav-dropdown .link {
  padding: 0.667em 1.667em !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .menu .navbar-collapse { max-height: 93.5vh; }
  .menu .navbar-collapse.show { overflow: auto; }
}

@media (min-width: 992px) {
  .menu .navbar-nav.nav-dropdown { display: flex; }
  .menu .collapsed .navbar-collapse { max-height: 93.5vh; }
  .menu .collapsed .navbar-collapse.show { overflow: auto; }
}

@media (max-width: 767px) {
  .menu .navbar-collapse { max-height: 80vh; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .menu .navbar-toggleable-sm .navbar-nav { display: flex; }
}

/* ─── Dropdown ─────────────────────────────────────────────────────── */
.dropdown-menu {
  border-radius: 0;
  background-color: #e22278;
}

.dropdown-hndwrtg { background: white !important; }

.dropdown-item {
  padding: .5rem 1rem;
  font-weight: 500;
}

.dropdown-toggle { white-space: normal !important; }

.dropdown-menu .dropdown-menu { right: 100%; }
.dropdown-item + .dropdown-menu { display: none; }
.dropdown-item:hover + .dropdown-menu,
.dropdown-menu:hover { display: block; }

.dropup .dropdown-toggle::after { display: none; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.mbr-section-btn {
  margin-left: -0.6rem;
  margin-right: -0.6rem;
  font-size: 0;
}

.btn {
  font-weight: 600;
  letter-spacing: .2rem;
  border-width: 1px;
  font-style: normal;
  margin: 0.6rem 0.6rem;
  white-space: normal;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

.btn-sm, .btn-md, .btn-lg {
  font-weight: 600;
  letter-spacing: .2rem;
  transition: all 0.3s ease-in-out;
}

.btn-form { margin: 0; }
.btn-form:hover { cursor: pointer; }

nav .mbr-section-btn {
  margin-left: 0;
  margin-right: 0;
}

.btn .mbr-iconfont,
.btn.btn-sm .mbr-iconfont {
  order: 1;
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: sub;
}

.btn.btn-md .mbr-iconfont { margin-left: 0.8rem; }

.btn.disabled, .btn:disabled, fieldset:disabled .btn { opacity: .30; }

/* Handwertig-Primärfarbe (#e22278) */
.btn-primary {
  border: 0;
  position: relative;
  z-index: 1;
}
.btn-primary,
.btn-primary:active {
  background-color: #e22278 !important;
  border-color: #e22278 !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active {
  color: #e22278 !important;
  background-color: #ffffff !important;
  border-color: #e22278 !important;
}
.btn-primary.disabled,
.btn-primary:disabled {
  color: #ffffff !important;
  background-color: #e22278 !important;
  border-color: #e22278 !important;
}
.btn-primary:before {
  content: '';
  left: 0; top: 0; bottom: auto;
  position: absolute;
  width: 100%; height: 0%;
  background-color: white;
  z-index: -1;
  transition: all 0.3s;
  border: 3px solid #e22278 !important;
}
.btn-primary:hover:before {
  height: 100%; top: auto; bottom: 0;
}

/* Weißer Outline-Button (auf dunklem Hintergrund) */
.btn-hndwrtg {
  border: 3px solid #fff;
  position: relative;
  z-index: 1;
  font-size: 1em;
}
.btn-hndwrtg,
.btn-hndwrtg:active {
  border-color: #fff !important;
  color: #ffffff !important;
}
.btn-hndwrtg:hover,
.btn-hndwrtg:focus,
.btn-hndwrtg.focus,
.btn-hndwrtg.active {
  color: #ffffff !important;
  border-color: #e22278 !important;
  outline: none !important;
  box-shadow: none !important;
}
.btn-hndwrtg.disabled,
.btn-hndwrtg:disabled {
  color: #ffffff !important;
  background-color: #47b5ed !important;
  border-color: #47b5ed !important;
}
.btn-hndwrtg:before {
  content: '';
  left: 0; top: 0; bottom: auto;
  position: absolute;
  width: 100%; height: 0%;
  z-index: -1;
  transition: all 0.3s;
}

.qualibutton {
  letter-spacing: 0px;
  font-weight: bold;
  padding: 50px;
}

/* ─── Formulare ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group:focus { outline: none; }

.form-control {
  background-color: #ffffff;
  background-clip: border-box;
  color: #232323;
  line-height: 1rem !important;
  height: auto;
  padding: 0.6rem 1.2rem;
  transition: border-color 0.25s ease 0s;
  border: 1px solid transparent !important;
  border-radius: 4px;
  box-shadow: rgba(0,0,0,.07) 0px 1px 1px 0px,
              rgba(0,0,0,.07) 0px 1px 3px 0px,
              rgba(0,0,0,.03) 0px 0px 0px 1px;
}

.form-active .form-control:invalid { border-color: red; }
.form-control:focus { box-shadow: none; }

form .row {
  margin-left: -0.6rem;
  margin-right: -0.6rem;
}
form .row [class*=col] {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}
form .mbr-section-btn {
  margin: 0;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}
form .btn {
  display: flex;
  padding: 0.6rem 1.2rem;
  margin: 0;
}
form .form-check-input { margin-top: 0.5; }

textarea.form-control { line-height: 1.5rem !important; }

.form-control, form .btn { min-height: 48px; }

.form-asterisk {
  font-family: initial;
  position: absolute;
  top: -2px;
  font-weight: normal;
}

.form-control-label {
  position: relative;
  cursor: pointer;
  margin-bottom: 0.357em;
  padding: 0;
}

.alert {
  color: #ffffff;
  border-radius: 0;
  border: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.875rem;
  padding: 1.25rem;
  position: relative;
  text-align: center;
}

.alert.alert-form::after {
  background-color: inherit;
  bottom: -7px;
  content: "";
  display: block;
  height: 14px;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  transform: rotate(45deg);
  width: 14px;
}

/* ─── Gewerke-Auswahl (Projektanfrage) ─────────────────────────────── */
.job {
  margin: 50px 0;
}
.job img {
  display: inline-block;
  width: 100%;
  max-width: 100px;
}
.job label {
  display: block;
  position: relative;
  color: #000;
  font-weight: bold;
}
.job label:hover { cursor: pointer; }
.job input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0; width: 0;
}
.job .checkmark {
  display: none;
  position: absolute;
  right: 0; top: 0;
  width: 25%;
}
.job input:checked ~ .checkmark { display: block; }

#jobs-extended { display: none; }

/* ─── Karten & Medien ──────────────────────────────────────────────── */
.card {
  background-color: transparent;
  border: none;
}
.card-box {
  width: 100%;
  margin-bottom: 25px;
}
.card-img {
  text-align: center;
  flex-shrink: 0;
  width: auto;
}
.card-img img, .mbr-figure img { width: 100%; }

.card-wrapper, .item-wrapper { overflow: hidden; }
.card-wrapper { flex: 1; }

.item { position: relative; }

.media {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
}

.mbr-figure { align-self: center; }

@media (max-width: 991px) {
  .media { width: auto; }
  .mbr-figure { width: 100% !important; }
}

/* ─── Grid-Padding ─────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .row {
    margin-left: -16px;
    margin-right: -16px;
  }
  .row > [class*=col] {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 768px) {
  .container-fluid {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ─── Modal & Carousel ─────────────────────────────────────────────── */
.modal-dialog, .modal-content { height: 100%; }
.modal-dialog .carousel-inner { height: calc(100vh - 1.75rem); }

@media (max-width: 575px) {
  .modal-dialog .carousel-inner { height: calc(100vh - 1rem); }
}

.carousel-item { text-align: center; }
.carousel-item img { margin: auto; }
.carousel-control { z-index: 10; display: flex; }
.carousel-controls { display: flex; }

.carousel-indicators [data-bs-target] {
  width: 40px; height: 7px;
  margin-right: 7px; margin-left: 7px;
  background-color: #e22278;
}
.carousel-control-next, .carousel-control-prev {
  background-color: #e22278;
  opacity: 0;
}
.carousel-control-next:hover, .carousel-control-prev:hover {
  background-color: #e22278;
  opacity: .3;
}
.carousel-control-next-icon {
  background-image: url("/cms-assets/handwertig/layout/icon_right.svg");
  width: 20rem; height: 20rem;
}
.carousel-control-prev-icon {
  background-image: url("/cms-assets/handwertig/layout/icon_left.svg");
  width: 20rem; height: 20rem;
}

/* ─── Slick-Slider (Partner-Logos) ────────────────────────────────── */
.slick-slide { margin: 0px 20px; }
.slick-slide img { width: 100%; }

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0; padding: 0;
  background-color: #fafafa;
}
.slick-list:focus { outline: none; }
.slick-list.dragging { cursor: pointer; }

.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0; left: 0;
  display: block;
}
.slick-track:before, .slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide { float: right; }
.slick-slide img { display: block; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: none; }
.slick-arrow.slick-hidden { display: none; }

/* ─── cid-Handwertig-Abschnitt (Konfigurator/Rechner-Bereiche) ─────── */
.cid-handwertig {
  padding-top: 45px;
  padding-bottom: 60px;
  background-color: #fafafa;
}
.cid-handwertig h2 {
  color: #000;
  font-size: 2.1rem;
  line-height: 2.4rem;
  font-weight: bold;
  text-align: left;
}

/* Dropdown-Abschnitt (Bestandsentwicklung) */
.cid-tM2Lf4BzMe { padding-bottom: 8rem; }

/* ─── Tabs (Fahrtenbuch / interne Tools) ───────────────────────────── */
.nav-tabs .nav-link.active {
  background-color: #e22278;
  color: #fff;
  margin-top: -8px;
  padding-bottom: 15px;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active { border-color: #e22278; }
.nav-tabs {
  border-bottom: 1px solid #e22278;
  margin-bottom: 50px;
}
.nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-color: #e9ecef;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover { background-color: #e22278; color: #fff; }

/* ─── Sonstiges ────────────────────────────────────────────────────── */
@media (min-width: 400px) {
  .factbox { margin-top: 50%; }
}

.form-inline { display: flex; }

.map { height: 25rem; position: relative; }
.map iframe { width: 100%; height: 100%; }

/* Calendly-Widget Links positionieren */
.calendly-badge-widget {
  right: auto !important;
  left: 20px !important;
}

#panorama { width: 300px; height: 200px; }

.navbar-scrolled { background: rgba(42,36,89,.92) !important; box-shadow: 0 2px 20px rgba(0,0,0,.22) !important; }

/* ── Fix: Quellen-Text "– Barbara Ettinger-Brinckmann"
   auf dunklem Hintergrund → weiß ── */
section[class*="team4"] .mbr-section-head .mbr-text,
section[class*="team4"] .mbr-section-head p,
section[class*="team4"] .mbr-text.display-7 {
  color: #fff !important;
}


/* ── Aus header.tpl extrahiert ──────────────── */
/* ══════════════════════════════════════════════
   OVERLAY MENÜ
══════════════════════════════════════════════ */
#hw-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: auto;
  width: 100%;
  min-height: 60vh;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9998;
  background: rgba(34,35,87,0.98);
  display: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}
#hw-nav-overlay.open {
  display: flex;
  opacity: 0.99;
  visibility: visible;
  transform: translateY(0);
}
body.hw-nav-open { overflow: hidden; }

/* ── Logo oben rechts ── */
.hw-ov-logo {
  flex-shrink: 0;
  padding: 24px 0 24px 40px;
  opacity: 0;
  transition: opacity .3s .1s ease;
}
#hw-nav-overlay.open .hw-ov-logo {
  opacity: 1;
}
.hw-ov-logo img { display: block; }

/* ── Schließen-Button ── */
.hw-ov-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  z-index: 1;
}
#hw-nav-overlay.open .hw-ov-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  z-index: 1;
}
.hw-ov-close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 2px;
  background: #fff;
  display: block;
}
.hw-ov-close span:nth-child(1) { transform: translate(-50%,-50%) rotate(45deg); }
.hw-ov-close span:nth-child(2) { transform: translate(-50%,-50%) rotate(-45deg); }

/* ── Nav-Links ── */
.hw-ov-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 60px 40px 60px 40px;
  box-sizing: border-box;
}
.hw-ov-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateX(-12px);
  transition: color .15s ease, opacity .3s ease, transform .3s ease;
}
/* gestaffelte Einblend-Animation */
#hw-nav-overlay.open .hw-ov-link:nth-child(1) { opacity:1; transform:none; transition-delay:.08s; }
#hw-nav-overlay.open .hw-ov-link:nth-child(2) { opacity:1; transform:none; transition-delay:.12s; }
#hw-nav-overlay.open .hw-ov-link:nth-child(3) { opacity:1; transform:none; transition-delay:.16s; }
#hw-nav-overlay.open .hw-ov-link:nth-child(4) { opacity:1; transform:none; transition-delay:.20s; }
#hw-nav-overlay.open .hw-ov-link:nth-child(5) { opacity:1; transform:none; transition-delay:.24s; }
#hw-nav-overlay.open .hw-ov-link:nth-child(6) { opacity:1; transform:none; transition-delay:.28s; }

.hw-ov-link:hover { color: #fff; }
.hw-ov-link:hover .hw-ov-num { color: #e22278; }
.hw-ov-link:last-child { border-bottom: none; }

.hw-ov-num {
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.25);
  letter-spacing: .08em;
  flex-shrink: 0;
  transition: color .15s;
  min-width: 24px;
}

/* ── Footer (Kontakt) ── */
.hw-ov-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 48px 20px 40px;
}
#hw-nav-overlay.open .hw-ov-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 48px 20px 40px;
}
.hw-ov-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.hw-ov-phone:hover { color: #fff; }
.hw-ov-cta {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.4rem;
  background: #e22278;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s;
}
.hw-ov-cta:hover { background: #c41d69; color: #fff; }

/* ── Responsive ── */
@media (max-width: 600px) {
  #hw-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: auto;
  width: 100%;
  min-height: 60vh;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9998;
  background: rgba(34,35,87,0.98);
  display: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}
  .hw-ov-link { font-size: 1.35rem; }
  .hw-ov-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 48px 20px 40px;
}
  .hw-ov-logo {
  flex-shrink: 0;
  padding: 24px 0 24px 40px;
  opacity: 0;
  transition: opacity .3s .1s ease;
}
  .hw-ov-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  z-index: 1;
}
}

/* ── Aus cookie_banner.tpl extrahiert ──────────────── */
{literal}
#hw-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: #222357;
  color: #fff;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  max-width: 420px;
  width: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
}
.hw-cookie-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}
.hw-cookie-text {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
}
.hw-cookie-link {
  color: #e22278;
  text-decoration: underline;
}
.hw-cookie-link:hover { color: #fff; }
.hw-cookie-btns {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.hw-cookie-btn {
  flex: 1;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border: none;
  transition: opacity .15s;
}
.hw-cookie-btn:hover { opacity: .85; }
.hw-cookie-btn-deny {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.35);
}
.hw-cookie-btn-deny:hover {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  opacity: 1;
}
.hw-cookie-btn-accept {
  background: #e22278;
  color: #fff;
}
@media (max-width: 480px) {
  #hw-cookie-banner { bottom: 0; right: 0; width: 100%; max-width: 100%; }
  .hw-cookie-btns { flex-direction: column-reverse; }
}


/* ── Aus blog_overview.tpl extrahiert ──────────────── */
.blog-filter-btn{display:inline-block;font-family:'Montserrat',sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;border:none;background:none;padding:.4rem .8rem;color:#18194a;margin:0 .25rem .35rem 0;transition:color .15s;}
					.blog-filter-btn.is-active{background:#e22278;color:#fff;position:relative;margin-bottom:1.5rem;}
					.blog-filter-btn.is-active::after{content:'';position:absolute;left:0;bottom:-18px;border-left:24px solid #e22278;border-bottom:18px solid transparent;z-index:2;}
					.blog-filter-btn:not(.is-active):hover{color:#e22278;}
{/literal}