/* ==========================================================================
   custom.css – Kneipp Vorarlberg (optimiert, funktionsgleich)
   - Ziel: gleiche Optik/Funktionen, weniger Kollisionen, saubereres Scoping,
           bessere Wartbarkeit, mehr Robustheit mit Helix/Bootstrap.
   ========================================================================== */

/* ---------- Design-Token ---------- */
:root{
  --kneipp-blue:#014495;

  --ink:#000;
  --ink-weak:#555;
  --text:#111;
  --text-muted:#444;

  --muted:#eee;
  --border:#e6e9ed;

  --field-border:#ccc;
  --thumb-border:#ddd;

  --shadow-soft:0 10px 15px rgba(0,0,0,.08);
  --shadow-card:10px 20px 15px rgba(192,192,192,.45);
}

/* ---------- Baseline (robust, ohne Kollisionsrisiko) ---------- */
html{ font-size:16px; }
img{ max-width:100%; height:auto; } /* kein globales display:block -> weniger Overrides nötig */

/* ---------- Kontaktliste (com_contact Category View) ---------- */
.com-contact-category__items{
  flex:1 1 calc(33.333% - 20px);
  margin:10px;
  box-sizing:border-box;
  border:1px solid var(--border);
  border-radius:10px;
  padding:15px;
  box-shadow:5px 10px 8px rgba(136,136,136,.5);
  text-align:center;
}

.com-contact-category__items img{
  max-width:100%;
  height:auto;
  display:inline-block;
  margin-bottom:10px;
}

.img-thumbnail{
  border-radius:50%;
  border:1px solid var(--thumb-border);
  padding:3px;
  background:#fff;
}

table.category thead>tr th,
table.category thead>tr td,
table.category tbody>tr th,
table.category tbody>tr td{
  padding:10px;
  vertical-align:middle;
}

/* ---------- Module & Layout ---------- */
.sige_thumb_masonry img{
  width:100%;
  height:auto;
  border-radius:5px;
  display:block;
}

.borderposition1-1{
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow-card);
  border:1px solid var(--border);
  min-height:290px;
  padding:25px;
  margin-bottom:30px;
  animation:flyIn 2s ease-out forwards;
}

#sp-top-bar{
  background:var(--kneipp-blue);
  color:#aaa;
}

#sp-beforecontent{ padding:0; }

#sp-footer,
#sp-bottom{
  background:var(--kneipp-blue);
  color:#fff;
  font-size:1rem;
}

#sp-footer a,
#sp-bottom a{
  color:#fff;
  font-size:1.1em;
  text-decoration:none;
  transition:color .3s ease, font-size .3s ease;
}

#sp-footer a:hover,
#sp-bottom a:hover{
  color:#eee;
  text-decoration:underline;
  font-size:1.2em;
}

.random-image{
  text-align:center;
  padding-bottom:15px;
}

/* Seitentitel */
.sp-page-title{
  background:var(--kneipp-blue);
  margin:10px 0;
  padding:20px;
  border-radius:20px;

  /* Funktionsgleich: animiert einfliegen */
  opacity:0;
  animation:appearFromRight 2.5s ease-in-out forwards;
}

/* ---------- Formulare (scoped, damit Bootstrap/Helix weniger kollidiert) ---------- */
#sp-component :is(
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="date"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="number"]
):not(.form-control){
  font-size:.9rem;
  padding:8px 12px;
  border:1px solid var(--field-border);
  border-radius:4px;
}

#sp-component select:not(.form-select):not(.form-control){
  font-size:.9rem;
  padding:8px 12px;
  border:1px solid var(--field-border);
  border-radius:4px;
}

#sp-component textarea#message{
  width:100%;
  min-height:80px;
  height:120px;
  resize:vertical;
  font-size:.9rem;
  padding:8px 12px;
  border:1px solid var(--field-border);
  border-radius:4px;
  box-sizing:border-box;
}

/* Custom Modul */
#mod-custom282{
  border-radius:15px;
}

/* ---------- Artikel (com_content) ---------- */
.article-header{
  text-align:center;
  margin-bottom:20px;
}

.article-details .article-full-image{
  text-align:center;
  margin-bottom:20px;
}

.article-details .article-full-image img{
  max-width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  margin-inline:auto;
}

.article-list .article{
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border-radius:20px;
  margin-bottom:30px;
  background:#fff;
  animation:slide-in-top-grow 1.5s forwards;
}

.article-list .article .featured-article-badge,
.article-details .featured-article-badge{
  display:none !important;
}

/* Tags */
.tags>li{
  display:inline-block;
  margin:0 5px 5px 0;
}

.tags>li a{
  display:inline-block;
  padding:5px 10px;
  background:var(--muted);
  border-radius:15px;
  font-size:.85rem;
  color:var(--ink-weak);
  text-decoration:none;
  transition:background-color .3s ease, color .3s ease;
}

.tags>li a:hover{
  background:var(--kneipp-blue);
  color:#fff;
}

/* ---------- Event-Artikel (.kac-article) ---------- */
.kac-article .border img.img-fluid,
.kac-article .border img.lazyload{
  max-width:280px !important;
  width:auto !important;
  height:auto !important;
  display:block !important;
  box-sizing:border-box;
}

.kac-article .border .float-start{
  float:left !important;
  margin-right:1rem !important;
}

.kac-article .border .float-end{
  float:right !important;
  margin-left:1rem !important;
}

.kac-article .border::after{
  content:"";
  display:table;
  clear:both;
}

/* Falls Lazyload im KAC-Kontext Probleme machte: sichtbar erzwingen (wie bisher) */
.kac-article img.lazyload{
  opacity:1 !important;
  visibility:visible !important;
}

/* ---------- Animationen ---------- */
@keyframes flyIn{
  from{ opacity:0; transform:translateX(-50%); }
  to  { opacity:1; transform:translateX(0); }
}

.fly-in-image{
  position:relative;
  transform:translateY(50px) scale(1.2);
  opacity:0;
  transition:transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

.fly-in-image:hover{
  transform:translateY(0) scale(1);
  opacity:1;
}

.animiertes-bild{
  animation:grow 2s ease-in-out forwards;
}

@keyframes grow{
  0%{ transform:scale(0); opacity:0; }
  100%{ transform:scale(1); opacity:1; }
}

.rotate-twice-horizontal,
.rotate-once{
  max-width:305px;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  margin-left:auto;
  margin-right:auto;
}

.rotate-twice-horizontal{
  animation:rotateTwiceHorizontal 4s ease-in-out forwards;
}

@keyframes rotateTwiceHorizontal{
  0%{ transform:rotateY(0) }
  50%{ transform:rotateY(180deg) }
  100%{ transform:rotateY(360deg) }
}

.rotate-once{
  animation:rotateOnce 2s ease-in-out forwards;
}

@keyframes rotateOnce{
  0%{ transform:rotate(0) }
  100%{ transform:rotate(360deg) }
}

.module-slide-in-right,
.module-slide-in-left,
.module-slide-in-top-grow{
  opacity:0;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
  animation-timing-function:ease-out;
}

.module-slide-in-right{ animation-name:slide-in-right; }
@keyframes slide-in-right{
  from{ transform:translateX(50%); opacity:0 }
  to  { transform:translateX(0); opacity:1 }
}

.module-slide-in-left{ animation-name:slide-in-left; }
@keyframes slide-in-left{
  from{ transform:translateX(-50%); opacity:0 }
  to  { transform:translateX(0); opacity:1 }
}

.module-slide-in-top-grow{ animation-name:slide-in-top-grow; }
@keyframes slide-in-top-grow{
  from{ transform:translateY(-50%) scale(.8); opacity:0 }
  to  { transform:translateY(0) scale(1); opacity:1 }
}

@keyframes appearFromRight{
  0%{ opacity:0; transform:translateX(30%) }
  100%{ opacity:1; transform:translateX(0) }
}

/* Accessibility: reduzierte Bewegung respektieren (ohne Funktionen zu löschen) */
@media (prefers-reduced-motion:reduce){
  .borderposition1-1,
  .sp-page-title,
  .article-list .article,
  .module-slide-in-right,
  .module-slide-in-left,
  .module-slide-in-top-grow,
  .animiertes-bild,
  .rotate-twice-horizontal,
  .rotate-once{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }

  .fly-in-image{
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}

/* ---------- Mitglied werden hero-box ---------- */
.hero{
  background-image:url('/images/kneipp-logo.jpg');
  background-size:cover;
  padding:5rem 2rem;
  text-align:center;
  color:#fff;
}

.cta-button{
  background:#2a9d8f;
  color:#fff;
  padding:1rem 2rem;
  border-radius:30px;
  font-weight:700;
  text-decoration:none;
  margin-top:1rem;
  display:inline-block;
}

/* ---------- Kneipp CTA (kleine Box, nicht Grid) ---------- */
.kneipp-cta{
  --k-green:#0f6a5c;
  --k-green-2:#16927e;
  --k-ink:#0e1a18;
  --k-bg:#f3fbf8;
  --k-ring:rgba(22,146,126,.35);

  border-radius:18px;
  background:var(--k-bg);
  border:1px solid rgba(15,106,92,.12);
  padding:20px 22px;
  box-shadow:0 8px 28px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6);
}

.kneipp-cta__inner{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.kneipp-cta__text h3{
  margin:0 0 4px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--k-ink);
}

.kneipp-cta__text p{
  margin:0;
  color:#24443f;
}

.kneipp-cta__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  background:linear-gradient(0deg,var(--k-green),var(--k-green));
  color:#fff;
  text-decoration:none;
  font-weight:700;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 6px 18px rgba(15,106,92,.25);
  line-height:1;
  white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.kneipp-cta__btn .i{ transform:translateY(1px) }

.kneipp-cta__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(22,146,126,.28);
}

.kneipp-cta__btn:active{
  transform:translateY(0);
  box-shadow:0 6px 18px rgba(15,106,92,.25);
}

.kneipp-cta__btn:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px var(--k-ring);
}

@media (max-width:640px){
  .kneipp-cta__inner{ flex-direction:column; align-items:flex-start }
  .kneipp-cta__btn{ width:100%; justify-content:center }
}

@media (prefers-reduced-motion:reduce){
  .kneipp-cta__btn{ transition:none }
}

/* ---------- Nachtwächter CTA ---------- */
.nightwatch-cta{
  --bg1:#0b1a2a;
  --bg2:#091423;
  --glow:#ffd166;
  --ink:#e9f1ff;
  --btn:#f6c95b;
  --btn2:#ffd978;
  --ring:rgba(255,217,120,.35);

  border-radius:20px;
  padding:22px;
  color:var(--ink);
  position:relative;
  overflow:hidden;

  background:
    radial-gradient(1000px 400px at 15% -10%, rgba(255,209,102,.15), transparent 60%),
    radial-gradient(600px 300px at 85% 120%, rgba(255,209,102,.08), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));

  box-shadow:0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
}

.nightwatch-cta::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.25;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent 40%),
    radial-gradient(1px 1px at 28% 34%, #fff, transparent 40%),
    radial-gradient(1px 1px at 56% 22%, #fff, transparent 40%),
    radial-gradient(1px 1px at 72% 68%, #fff, transparent 40%),
    radial-gradient(1px 1px at 18% 76%, #fff, transparent 40%),
    radial-gradient(1px 1px at 84% 18%, #fff, transparent 40%);
}

.nightwatch-cta__inner{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.nightwatch-cta__text{
  flex:1 1 420px;
  min-width:260px;
}

.nightwatch-cta__text h3{
  margin:0 0 4px;
  font-weight:800;
  letter-spacing:.2px;
}

.nightwatch-cta__text p{
  margin:0 0 10px;
  opacity:.9;
}

.nightwatch-cta__meta{
  display:grid;
  gap:6px;
}

.meta-row{
  display:flex;
  align-items:flex-start;
  gap:8px;
}

.meta-row .ico{
  width:18px;
  height:18px;
  flex:0 0 18px;
  background-color:currentColor;
  opacity:.95;
  transform:translateY(1px);
}

.nightwatch-cta__icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:
    radial-gradient(closest-side, var(--glow), rgba(255,209,102,.55) 60%, rgba(255,209,102,.2) 75%, transparent 76%),
    rgba(255,255,255,.06);
  box-shadow:0 0 28px rgba(255,209,102,.45), inset 0 0 18px rgba(255,209,102,.35);
  flex:0 0 64px;
}

/* Masken-Icons bleiben unverändert */
.icon--lantern{
  -webkit-mask:no-repeat center/48%;
  mask:no-repeat center/48%;
  background-color:#2b2b2b;
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="9" y="3" width="6" height="2" rx="1"/><rect x="8" y="5" width="8" height="2" rx="1"/><rect x="7" y="7" width="10" height="10" rx="2"/><rect x="9" y="17" width="6" height="2" rx="1"/><rect x="10" y="19" width="4" height="2" rx="1"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="9" y="3" width="6" height="2" rx="1"/><rect x="8" y="5" width="8" height="2" rx="1"/><rect x="7" y="7" width="10" height="10" rx="2"/><rect x="9" y="17" width="6" height="2" rx="1"/><rect x="10" y="19" width="4" height="2" rx="1"/></svg>');
}
.icon--calendar{
  -webkit-mask:no-repeat center/contain;
  mask:no-repeat center/contain;
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 2h2v2h6V2h2v2h2a2 2 0 0 1 2 2v3H3V6a2 2 0 0 1 2-2h2V2zM3 10h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 2h2v2h6V2h2v2h2a2 2 0 0 1 2 2v3H3V6a2 2 0 0 1-2-2h2V2zM3 10h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10z"/></svg>');
}
.icon--clock{
  -webkit-mask:no-repeat center/contain;
  mask:no-repeat center/contain;
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 5h-2v6l5 3 .999-1.733L13 12.5V7z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 5h-2v6l5 3 .999-1.733L13 12.5V7z"/></svg>');
}
.icon--pin{
  -webkit-mask:no-repeat center/contain;
  mask:no-repeat center/contain;
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.7 2 6 4.7 6 8c0 5 6 12 6 12s6-7 6-12c0-3.3-2.7-6-6-6zm0 8.5a2.5 2.5 0 1 1 .001-5.001A2.5 2.5 0 0 1 12 10.5z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.7 2 6 4.7 6 8c0 5 6 12 6 12s6-7 6-12c0-3.3-2.7-6-6-6zm0 8.5a2.5 2.5 0 1 1 .001-5.001A2.5 2.5 0 0 1 12 10.5z"/></svg>');
}
.icon--info{
  -webkit-mask:no-repeat center/contain;
  mask:no-repeat center/contain;
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}

.nightwatch-cta__btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  color:#212529;
  text-decoration:none;
  background:linear-gradient(0deg,var(--btn),var(--btn));
  box-shadow:0 8px 22px rgba(255,217,120,.28);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  border:1px solid rgba(0,0,0,.08);
}

.nightwatch-cta__btn:hover{
  background:linear-gradient(0deg,var(--btn2),var(--btn2));
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(255,217,120,.34);
}

.nightwatch-cta__btn:active{
  transform:translateY(0);
}

.nightwatch-cta__btn:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px var(--ring);
}

@media (max-width:680px){
  .nightwatch-cta__inner{ gap:14px }
  .nightwatch-cta__btn{ width:100%; text-align:center }
}

@media (prefers-reduced-motion:reduce){
  .nightwatch-cta__btn{ transition:none }
}

/* ---------- Mobile hero styling ---------- */
.hero-mobile{ padding:14px 0; }
.hero-mobile h1{ margin:0 0 8px; font-size:1.6rem; line-height:1.2; }
.hero-mobile p{ margin:0 0 10px; }

/* Hide desktop hero on mobile/tablet */
@media (max-width:991.98px){
  #sp-hero .hero-desktop{ display:none; }
}

/* Hide mobile hero on desktop */
@media (min-width:992px){
  #sp-hero .hero-mobile{ display:none; }
}

/* Mobile Main-Body Padding (wie bisher gesetzt) */
@media (max-width: 991px) {
  #sp-main-body {
    padding-top: 15px;
    padding-bottom: 25px;
  }
}

/* =====================================================
   Cookie Banner – Kneipp-konform & maximaler Kontrast
   ===================================================== */

#cookiehintsubmit,
#cookiehintsubmitno {
  background-color: #0B4F4A; /* Kneipp Petrol / Wasser */
  color: #FFFFFF;            /* maximaler Kontrast */
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 18px;
  text-decoration: none;
  border: none;
}

/* Hover / Focus */
#cookiehintsubmit:hover,
#cookiehintsubmit:focus,
#cookiehintsubmitno:hover,
#cookiehintsubmitno:focus {
  background-color: #083A36; /* noch dunkler */
  color: #FFFFFF;
}

/* Tastatur-Fokus sichtbar */
#cookiehintsubmit:focus-visible,
#cookiehintsubmitno:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

#cookiehintsubmit {
  background-color: #0B4F4A;
}
#cookiehintsubmitno {
  background-color: #E6E6E6;
  color: #000000;
}
#cookiehintsubmitno:hover {
  background-color: #CCCCCC;
}

/* Hero Bereich optimieren kein inline css.. sondern hier */
.hero-desktop-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-desktop-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  bottom: 8%;
  left: 8%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  max-width: 90%;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.hero-overlay p {
  margin: 0.3rem 0 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* komplette Artikel-Meta-Info ausblenden */
.article-details .article-info {
  display: none !important;
}

/* Badge (Kategorie/Gruppe) in den Karten ausblenden */
.mod-ca .mod-ca-card__badge {
  display: none !important;
}

/* =========================
   Kneipp CTA Cards – Premium
   (Wappen links, Blau/Grün)
   ========================= */

.kneipp-cta-grid{
  --kneipp-blue: #0b5ea8;
  --kneipp-green:#1b8a6b;
  --kneipp-ink:  #0f172a;
  --kneipp-muted:#475569;
  --kneipp-bg:   #ffffff;
  --kneipp-line: rgba(15, 23, 42, .10);
  --kneipp-shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --kneipp-shadow-hover: 0 18px 45px rgba(2, 6, 23, .14);
  margin-top:18px;
}

/* Grid: gleiche Höhe, saubere Abstände */
.kneipp-cta-grid > [class*="col-"]{
  display:flex;
}
.kneipp-cta-grid > [class*="col-"] > a.cta-card{
  width:100%;
}

/* Card */
.kneipp-cta-grid a.cta-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:18px 18px;
  border-radius:16px;
  background: linear-gradient(180deg, rgba(11,94,168,.06), rgba(27,138,107,.03));
  border:1px solid var(--kneipp-line);
  box-shadow: var(--kneipp-shadow);
  text-decoration:none;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* dezente Akzentkante (Overlay) */
.kneipp-cta-grid a.cta-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(11,94,168,.18), rgba(27,138,107,.18));
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.kneipp-cta-grid a.cta-card::after{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:4px;
  border-radius:999px;
  background: linear-gradient(180deg, var(--kneipp-blue), var(--kneipp-green));
  opacity:.9;
}

/* Titel + Wappen links */
.kneipp-cta-grid a.cta-card .cta-title{
  position:relative;
  display:block;
  padding-left:46px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--kneipp-ink);
  line-height:1.15;
  font-size:18px;
}

.kneipp-cta-grid a.cta-card .cta-title::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width:34px;
  height:34px;
  border-radius:10px;
  background-color: rgba(255,255,255,.75);
  border:1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Text */
.kneipp-cta-grid a.cta-card .cta-text{
  display:block;
  padding-left:46px;
  margin-top:2px;
  color:var(--kneipp-muted);
  font-size: .98rem;
  line-height:1.35;
}

/* Hover/Focus */
.kneipp-cta-grid a.cta-card:hover,
.kneipp-cta-grid a.cta-card:focus{
  transform: translateY(-2px);
  box-shadow: var(--kneipp-shadow-hover);
  border-color: rgba(11,94,168,.22);
  background: linear-gradient(180deg, rgba(11,94,168,.08), rgba(27,138,107,.05));
}

.kneipp-cta-grid a.cta-card:hover::before,
.kneipp-cta-grid a.cta-card:focus::before{
  opacity:.08;
}

.kneipp-cta-grid a.cta-card:focus{
  outline: none;
}

.kneipp-cta-grid a.cta-card:focus-visible{
  outline: 3px solid rgba(11,94,168,.35);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 575.98px){
  .kneipp-cta-grid a.cta-card{
    padding:16px;
    border-radius:14px;
  }
  .kneipp-cta-grid a.cta-card .cta-title{
    padding-left:44px;
  }
  .kneipp-cta-grid a.cta-card .cta-text{
    padding-left:44px;
  }
  .kneipp-cta-grid a.cta-card .cta-title::before{
    width:32px;
    height:32px;
  }
}

/* Wappen-Zuordnung je Karte (nth-child gemäß deinem HTML) */
.kneipp-cta-grid > .col-md-6:nth-child(1) a.cta-card .cta-title::before{
  background-image:url("/images/Ortswappen/thumbs/thumb_Bezirk_Bludenz.webp");
}
.kneipp-cta-grid > .col-md-6:nth-child(2) a.cta-card .cta-title::before{
  background-image:url("/images/Ortswappen/thumbs/thumb_Bezirk_Bregenz.webp");
}
.kneipp-cta-grid > .col-md-6:nth-child(3) a.cta-card .cta-title::before{
  background-image:url("/images/Ortswappen/thumbs/thumb_Bezirk_Feldkirch.webp");
}
.kneipp-cta-grid > .col-md-6:nth-child(4) a.cta-card .cta-title::before{
  background-image:url("/images/Ortswappen/thumbs/thumb_Bezirk_Dornbirn.webp");
}
.kneipp-cta-grid > .col-md-6:nth-child(5) a.cta-card .cta-title::before{
  background-image:url("/images/Ortswappen/Karte_A_Vlbg.webp");
}
/* =========================================
   Kneipp CTA Grid – modernes Auto-Layout
   ========================================= */

.kneipp-cta-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:20px;
    justify-content:center;
}

/* Bootstrap-Spalten neutralisieren */
.kneipp-cta-grid > [class*="col-"]{
    width:100%;
    padding:0;
}

/* Kartenhöhe stabil */
.kneipp-cta-grid .cta-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    /* war 170px */
    min-height:100px;
    height:100%;
}

/* Titel */
.kneipp-cta-grid .cta-title{
    font-weight:700;
    line-height:1.3;
}

/* Text bleibt unten */
.kneipp-cta-grid .cta-text{
    margin-top:auto;
}

/* Desktop Begrenzung */
@media (min-width:992px){

    .kneipp-cta-grid{
        max-width:1100px;
        margin:auto;
        grid-template-columns:repeat(3,1fr);
    }

}