/* ===========================
   Instrument Sans – Variable Font
   =========================== */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/templates/cassiopeia/fonts/InstrumentSans-VariableFont_wdth,wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/templates/cassiopeia/fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
}

/* ===========================
   Cassiopeia Font Overrides
   =========================== */

:root {
    --cassiopeia-font-family-body: 'Instrument Sans', sans-serif;
    --cassiopeia-font-family-headings: 'Instrument Sans', sans-serif;
    --cassiopeia-font-weight-headings: 700;
    --cassiopeia-font-weight-normal: 400;
}

body {
    font-family: var(--cassiopeia-font-family-body) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cassiopeia-font-family-headings) !important;
}

/* Schönes Frontend Editor Interface */

.btn {
  border-radius: 50px;
}

.form-select {
  border-radius: 50px;
}

.com-content-category__table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 25px;
  overflow: hidden;
}

.com-content-category__table thead th:first-child {
  border-top-left-radius: 25px;
}

.com-content-category__table thead th:last-child {
  border-top-right-radius: 25px;
}

.com-content-category__table tbody tr:last-child th:first-child,
.com-content-category__table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 25px;
}

.com-content-category__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 25px;
}

.table > :not(caption) > * > * {
  background-color: #ffffffad !important;
}

.table {
    --table-hover-bg: #00000008 !important;
}

.pagination {
  --pagination-border-radius: 50px !important;
}

.form-control {
  border-radius: 50px;
}

.list-group {
    --list-group-border-radius: 20px;
}

.remind, .reset {
  padding: 50px;
  border-radius: 50px;
  background-color: #ffffffad;
}

[role="tablist"] {
  border-radius: 25px 25px 0 0 !important;
  background-color: #ffffffad !important;
}

joomla-tab > joomla-tab-element {
  border-radius: 0 0 25px 25px !important;
  background-color: #ffffffad !important;
}

/* Schöne Animationen zwischen Unterseiten */
@media(prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
    animation-timing-function: ease;
  }

  ::view-transition-group(root) {
    animation-duration: 0.6s;
  }

  /*.hybrid-image, .pretty-article-image {
    view-transition-name: article-image;
  }*/
}

/* ===========================
   Dein vorhandener Code
   =========================== */

/* Damit haben wir mehr content Felder und müssen nichts komisch lösen */
.container-bottom-c,
.container-bottom-d {
   grid-column: full-start / full-end;;
}

.breadcrumb {
   background-color: #ffffff00;
}

.com-content-category-blog {
  display: none;
}

/* Für den Kalender */
.mod-asg-calendar a,
.mod-asg-calendar a *,
.mod-asg-calendar a:hover,
.mod-asg-calendar a:hover * {
    text-decoration: none !important;
}
.mod-asg-calendar .mod-asg-calendar__featured-linktext {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.com-content-article.item-page {
  display: none;
}
.header.container-header { display: none !important; }

/* Force the footer wrapper to take up the full width of the grid */
.footer {
    grid-column: full-start / full-end !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: none !important;
    background-color: #00000000;
  
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}
}

.footer .container-footer, 
.footer .container,
.footer .mod-custom {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.footer .mod-custom > div {
    width: 100%;
}

.card:has(.full_bleed), 
.grid-child:has(.full_bleed) {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
}

div#mod-custom122, 
.mod-custom122 {
    grid-column: 1 / -1 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    padding: 0 !important;
}

.container-component:has(#mod-custom122) {
    padding: 0 !important;
    max-width: 100% !important;
}

.container-top-b {
  grid-column: 1 / -1;
}

.top-b {
  margin-top: 0;
}

/* ===========================
   Footer komplett auf Instrument Sans erzwingen
   =========================== */

.footer,
.footer *,
.container-footer,
.container-footer *,
.mod-custom,
.mod-custom *,
#mod-custom122,
#mod-custom122 *,
.grid-child.footer,
.grid-child.footer * {
    font-family: 'Instrument Sans', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* Lupe mittig machen*/
.js-search-btn {
  --btn-padding-x: 0;
}


/* Damit Herr Süpke glücklich ist */
a {
    text-decoration: unset !important;
}

.button {
    display: inline-flex;
    background-color: #0090e0 !important;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 50px !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
    margin-top: 10px !important;
    color: #fff;
    align-items: center;
    gap: 0.4em;
}

.alternating-item .item-content .item-text {
  display: grid;
  justify-content: center;
  align-items: center;
}

.fa-file-alt::before {
    content: "";
    width: 1em;
    height: 1em;
    background-color: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0M9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1M4.5 9a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1zM4 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 1 0-1h4a.5.5 0 0 1 0 1z"/></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0M9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1M4.5 9a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1zM4 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 1 0-1h4a.5.5 0 0 1 0 1z"/></svg>') no-repeat center / contain;
}

.btn-asg-spezi::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0z"/></svg>') no-repeat center / contain;
}

.button:hover {
    color: #ffffff97;
}

.result__title-url {
  display: none !important;
}

.result__taxonomy {
  display: none !important;
}

.card-body {
  padding: 0px !important;
}

.pretty-article-card {
  background-color: #ffffffad !important;
}

/* Damit Luki glücklich ist */

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.modern-pill-search.is-expanded .form-control {
    border-radius: 50px !important;
}

.archive {
  display: none !important;
}

/* Für Hintergrund */
body, 
.site-grid, 
.body-innerwrapper {
    background-color: transparent !important;
}

.card-body {
    color: #ffffffad !important;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 50px !important;
}

.card {
    --card-border-color: #ffffff00 !important;
    --card-bg: #ffffffad !important;
    --card-border-radius: 50px !important;
}

#horizontal-images-135 {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
  background-color: #ffffffad !important;
  border-radius: 50px !important;
}

.latestarticlesgrid-card {
    background-color: #ffffffad !important;
    border-radius: 25px !important;
}

.hybrid-card {
    background-color: #ffffffad !important;
    border-radius: 25px !important;
}

.hybrid-card--more {
    background: none !important;
    background-color: #ffffffad !important;
    border-radius: 25px !important;
}

.hybrid-arrow {
    background: #ffffffad !important;
}
  
#custom-breadcrumbs-134 {
    background-color: #ffffffad !important;
}

.latestarticlesgrid-header-title-first {
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
}
.latestarticlesgrid-header-title-rest {
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
}

.startseite-section-title {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: clamp(2rem, 2.8vw, 3.2rem) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    color: #111 !important;
    background: #ffffffad !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.startseite-section-title a {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: opacity 0.3s !important;
}

.com-finder {
    padding: 10px 18px !important;  
    background-color: #ffffffad !important;
    border-radius: 25px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

.hybrid-header-title a, .mod-asg-text-title-link, .latestarticlesgrid-header-title a {
  background-color: #ffffffad !important;
}

.mod-tag-article-slider {
    padding: 10px 18px !important;  
    background-color: #ffffffad !important;
    border-radius: 25px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

/* Willis Modul fixen */
.alternating-item .item-content {
  background-color: #ffffff00 !important;
}

.alternating-item {
  background-color: #fff9 !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  gap: 0 !important;
}

.pretty-article-embedded-module {
  margin: 20px auto;
  max-width: 1000px;
}

.unsichtbar {
  visibility: hidden;
}