/***********************************
Normal
************************************/
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 200;
  font-style: normal;
  src: url("../../fonts/Sparkasse_web_Lt.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 400;
  font-style: normal;
  src: url("../../fonts/Sparkasse_web_Rg.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 500;
  font-style: normal;
  src: url("../../fonts/Sparkasse_web_Md.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 700;
  font-style: normal;
  src: url("../../fonts/Sparkasse_web_Bd.woff") format("woff");
}
/***********************************
Italic
************************************/
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 400;
  font-style: italic;
  src: url("../../fonts/Sparkasse_web_it.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG";
  font-weight: 700;
  font-style: italic;
  src: url("../../fonts/Sparkasse_web_BdIt.woff") format("woff");
}
/***********************************
Headlines
************************************/
@font-face {
  font-display: swap;
  font-family: "Sparkasse RG Head";
  font-weight: 700;
  font-style: normal;
  src: url("../../fonts/SparkasseHead_web_Rg.woff") format("woff");
}
/***********************************
Variables
************************************/
body {
  /*Font Families */
  --ff-default: "Sparkasse RG", Arial;
  --ff-header: "Sparkasse RG Head", Arial;
  /* Colors */
  --s-clr-bg: #fff;
  --s-clr-1: #000;
  --s-clr-2: #fff;
  --s-clr-gray: #a9a9a9;
  --s-clr-primary: #e00;
  --s-clr-border: #e3e3e3;
  /* Shadow */
  --s-clr-boxshadow: 0 2px 4px rgba(86, 86, 86, 0.1),
      0 2px 8px rgba(86, 86, 86, 0.05);
  --s-clr-boxshadow-hover: 0 2px 8px rgba(86, 86, 86, 0.1),
      0 4px 8px rgba(86, 86, 86, 0.16);
  /*sizes*/
  --footer-height: 70px;
  /*Transitions*/
  --s-transition-default: all 100ms ease;
  --s-transition-slow: all 300ms ease;
  --s-transition-slower: all 500ms ease;
}

body.dark {
  --s-clr-boxshadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  --s-clr-boxshadow-hover: 0 4px 20px rgba(0, 0, 0, 0.7);
  --s-clr-bg: #1a1a1a;
  --s-clr-1: #fff;
  --s-clr-2: #292929;
  --s-clr-gray: #a9a9a9;
  --s-clr-primary: #e00;
  --s-clr-border: #4c4c4c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--ff-default);
  font-size: 1rem;
  min-height: 100%;
  width: 100%;
  background-color: var(--s-clr-bg);
  color: var(--s-clr-1);
  position: relative;
}
body:has(.single-footer) {
  padding-bottom: var(--footer-height);
}
@media screen and (max-width: 770px) {
  body {
    padding-bottom: 50px;
  }
}

.theme-toggle-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 99999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-header);
}

a {
  color: var(--s-clr-primary);
  text-decoration: none;
}

ul,
ol {
  margin-top: 2em;
  margin: 1.6em 0 0.8em;
  padding: 0;
  hyphens: none;
}
ul li,
ol li {
  margin-bottom: 0;
  margin-left: 1.5em;
  padding-left: 0.5em;
}
ul li ul,
ul li ol,
ol li ul,
ol li ol {
  margin: 0.8em 1em;
}
ul li ul li,
ul li ol li,
ol li ul li,
ol li ol li {
  margin-left: 0.3em;
}

p {
  line-height: 1.5;
}

p.is-style-no-underline {
  text-decoration: none;
}
p.is-style-no-underline a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

p.is-style-underline {
  text-decoration: underline;
}
p.is-style-underline a {
  text-decoration: underline;
}
