/** CSS der Agentur Ashera **/
/** Hier ist das CSS, das für ALLE Seiten der Webseite zählen **/

/** Fonts **/
@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/LibreBaskerville-Bold.woff') format('woff'),
         url('../fonts/LibreBaskerville-Bold.woff2') format('woff2');
  }
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Regular.woff') format('woff'),
         url('../fonts/SourceSansPro-Regular.woff2') format('woff2');
  }
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Italic.woff') format('woff'),
         url('../fonts/SourceSansPro-Italic.woff2') format('woff2'),;
  }
 @font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Bold.woff') format('woff'),
         url('../fonts/SourceSansPro-Bold.woff2') format('woff2');
  }
  /*
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/SourceSansPro-BoldItalic.woff') format('woff'),
         url('../fonts/SourceSansPro-BoldItalic.woff2') format('woff2');

  }*/
/**---------- ALLGEMEIN ----------**/
body {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    background-image: none;
    background-color: var(--background-light);
}
h1, h2, h3, h4, h5, h6, .block__title {
    font-family: 'Libre Baskerville';
    font-weight: 700;
    color: var(--text-farbe);
    hyphens: auto;
}
h1{
    font-size: 2.375rem;
    line-height: 3.2rem;
    font-variant: petite-caps;
}
h2, .block__title {
    font-size: 2.125rem;
    line-height: 3rem;
    font-variant: petite-caps;
}
.block__title {
    margin-block: 60px;
}
h3{
    font-size: 1.875rem;
    line-height: 2.8rem;
}
h4{
    font-size: 1.375rem;
    line-height: 2.2rem;
}
h5{
    font-size: 1.25rem;
    line-height: 2.0rem;
}
h6{
    font-size: 1rem;
    line-height: 1.8rem;
}
p {
    color: var(--text-farbe);
    font-family: 'Source Sans Pro';
    font-weight: 400;
}
a:hover {
    color: var(--primaerfarbe-hover);
}
.page-wrapper {
    background: var(--background-light);
}
.button {
    color: var(--text-farbe);
    background-color: var(--primaerfarbe-light);
    border: solid 2px var(--sekundaerfarbe);
    border-radius: 3px;
    font-family: 'Source Sans Pro';
    font-size: 1rem;
    font-weight: 700;
    transition: 0.2s;
}
.button:hover, .button:focus{
    color: var(--background-light);
    background-color: var(--primaerfarbe-hover);
    border: solid 2px var(--primaerfarbe-hover-2);
    font-weight: 600;
}
#page-wrapper {
    margin: auto;
    max-width: 100%;
    background-image: url(/themes/ashera/images/background-graphic-400-1.svg);
    background-repeat: no-repeat;
    background-size: 400px;
    background-position-y: bottom;
}
.dialog-off-canvas-main-canvas {
    background-color: var(--background-light);
}
.social-bar {
    display: none;
}
.main-content {
    margin-inline-end: unset;
    margin: auto;
}
.main-content__container.container {
   margin: auto;
}
.node--view-mode-teaser::after{
    display: none;
}
.text-content, .cke_editable {
    font-family: 'Source Sans Pro';
}
/* Blockquote */
.text-content blockquote, .cke_editable blockquote {
    font-size: 1.375rem;
    line-height: 2.5rem;
    font-family: 'Source Sans Pro';
}
.text-content blockquote::before, .cke_editable blockquote::before {
    color: var(--sekundaerfarbe);
}
.text-content blockquote::after, .cke_editable blockquote::after {
    background: var(--primaerfarbe-light);
}
.text-content li::marker {
    color: var(--primaerfarbe-hover);
    font-weight: 500;
}
/* Links */
.node__title a:hover, .node__title a:focus {
    color: var(--primaerfarbe-hover);
}
.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) {
    color: var(--primaerfarbe-hover);
    box-shadow: inset 0 -2px 0 0 var(--primaerfarbe-hover);
    font-size: 500;   
}
.text-content a:where(:not(.button)):hover, .cke_editable a:where(:not(.button)):hover {
    color: var(--text-farbe);
    box-shadow: inset 0 -2em 0 0 var(--primaerfarbe-light);
    text-decoration: none;
}
.node--view-mode-teaser .node__meta a {
    color: var(--primaerfarbe-hover);
    font-weight: 500;
}
/* Formular */
[type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea {
    color: var(--text-farbe);
    border-radius: 0;
    background-color: #E4E8EE;
    border-top: solid 3px var(--transparent);
    border-right: solid 3px var(--transparent);
    border-bottom: solid 3px var(--primaerfarbe-hover);
    border-left: solid 3px var(--transparent);
}
:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus {
    border-width: 0;
    outline-width: 3px;
    outline-style: solid;
    outline-offset: 0;
    border: solid 3px var(--sekundaerfarbe);
    outline: none;
}
[type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea {
    width: 100%;
  }
.form-item__label.form-required::after, .fieldset__label.form-required::after, .required-mark::after {
    background-image: none;
    content: "*";
    color: var(--sekundaerfarbe);
    font-weight: 500;
} 

/** ---------- Menü ---------- **/
.site-header {
    min-height: unset;
}
#header #site-header__inner .container {
    /*width: 100%;*/
    max-width: 100%;
    padding: 0 10px 0 0;
}
#block-ashera-site-branding {
  min-height: unset;
  background-image: none;
  padding-block-end: 0;
}
.site-header__initial {
    background-color: var(--sekundaerfarbe);
}
#site-header__inner {
    background-color: var(--primaerfarbe-light);
    background-image: url(/themes/ashera/images/menu-graphic-2.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
}
.site-branding__text {
    color: var(--text-farbe);
    font-family: 'Libre Baskerville';
}
.site-branding__logo {
    /*align-self: end;*/
    background-color: var(--sekundaerfarbe);
}
.site-branding__logo img {
    padding: 5px;
    max-height: 108px;
}
.header-nav {
    background-color: var(--transparent);
}
.primary-nav__menu-link-inner::after{
    border-top: solid 3px var(--sekundaerfarbe) !important;
}
.primary-nav__menu-link-inner{
    padding-block: 10px !important;
}
.sticky-header-toggle{
    background-color: var(--sekundaerfarbe);
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link:focus::before {
    border: solid 2px var(--primaerfarbe-hover);
}
body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed {
    max-width: unset;
}
/*Suche*/
.block-search-wide__button[aria-expanded="true"] {
    background: var(--primaerfarbe-hover);
}
.block-search-wide__wrapper{
    background: #E4E8EE;
    border-inline-start: none;
    height:unset;
    max-width: none;
}
[dir] .block-search-wide__wrapper input[type="search"] {
    background-image: linear-gradient(var(--sekundaerfarbe), var(--sekundaerfarbe));
}
.block-search-wide__wrapper input[type="search"] {
    color: var(--text-farbe);
}
.block-search-wide__wrapper .search-form__submit .icon--search{
    position: unset;
    margin: auto;
}
.block-search-wide__wrapper input[type="search"] {
    height: 70px;
}
.block-search-wide__container {
    max-width: unset;
}
.block-search-wide__wrapper input[type="search"] {
    padding-inline-start: 190px;
}
[dir] .block-search-wide__wrapper input[type="search"] {
    background-size: 0% 1px;
}
[dir] .block-search-wide__wrapper input[type="search"]:focus {
    background-size: 100% 3px;
}
.block-search-wide__wrapper .search-form__submit {
    width: 70px;
    background-color: var(--sekundaerfarbe);
    border: none;
    border-radius: 0;
}
.block-search-wide__wrapper .search-form__submit:hover {
    background-color: var(--primaerfarbe-hover);
}
.block-search-wide__wrapper form {
    grid-column: 1 / 15;
}

/*Mobiel*/
.header-nav.is-active {
    /*border-top-width: calc(var(--sp5) + var(--drupal-displace-offset-top, 0px));*/
    border-top: solid 150px var(--primaerfarbe-light);
    background-color: var(--primaerfarbe-light);
}
.mobile-buttons {
    margin-block-start: unset;
    align-items: center;
    display: flex;
}
.mobile-nav-button__icon::before,
.mobile-nav-button__icon,
.mobile-nav-button__icon::after{
    border-top: solid 3px var(--text-farbe);
}
.block-search-narrow {
    background: var(--background-light);
}
.block-search-narrow .search-form__submit{
    background-color: var(--sekundaerfarbe);
}
.primary-nav__menu-link:focus {
    outline: solid 2px var(--primaerfarbe-hover);
}
.block-search-narrow input[type="search"]{
    background-image: linear-gradient(var(--sekundaerfarbe), var(--sekundaerfarbe));
    color: var(--text-farbe);
}
body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed{
   inset-block-start: unset;
}
body:not(.is-always-mobile-nav) .site-footer {
    border-inline-start: none;
}

/** ---------- Footer ---------- **/
.site-footer {
    color: var(--background-light);
    background: var(--background-dark);
    position: relative;
    margin-top: 150px;
    z-index: 1;
}
.site-footer .site-footer__inner {
    padding: 20px;
    margin: auto;
}
.site-footer .region--footer_top__inner {
    margin-bottom: 20px;
}
.site-footer .region--footer_top__inner .text-content p {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}
.site-footer .text-content a {
    text-decoration: none;
    color: var(--background-light);
}
.site-footer .region--footer-bottom {
    border-top: solid 2px var(--primaerfarbe-hover);
    padding-top: 10px;
}
.site-footer .region--footer-bottom .text-content {
    font-family: 'Source Sans Pro';
}
.site-footer .text-content a:hover {
    text-decoration: underline;
    transition: 0.3s;
}
.site-footer  .w-footer__infos__left {
    float: left;
}
.site-footer .w-footer__infos__right {
    display: flex;
    align-items: center;
    float: right;
}
.site-footer .w-footer__infos__right img {
    width: 30px;
    margin-left: 5px;
}
.site-footer::before {
    content: "";
    background-image: url(/themes/ashera/images/footer-graphic.svg);
    position: absolute;
    background-repeat: no-repeat;
    top: -120px;
    background-size: cover;
    width: 100%;
    height: 120px;
    background-position: center;
}

/** --------------------  Media Query  -------------------- **/
@media (min-width: 62.5rem){
    .layout--content-medium, .layout--pass--content-medium > * {
        grid-column: 2 / 14;
    }
}
@media only screen and (min-width: 600px) {
    h1{
        font-size: 3.375rem;
        line-height: 4.4rem;
    }
    h2, .block__title {
        font-size: 2.875rem;
        line-height: 3.5rem;
    }
    h3{
        font-size: 2.375rem;
        line-height: 3.2rem;
    }
    h4{
        font-size: 1.875rem;
        line-height: 2.8rem;
    }
    h5{
        font-size: 1.375rem;
        line-height: 2.2rem;
    }
    h6{
        font-size: 1.25rem;
        line-height: 2.0rem;
    }
}
 /* Extra large devices (large laptops and desktops, 1200px and up) */
 @media only screen and (min-width: 1200px) {
    #header #site-header__inner .container {
        padding: 0 100px 0 0;
    }
 } 