@charset "UTF-8";
@font-face {
  font-family: 'NectoMono-Regular';
  src: url(../../fonts/NectoMono-Regular.otf) format('opentype');
  font-weight: regular;
}
@font-face {
  font-family: 'Satoshi';
  src: url(../../fonts/Satoshi-Medium.otf) format('opentype');
}
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: 'Satoshi', sans-serif;
}
.header,
.header .menu,
body {
  display: flex;
  flex-direction: column;
}
body {
  padding: 3rem;
  background: linear-gradient(
    to bottom,
    #c0d1db 0,
    #e2e6f3 35%,
    #dff1d9 60%,
    #fff1cc 85%
  );
  min-height: 100vh;
}
a {
  color: #000;
  text-decoration: underline;
}
.header,
.header .menu {
  justify-content: space-between;
}
.header {
  position: fixed;
  top: 3rem;
  right: 3rem;
  width: 30%;
  height: calc(100vh - 6rem);
  align-items: center;
  font-family: 'NectoMono-Regular', monospace;
  font-size: 1.8rem;
  border-left: 2px solid #000;
  padding-left: 10px;
}
.header .menu {
  height: 50%;
  width: 100%;
}
.header a {
  padding: 10px 0;
}
.header a:hover,
button[type='submit']:hover {
  background-color: #fff;
}
.header .menu a,
.header a {
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.header .menu a {
  border-bottom: 2px solid #000;
  padding-bottom: 15vh;
  padding-left: 10px;
}
.header .menu a:last-child {
  border-bottom: none;
}
.header a:last-child:hover {
  background-color: transparent;
}
.logo-header,
section[id] {
  border-bottom: 2px solid #000;
  width: 67%;
}
.logo-header {
  height: 20vh;
}
.logo img {
  height: 6rem;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.main {
  flex-grow: 1;
  margin-bottom: 3rem;
}
.main h1 {
  margin-bottom: 1.5rem;
}
.custom-heading {
  font-family: 'Satoshi', sans-serif;
  margin-top: 5rem;
  margin-bottom: 0.8rem;
}
p {
  hyphens: auto;
  width: 90%;
  font-size: 1.5rem;
  line-height: 2.3rem;
  margin-top: 2rem;
}
.p-wrap {
  width: 100%;
}
section[id] {
  scroll-margin-top: 4rem;
  margin-bottom: 10rem;
  padding-bottom: 10rem;
}
section#kontakt {
  border-bottom: none;
}
.impressum-main {
  width: 67%;
}
.uebermich-section::after {
  content: '';
  display: table;
  clear: both;
}
details summary {
  width: 90%;
  font-size: 1.5rem;
  margin-top: 1rem;
  border-bottom: 2px solid #000;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '+';
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-left: 15px;
  transition: transform 0.3s ease;
}
details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.field {
  margin-bottom: 25px;
}
label {
  font-family: 'NectoMono-Regular', monospace;
  font-size: 1.3rem;
  display: block;
  padding: 10px;
}

 legend {
    font-family: 'NectoMono-Regular', monospace;
  font-size: 1.3rem;
  display: block;
  padding: 10px;
  }

.field-radio > div {
  display: flex;
  gap: 15px;
}
.field-radio label {
  display: inline-block;
}
.field-checkbox {
  display: flex;
  align-items: baseline;
}
.field-checkbox input[type='checkbox'] {
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  top: 10px;
  position: relative;
}
input[type='email'],
input[type='tel'],
input[type='text'],
select,
textarea {
  width: 80%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  border: 2px solid #000;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  resize: vertical;
}
input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  top: 10px;
  position: relative;
}
input[type='radio']:checked::before {
  content: '';
  width: 30px;
  height: 30px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
button[type='submit'] {
  font-family: 'NectoMono-Regular', monospace;
  padding: 15px 30px;
  font-size: 1.3rem;
  min-width: 150px;
  background-color: rgb(255, 255, 255);
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.alert.error {
    color: red;
    display: inline-block;
    padding-top: 10px;
}
ol,
ul {
  padding-left: 4rem;
  margin-top: 2rem;
  width: 80%;
  hyphens: auto;
  font-size: 1.5rem;
  line-height: 2.3rem;
}
li {
  list-style-position: outside;
  margin-left: -20px;
  margin-bottom: 1.5rem;
}
#formulare ul li::marker,
#rechtsgebiete ul li::marker {
  content: '– ';
  color: #000;
  font-weight: 700;
}
#formulare ul {
  padding-left: 0;
  margin-left: 0;
}
#formulare li {
  margin: 0 0 1.5rem;
  list-style-position: inside;
}
#formulare li a {
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid #000;
  display: inline;
}
#formulare li a::after {
  border-bottom: none;
  content: '↘';   
  font-size: 1.2em;
  margin-left: 0.3rem;
}
#formulare li p {
  font-family: 'NectoMono-Regular', monospace;
  margin: 1rem 0rem 3rem 2rem;
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: #000;
}

fieldset {
  border: 0;
}
.block-download-link {
  margin-top: 1.8rem;
  display: block;
}
.custom-download-button {
  font-size: 1.5rem;
  text-decoration: underline;
}

.custom-image {
  width: 25%;
  height: auto;
  float: left;
  margin-right: 50px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.burger-menu 
{
  position: fixed;
  right: 3rem;
}

.footer {
  position: absolute;
  font-family: 'NectoMono-Regular', monospace;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 35px;
  background: 0 0;
  border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  top: 3rem;
}
.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
@media screen and (max-width: 920px) {
  body {
    padding: 2rem 1.5rem;
  }
  .logo-header {
    position: fixed;
    width: 100%;
    border-bottom: 2px solid #000;
    margin-bottom: 3rem;
    height: 150px;
    background-color: #c0d1db ;
    left:0;
    top:0px;
    padding-left:1.5rem;
  }

  .logo img {
    height: 4rem;
    margin-top: 3rem;
    
  }

  .burger-menu {
    display: flex;
  }
  .header {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100dvh;
    background: linear-gradient(
      to bottom,
      #c0d1db 0,
      #e2e6f3 35%,
      #dff1d9 45%,
      #eaf0f8 60%,
      #fff1cc 85%
    );
    border-left: 2px solid #000;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }
  .header.active {
    right: 0;
  }
  .header .menu {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .header .menu a {
    font-size: 1.5rem;
    padding: 1.5rem 0;
    padding-left: 10px;
    border-bottom: 2px solid #000;
  }
  .header .menu a:last-child {
    border-bottom: 2px solid #000;
  }
  .back-to-top {
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    border-bottom: none !important;
  }
  .main {
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 150px;
  }
  section[id] {
    width: 100%;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    scroll-margin-top: 2rem;
  }
  details summary {
    width: 100%;
    font-size: 1.2rem;
  }
  details summary::after {
    font-size: 2rem;
  }
  input[type='email'],
  input[type='tel'],
  input[type='text'],
  ol,
  p,
  select,
  textarea,
  ul {
    width: 100%;
  }

  button[type='submit'] {
    width: 100%;
    font-size: 1.1rem;
    text-align: left;
  }
  ol,
  p,
  ul {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  ol,
  ul {
    padding-left: 2rem;
  }
  .custom-image {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  .footer {
    position: static;
    left: auto;
    width: 100%;
    padding-left: 0;
    margin-top: 3rem;
  }
  #formulare ul {
    padding-left: 0;
    margin-left: 0;
  }
  #formulare li {
    margin: 0 0 1.2rem;
    list-style-position: inside;
  }
  #formulare ul li::marker {
    content: '– ' !important;
    color: #000;
    font-weight: 700;
  }
  #formulare li a {
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid #000;
    display: inline;
    font-size: 1.2rem;
  }
  #formulare li a::after {
    border-bottom: none;
    content: '↘';
    font-size: 1.1em;
    margin-left: 0.3rem;
  }
  #formulare li p {
    font-family: 'NectoMono-Regular', monospace;
    margin: 0.25rem 0 0;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #000;
  }
  body::before {
    content: '';
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background: 0 0;
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 999;
  }
  body.menu-open::before {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
  }
  body.menu-open {
    overflow: hidden;
  }
}