/* pweb-base.css, 2025-06-04, gerald petter */

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

*, *:after, *:before {
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
  
h1, h2, h3, h4, h5, h6 { 
  font-weight: normal;}
  
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  -webkit-text-size-adjust: 100%;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Standardisierung ----------------------------------------------------------------------------------------------------------------- */
body {
	font-family: sans-serif;
  font-weight: 400;
	line-height: 1.3;
  min-width: 320px;
  background-color: white;
  color: black;
}
        
address {
  font-style: normal;
}

img {
  vertical-align: bottom;
}

.p--indent {
  padding-left: calc(var(--hDist) / 2);
}

/* ArrowTop ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#arrowTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  border: solid 2px rgb(210, 210, 210);
  cursor: pointer;
  display: block;
  transition: all .3s linear;
}
  @media screen and (min-width: 93.75em) {
    #arrowTop {
      width: 60px;
      height: 60px;
      border-radius: 60px;
    }
  }
  
#arrowTop[hidden] {
  display: none;
}

#arrowTop span {
  display: none;
}

#arrowTop:hover {
  border: solid 2px rgb(247, 41, 54);
}

#arrowTop a:focus {
  background-color: transparent;
}

#arrowTop a {
  border-style: solid;
  border-color: rgb(210, 210, 210);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 8px;
  transform: rotate(-135deg);
  margin-top: 13px;
  margin-left: 9px;
  transition: all .3s linear;
}
  @media screen and (min-width: 93.75em) {
    #arrowTop a {
      padding: 12px;
      margin-top: 20px;
      margin-left: 15px;
    }
  }
  
#arrowTop:hover a {
  border-style: solid;
  border-color: rgb(247, 41, 54);
  border-width: 0 2px 2px 0;
}

/* navigation-base ================================================================================== */
nav ul {  
  list-style: none;
}

nav a {
  text-decoration: none;
}

.header__nav {
	position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  transition: all .2s linear;
}
  
/* button menu toggle */
.nav__btn {
  font-size: 0;
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 26px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  background-color: transparent;
  z-index: 31;
}

.nav__btn span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: rgb(120, 120, 120);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .4s ease-in-out;
}

.nav__btn span:nth-child(1) {
  top: 0px;
}

.toggled .nav__btn span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

.nav__btn span:nth-child(2) {
  top: 10px;
}

.toggled .nav__btn span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav__btn span:nth-child(3) {
  top: 20px;
}

.toggled .nav__btn span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

.nav__btn:hover span {
  background-color: rgb(20, 20, 20);
}

/* menu list */
.nav__list {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  visibility: hidden;
  opacity: 0;
  background-color: rgb(255, 255, 255);
  transition: .4s ease-in-out;
  height: 100vh;
}
  @media screen and (min-width: 56.25em) {
    .nav__list {
      gap: 20px;
    }
  }
  
.toggled .nav__list {
  visibility: visible;
  opacity: 1;
  max-height: 100vh;
  height: 100vh;
  overflow-y: scroll;
  text-align: center;
}

.nav__item {
  margin: 3px auto;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgb(90, 90, 90);
}
  @media screen and (min-width: 56.25em) {
    .nav__item.hidden {
      display: none;
    }
  }

.nav__item--parent {
  cursor: pointer;
}

.nav__item a {
  width: 100%;
  display: inline-block;
  color: rgb(90, 90, 90);
}

.nav__item a:hover {
  color: rgb(0, 0, 0);
  transition: .2s ease-in-out;
}

.nav__item.current > a {
  color: rgb(150, 150, 150);
}

/* auskommentieren, wenn nur button gewünscht */
@media screen and (min-width: 56.25em) {
  .nav__btn {
    display: none;
  }
}

@media screen and (min-width: 56.25em) {
  .nav__list {
    max-height: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    visibility: visible;
    opacity: 1;
    height: auto;
    padding: 0;
  }
}

@media screen and (min-width: 56.25em) {
  .nav__item {
    margin: 0;
  }
}
