/* Fonts */

@font-face {
    font-family: 'heebo';
    src: url('../fonts/heebo-light-webfont.woff2') format('woff2'),
         url('../fonts/heebo-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'heebo';
    src: url('../fonts/heebo-regular-webfont.woff2') format('woff2'),
         url('../fonts/heebo-regular-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'argesta';
    src: url('../fonts/argesta_headline-webfont.woff2') format('woff2'),
         url('../fonts/argesta_headline-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Variables */
:root {
  --caret-down: url("data:image/svg+xml,%3Csvg fill='none' height='7' viewBox='0 0 8 6' width='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.58301.00048799.92041-.00000004-3.40576 5.23681205h-.5586l.06983-.59668zm-2.67578 4.63379201.05713.60302h-.56495l-3.39941023-5.23681172.91406223-.00000004z' fill='%231a1a1a'/%3E%3C/svg%3E");
}


html {
  color: black;
  background-color: #f8f8f8;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* Grid Defs */
.grid{
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  grid-gap: 0;
}

.grid .col1 { grid-column-start: 1; }
.grid .col2 { grid-column-start: 2; }
.grid .col3 { grid-column-start: 3; }
.grid .col4 { grid-column-start: 4; }
.grid .col5 { grid-column-start: 5; }
.grid .col6 { grid-column-start: 6; }
.grid .col7 { grid-column-start: 7; }
.grid .col8 { grid-column-start: 8; }
.grid .col9 { grid-column-start: 9; }
.grid .col10{ grid-column-start: 10; }
.grid .col11{ grid-column-start: 11; }
.grid .col12{ grid-column-start: 12; }

.grid .span1 { grid-column-end: span 1; }
.grid .span2 { grid-column-end: span 2; }
.grid .span3 { grid-column-end: span 3; }
.grid .span4 { grid-column-end: span 4; }
.grid .span5 { grid-column-end: span 5; }
.grid .span6 { grid-column-end: span 6; }
.grid .span7 { grid-column-end: span 7; }
.grid .span8 { grid-column-end: span 8; }
.grid .span9 { grid-column-end: span 9; }
.grid .span10{ grid-column-end: span 10; }
.grid .span11{ grid-column-end: span 11; }
.grid .span12{ grid-column-end: span 12; }

.row1 { grid-row-start: 1; }
.row2 { grid-row-start: 2; }
.row3 { grid-row-start: 3; }

.aligncenter{
  align-self: center;
}



body{
  font-family: heebo;
  font-size: 16px;
  line-height: 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

h1, h2, h3, h4, h5, h6{
  font-family: argesta;
  font-weight: normal;
  margin: 0 0 1em;
}

a{
  color:#000;
}

a:hover{
  color:#A97C67;
}

img{
  max-width: 100%;
  height: auto;
  margin: 0 0 4em;
}
svg{
  max-width: 100%;
  height: auto;
}

blockquote{
  margin: 0 0 48px;
  font-size: 1.5em;
  line-height: 2em;
}
/* Der Panel-Editor (writer) verschachtelt Zitatinhalt in <p>.
   Ohne das hier kaemen die Browser-Standardmargins doppelt dazu. */
blockquote > p{
  margin: 0;
}
blockquote > p + p{
  margin-top: 1em;
}

figure{
  margin: 0 0 4em;
}
figure img{
  margin: 0 0 0.5em;
}
figcaption{
  font-size: 0.8em;
  line-height: 1.5em;
  margin-top: 0.5em;
}
figure.small-figure{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 2em;
  align-items: center;
}
figure.small-figure img{
  aspect-ratio: 1/1;
  object-fit: cover;
}
figure.small-figure figcaption{
 font-size: 1rem;
 line-height: 1.5em;
  margin-top: 0;
}
@media only screen and (max-width: 1023px) {
  figure.small-figure{
    max-width: 70%;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }
  figure.small-figure figcaption{
    font-size: 0.8rem;
  }
}

figure.medium-figure{
  max-width: 70%;
  margin-inline: auto;
}
@media only screen and (max-width: 1023px) {
  figure.medium-figure{
    max-width: 90%;
  }
}

figure.large-figure{
  max-width: 1200px;
}
figure.large-figure figcaption{
  text-align: right;
}


.site{
  margin: 10vh auto;
  word-break: break-word;
  /*-webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;*/
}

.site p{
  margin: 0 0 4em;
  grid-column-start: 5;
  grid-column-end: 12;
}

.site .small-margin{
  margin-bottom: 0.5em;
}

.site .middle-margin{
  margin-bottom: 2em;
}

/* Spalte mit engem Absatzabstand: Absätze rücken zusammen, der letzte
   hält den normalen Abstand — oder 2em, wenn noch Logos folgen. */
.site .eng p{
  margin-bottom: 0.5em;
}
.site .eng p:last-of-type{
  margin-bottom: 4em;
}
.site .eng p:last-of-type:not(:last-child){
  margin-bottom: 2em;
}

.willkommen{
  margin-bottom: -10vh;
}


.svglink:hover .hoverfill{
  fill: #A97C67;
}
.svglink:hover .hoverstroke{
  stroke: #A97C67;
}
.svglink:hover .hoverfillwhite{
  fill: #fff;
}


.wegweiser{
  margin-top: 4em;
  text-decoration: none;
}

.wegweiser img{
  margin-bottom: 1.5em;
}

.wegweiser p{
  color: black;
  margin-bottom: 15em;
}

.angebote p{
  margin-bottom: 0;
}
.angebote:last-child p{
  margin-bottom: 4em;
}

.kleiner-text{
  font-size: .8em;
  line-height: 1.8em;
}

.kleine-logos{

}


.blog-archive-title{
  margin-top: 4em;
  background: url('/assets/img/blog-archive.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}
.blog-archive-title h1{
  color: #fff;
  /* padding: 2em 0; */
}
@media only screen and (max-width: 1023px) {
  .blog-archive-title{
    margin-top: 0;
  }
  .blog-archive-title  h1.headline {
    margin-top: .5em;
  }
}
.blog-archive-title small{
  font-family: heebo;
  font-weight: bold;
  font-size: 1rem;
  line-height: 3;
}

.blog-archive-sort{
  margin-top: 4em;
}
.blog-archive-sort-button{
  display: flex;
  align-items: center;
  gap: 1ch;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
}
.blog-archive-sort-button:hover{
  color: #A97C67;
}
.blog-archive-sort-button::after{
  content: "";
  display: inline-block;
  width: 11px;
  height: 7px;
  margin-block: 0.125em 0;
  background-color: #1A1A1A;
  mask: no-repeat var(--caret-down);
  mask-position: right center;
}
.blog-archive-sort-button:hover::after{
  background-color: #A97C67;
}

.blog-archive-sort-button.asc::after{
  transform: rotate(180deg);
  margin-block: 0 0.025em;
}

.blog-archive-posts{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4em;
}
@media only screen and (max-width: 1023px) {
  .blog-archive-posts{
    grid-template-columns: 1fr;
    gap: 0;
  }
}


.wegweiser-blog{
  margin-top: 4em;
  text-decoration: none;
}
.wegweiser-blog img{
  margin-bottom: 1em;
}
.wegweiser-blog-title{
  margin: 0;
}

.site .meta{
  margin: 0 0 0.25em;
  font-size: 0.8125rem;
}
.blog-single .meta{
  font-weight: bold;
}
.blog-single-title{
  text-align: center;
}
.blog-single-title h1.headline{
  margin-bottom: 2rem;
}
@media only screen and (max-width: 1023px) {
    .blog-single-title  h1.headline {
        margin-top: 2rem;
    }
}
.blog-single h2{
  font-size: 2.125rem;
  line-height: 1.4;
}
@media only screen and (max-width: 1023px) {
  .blog-single h2{
    font-size: 1.75rem;
  }
}

.blog-single :is(h3, h4, h5, h6){
  font-family: heebo;
  font-weight: bold;
  line-height: 1.5;
}
.blog-single h3{
  font-size: 1.4rem;
}


:where(.blog-single) > :is(h1, h2, h3, h4, h5, h6, blockquote, figure, img, ul, ol),
.blog-single p{
  grid-column-start: 5;
  grid-column-end: 11;
}
@media only screen and (max-width: 1023px) {
  :where(.blog-single) > :is(h1, h2, h3, h4, h5, h6, blockquote, figure, img, ul, ol),
  .blog-single p{
    grid-column-start: 4;
    grid-column-end: 12;
  }
}

/* Listen aus dem Fließtext: Abstand nach unten wie bei Absätzen */
.blog-single > :is(ul, ol){
  margin: 0 0 4em;
}

.blog-single blockquote{
  margin: 0 0 4rem 1.5em;
  padding-left: 1.5em;
  border-left: 2px solid #bbb;
  font-size: 1.15em;
  line-height: 2em;
  color: #888;
}
@media only screen and (max-width: 1023px) {
  .blog-single blockquote{
    margin-left: 0em;
    padding-left: 1em;
  }
}



.blog-navigation{
  margin-top: 4em;
  display: flex;
  justify-content: space-between;
}
.blog-navigation .prev-post,
.blog-navigation .next-post,
.blog-navigation .totop{
  background: url(/assets/img/page-punkt-arrow.svg) no-repeat;
  width: 4rem;
  height: 4rem;
}
.blog-navigation .prev-post:hover,
.blog-navigation .next-post:hover,
.blog-navigation .totop:hover{
  opacity: 0.7;
}

.blog-navigation .prev-post{
  transform: rotate(-90deg);
}
.blog-navigation .next-post{
  transform: rotate(90deg);
}





.sitefooter{
  width:100%;
  height: 100px;
  border-top: 1px solid #000;
}

.innerfooter{
  height: 100%;
  max-width: 1600px;
  margin: auto;
}
.sitefooter p {
}

.sitefooter p.footer_links {
  text-align: right;
}


.sitefooter a {
  text-decoration: none;
  color: black;
}


hr {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}





.navigation_list {
  font-family: heebo;
  font-weight: lighter;
  list-style: none;
  padding: 0;
  margin-top: 4em;
  margin-left: 0;
}


h1.headline {
  font-size: 5em;
  line-height: 1em;
  margin-top:0;
  margin-bottom: 1em;
}

.navigation_list a {
  display: inline-block;
  text-decoration: none;
}

.navigation_list a.active:before,
.navigation_list a:hover:before,
.navigation_list a.sub-active:before{
  content:"";
  position: absolute;
  display: block;
  margin-left: -1.3em;
  margin-top: .7em;
  width: .7em;
  height: .7em;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 8.77 8.77' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.76 4.5a4.43 4.43 0 0 0 -4.24-4.5 4.2 4.2 0 0 0 -4.52 4.5c.15 3 2.15 4.43 4.37 4.25 3.69-.31 4.23-2.48 4.39-4.25' fill='%23a97c67'/%3E%3C/svg%3E");
  background-size: 100%;
}
.navigation_list a.sub-active:not(:hover):before{
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-1 -1 10.77 10.77' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.76 4.5a4.43 4.43 0 0 0 -4.24-4.5 4.2 4.2 0 0 0 -4.52 4.5c.15 3 2.15 4.43 4.37 4.25 3.69-.31 4.23-2.48 4.39-4.25' fill='none' stroke='%23a97c67' stroke-width='2' /%3E%3C/svg%3E");
}



.wegweiser-svg{
  max-height: 245px;
  height: 100%;
  width: auto;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.aligncenter{
  text-align: center;
}



/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}


.mobile-only{
  display: none;
}


/* ==========================================================================
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1023px) {
  /* Style adjustments for viewports that meet the condition */

  .mobile-only{
    display: block;
  }

  .desktop-only{
    display: none;
  }

  /* Mobile Grid */
  .grid .col4,
  .grid .col5,
  .grid .col6,
  .grid .col7,
  .grid .col8,
  .grid .col9,
  .grid .col10,
  .grid .col11,
  .grid .col12 { 
    grid-column-start: 4; 
    grid-column-end: 12;
  }
  .grid .mobile-fullwidth,
  .grid .wegweiser-svg{
    grid-column-start: 2; 
    grid-column-end: span 10;
  }
  .wegweiser-svg{
    margin-top: 4em;
    margin-bottom: -10vh;
  }


   .navigation.menu-open{
    display: block;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #f8f8f8;
    text-align: center;
  }
  .navigation_list{
    margin-top: 2em;
    font-size: 1.3em;
    line-height: 2em;
  }
  .navigation_list a.active:before,
  .navigation_list a:hover:before{

  }

  .mobile-menu-toggle{
    height: 0;
    margin: 0;
    padding: 0 0 128% 0;
    border:0;
    border-radius:0;
    background: none;
  }
  .mobile-menu-toggle svg{
    width: 100%;
    max-width: 35px;
  }
  .mobile-menu-close{
    width: 100%;
    margin: 56px 0 0 0;
    padding: 10px;
    border: 0;
    border-radius: 0;
    background: none;
  }


  /*footer correction*/
  .sitefooter .innerfooter p:first-child{
    grid-column-start: 2; 
    grid-column-end: span 4;
  }
  .sitefooter .innerfooter p:last-child{
    grid-column-start: 7; 
    grid-column-end: span 5;
  }



  h1.headline {
    margin-top: 2em;
    font-size: 2em;
    font-size: min(10vw, 2.5em);
  }

  .wegweiser p {
    margin-bottom: 5em;
  }

  .willkommen_mobil{
    
  }

  .wegweiser-svg{
    max-width: 100%;
    height: auto;
    max-height: none;
  }


 

}




@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}



/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

