  /*
  Theme Name: Orgaberatung
  Author: Hannes Welk
  Description: Theme für die Seite von Orgaberatung, erstellt am 27.01.2026
  */

  /* --------------------------------------------------
     reset
  -------------------------------------------------- */

  * { 
    box-sizing:border-box;
    outline:0;
  }

  html { 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,
  b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
  menu, nav, output, ruby, section, summary,time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
  }

  article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

/*  ol, ul { list-style: none; }*/

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }


  /* --------------------------------------------------
     font import
  -------------------------------------------------- */



/* unbounded-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/unbounded-v7-latin_latin-ext-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/unbounded-v7-latin_latin-ext-200.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* unbounded-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/unbounded-v7-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/unbounded-v7-latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* unbounded-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/unbounded-v7-latin_latin-ext-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/unbounded-v7-latin_latin-ext-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* unbounded-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/unbounded-v7-latin_latin-ext-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/unbounded-v7-latin_latin-ext-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

  /* atkinson-hyperlegible-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/atkinson-hyperlegible-v10-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/atkinson-hyperlegible-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/atkinson-hyperlegible-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/atkinson-hyperlegible-v10-latin-regular.svg#AtkinsonHyperlegible') format('svg'); /* Legacy iOS */
  }
  /* atkinson-hyperlegible-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/atkinson-hyperlegible-v10-latin-italic.eot'); /* IE9 Compat Modes */
    src: url('fonts/atkinson-hyperlegible-v10-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/atkinson-hyperlegible-v10-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/atkinson-hyperlegible-v10-latin-italic.svg#AtkinsonHyperlegible') format('svg'); /* Legacy iOS */
  }
  /* atkinson-hyperlegible-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/atkinson-hyperlegible-v10-latin-700.eot'); /* IE9 Compat Modes */
    src: url('fonts/atkinson-hyperlegible-v10-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/atkinson-hyperlegible-v10-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-700.woff') format('woff'), /* Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/atkinson-hyperlegible-v10-latin-700.svg#AtkinsonHyperlegible') format('svg'); /* Legacy iOS */
  }
  /* atkinson-hyperlegible-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/atkinson-hyperlegible-v10-latin-700italic.eot'); /* IE9 Compat Modes */
    src: url('fonts/atkinson-hyperlegible-v10-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/atkinson-hyperlegible-v10-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/atkinson-hyperlegible-v10-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/atkinson-hyperlegible-v10-latin-700italic.svg#AtkinsonHyperlegible') format('svg'); /* Legacy iOS */
  }






/* --------------------------------------------------
   typography
-------------------------------------------------- */

html {
  font-size:15px;
}

  @media only screen and (min-width :  600px) { html { font-size:16px; } }
  @media only screen and (min-width :  800px) { html { font-size:17px; } }
  @media only screen and (min-width : 1000px) { html { font-size:18px; } }
  @media only screen and (min-width : 1200px) { html { font-size:19px; } }

body {
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.5;
  color:#333;
}

h1,h2,h3,h4,.heading {
  font-family:var(--font-head);
  line-height: 1.2;
  font-weight:900;
  hyphens:auto;
/*  hyphenate-limit-chars: 10 3 4;*/
}

h1 {
  font-size:2.5rem;
  font-weight:900;
  margin-bottom:3rem;
}

h2 {
    font-size:1.5rem;
    font-weight:300;
    margin: 3rem 0 2rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 2rem 0 1rem;
}

h4 {
  font-size:1rem;
  font-weight:900;
  margin: 2rem 0 1rem;
}

p {
  margin:1.6rem 0;
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
  margin-top:0;
}

p:last-child {
  margin-bottom:0;
}

a {
  color:inherit;
  text-decoration: underline;
}

strong {
    font-weight:700;
}

.black {
    font-weight:900;
}

em {
  font-style:italic;
}

.small {
  font-size:80%;
}

*:focus {
  outline: 2px solid var(--color-purple);
}



/* --------------------------------------------------
   default wp blocks
-------------------------------------------------- */

.wp-block-gallery,
.wp-block-accordion,
.wp-block-site-logo {
  margin:var(--default-padding) 0;
}




/* --------------------------------------------------
   general
-------------------------------------------------- */

.onlydesktop { display:none; }

@media (hover: hover) {
  .onlymobile { display:none !important; }
  .onlydesktop { display:inherit; }
}

body {
  background:white;
}








/* --------------------------------------------------
   cookie banner
-------------------------------------------------- */

.cookiebanner {
  display:none;
  position:fixed;
  bottom:-100%;
  transition:bottom .5s ease-out;
  width:100%;
  background:rgb(51,51,51);
  color:white;
  display:flex;
  flex-direction: column;
  gap:2rem;
  justify-content: center;
  z-index:10;
  padding:var(--default-padding);
}

  .cookiebanner.active {
    bottom:0;
  }

  .cookiebanner > * {
    flex:1 0 0;
    max-width:var(--default-max-width);
  }

  .cookiebanner-title span {
    font-size:3rem;
  }

  .cookiebanner .button:not(.button-inverse) {
    background-color: white;
    border-color:white;
    color:rgb(51 51 51);
  }

  .cookiebanner .button:focus {
    outline:2px solid #ccc;
  }

@media only screen and (min-width : 900px) { 

  .cookiebanner { flex-direction:row; }

}







/* --------------------------------------------------
   skip link (for screen readers)
-------------------------------------------------- */

.skiplink {
  display:block;
  position:absolute;
  top:-100%;
  background:var(--color-purple);
  padding:.5rem;
  text-align:center;
  color:white;
  font-size: .8rem;
  font-weight: bold;
}

.skiplink:focus {
  position:static;
}







/* --------------------------------------------------
   header
-------------------------------------------------- */

header {
  position:sticky;
  top:0;
  width:100%;
  height:var(--header-height);
  background:#fbfbfb;
  display:flex;
  justify-content: space-between;
  align-items: stretch;
  z-index:999999; /* so it sits on top of the wordpress admin bar */
  box-shadow:0 .25rem .5rem rgba(0,0,0,.2);
}

  .header-logo {
  }

    .header-logo img {
      display:block;
      height:100%;
      width:auto;
      padding:1vh;
    }

  .header-menu {
    display:flex;
    height:100%;
  }

    .header-menu ul {
      list-style: none;
      display:flex;
      height:100%;
    }

      .header-menu li {
      }

    .header-logo:focus,
    .header-menu a:focus,
    .header-menu .button:focus {
      outline:none;
      background:var(--color-purple-lightest);
    }

    .header-menu #menu-headermenue a {
      display:flex;
      align-items: center;
      padding:0 .9rem;
      height:100%;
      font-weight:bold;
      font-size:.8rem;
      text-decoration: none;
    }

    .header-menu a:hover,
    .header-menu .current-menu-item a {
      background:var(--color-blue);
      /*color:white;*/
    }

    .header-menu .button {
      background:transparent;
      border-radius: 0;
      border:none;
      color:#333;
      box-shadow: none;
      padding: .5rem 1.2rem;
    }

      .header-menu .button-label {
        display:none;
      }

    .header-menu .button:hover  {
      background:var(--color-purple);
      color:white;
    }

@media only screen and (min-width : 1050px) { 

    .header-menu .button { padding: .5rem .9rem; }

      .header-menu .button-label { display:inherit; }
}


/* hide header nav items on small screens */

@media only screen and (max-width : 1050px) { 
  .header-menu > ul > li:nth-child(8) { display:none; }
}

@media only screen and (max-width :  950px) { 
  .header-menu > ul > li:nth-child(7) { display:none; }
}

@media only screen and (max-width :  850px) { 
  .header-menu > ul > li:nth-child(6) { display:none; }
}

@media only screen and (max-width :  750px) { 
  .header-menu > ul > li:nth-child(5) { display:none; }
}

@media only screen and (max-width :  650px) { 
  .header-menu > ul > li:nth-child(4) { display:none; }
}

@media only screen and (max-width :  550px) { 
  .header-menu > ul > li:nth-child(3) { display:none; }
}

@media only screen and (max-width :  450px) { 
  .header-menu > ul > li:nth-child(2) { display:none; }
}

@media only screen and (max-width :  400px) { 
  .header-menu > ul > li:nth-child(1) { display:none; }
}








/* --------------------------------------------------
   sections
-------------------------------------------------- */

.section {

}

.section--blue {
  background:var(--color-blue);
}

.section--green {
  background:var(--color-green);
}

  .section-title {
    /*text-transform:uppercase;*/
    text-align:center;
    font-weight:bold;
    font-size:1.5rem;
    /*letter-spacing: .2rem;*/
    padding:3rem 0;
    /*text-decoration: underline;*/
    text-decoration-thickness: 4px;
  }

  .section--blue .section-title {
    color:#2760a2;
    text-decoration-color:white;
  }

  .section--green .section-title {
    color:white;
    text-decoration-color:lightgreen;
  }












/* --------------------------------------------------
   hero area
-------------------------------------------------- */

.hero {
  display:flex;
  min-height:80vh;
  justify-content: flex-end;
  align-items:stretch;
}

  .hero-image {
    flex:50% 1 1;
    background-size:cover;
    background-position:center center;
  }

  .hero-text {
    flex:50% 1 1;
    padding:var(--default-padding);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

    .hero-text > * {
      max-width:var(--default-max-width);
    }

    .hero-text h1 {
      margin-bottom:1rem;
    }

    .hero-text .buttonset {
      width:100%;
    }








/* --------------------------------------------------
   topics
-------------------------------------------------- */
.topics {
  padding:var(--default-padding);
}

  .topics-list {
    list-style:none;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    width:100%;
    gap:2rem;
    align-items: flex-start;
  }

    .topic {
      flex:35rem 1 0;
      max-width:40rem;
      background:white;
      padding:var(--default-padding);
      display:flex;
      gap:3rem;
      align-items: flex-start;
      justify-content: center;
      margin:0 auto;
      border:3px solid var(--color-blue-dark);
    }

      .topic-image {
        display:block;
        width:7rem;
        height:7rem;
        object-fit: contain;
      }

      .topic svg {
        display:block;
        width:6rem;
        height:6rem;
        object-fit: contain;
      }

      .topic-text {
        max-width:26rem;
      }

        .topic-text h3 {
          font-size:1.5rem;
          font-weight:bold;
        }

        .topic-fulltext {
          display:none;
        }

          .topic-fulltext p {
            opacity:1;
            animation:fadein .5s ease;
          }

          @keyframes fadein {
            0% { opacity:0; }
            30% { opacity:0; }
            100% { opacity:1; }
          }





/* --------------------------------------------------
   services
-------------------------------------------------- */
.services {
  background:var(--color-green);
  padding:var(--default-padding);
}

  .services .section-title {

  }

  .services-list {
    list-style:none;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:1fr 1fr 1fr 1fr;
    width:100%;
    gap:1rem;
  }

    .service {
      width:100%;
      max-width:26rem;
      background:white;
      padding:var(--default-padding);
      display:flex;
      flex-direction:column;
      gap:2rem;
      align-items: center;
      margin:0 auto;
      border:3px solid var(--color-green-light);
    }

      .service-image {
        display:block;
        width:7rem;
        height:7rem;
        object-fit: contain;
      }

      .service svg {
        display:block;
        width:6rem;
        height:6rem;
        object-fit: contain;
      }

      .service-text {
        max-width:26rem;
      }

        .service-text h3 {
          font-size:1.3rem;
          font-weight:bold;
        }

@media only screen and (min-width :  600px) { 

  .services-list {
    grid-template-columns:1fr 1fr;
    grid-template-rows:1fr 1fr;
  }

}

@media only screen and (min-width : 1200px) { 

  .services-list {
    grid-template-columns:1fr 1fr 1fr 1fr;
    grid-template-rows:1fr;
  }

}









/* --------------------------------------------------
   banner
-------------------------------------------------- */

.banner {
  background:var(--color-green);
  padding:1rem;
  flex-direction:column;
  gap:2rem;
  display:none;
}

.banner.active {
  display:flex;
}

  .banner-content {
    max-width:calc(1.5 * var(--default-max-width));
    display:flex;
    flex-direction:row;
    gap:2rem;
    flex:1;
    max-width:var(--default-max-width);
  }

    .banner-content-image img {
      width:5rem;
      height:5rem;
      border-radius:50%;
      object-fit: cover;
      box-shadow:.2rem .2rem .4rem rgba(0,0,0,.2);
    }

    .banner-content-text {
    }

      .banner-content-text p {
        margin:0;
      }

      .banner-content-text-announce {
        font-weight:bold;
        font-size:.8rem;
      }

      .banner-content-text-title {
        color:white;
        font-size:1.2rem;
      }

      p.banner-content-text-meta {
        font-size:.8rem;
        margin-top:.5rem;
        font-weight:bold;
      }

      .banner-buttons .button:not(.button-inverse) {
        background-color: white;
        border-color: white;
        color: #333;
      }

@media only screen and (min-width :  800px) { 

  .banner {
    flex-direction:row;
    align-items: center;
    justify-content: center;
  }

    .banner-buttons {
      flex-direction:column;
    }

}







/* --------------------------------------------------
   footer
-------------------------------------------------- */

footer {
  background:var(--color-blue-dark);
  color:white;
  text-align: center;
  padding:var(--default-padding);
}

  footer .button {
    color: white;
    border-color: var(--color-purple-lighter);
  }

  footer .button:hover {
    background-color:var(--color-purple-lighter);
  }

  footer ul {
    list-style: none;
  }

  .footer-social,
  .footer-admin,
  .footer-menu > ul {
    display:flex;
    justify-content: center;
    padding:var(--default-padding);
  }

    .footer-social .buttonset {
      justify-content: center;
      list-style: none;
    }

  .footer-menu > ul {
    gap: var(--default-padding);
    flex-wrap:wrap;
    font-size:.8rem;
    text-transform: uppercase;
  }


    .footer-menu > ul > .menu-item-has-children {
      flex-basis:8rem;
    }

      .footer-menu a {
        display:block;
        padding:.3rem;
        color:var(--color-purple-lightest);
        text-decoration: none;
      }

      .footer-menu a:hover,
      .footer-menu .current-menu-item a {
        color:white;
      }

      .footer-menu a[href='#'] {
        pointer-events: none;
        cursor: default;
        font-weight:bold;
        color:white;
      }

  @media only screen and (min-width :  800px) { 

    .footer-newsletter form { flex-direction: row; } 

    .footer-menu > ul { gap:calc(2*var(--default-padding)); } 


    .footer-menu > ul > .menu-item-has-children {
      flex-basis:10rem;
    }
  }
