/* Variables */
:root {
  --kittelblau: #637e93;
  --sterilerstahl: #cedadf;
  --pflasterbeige: #ccbfb5;
  --font: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
}

/* 1. Use a more-intuitive box-sizing model. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* 3. Allow percentage-based heights in the application */
html,
body {
  overflow-x: hidden;
}

/* Typographic tweaks! 4. Add accessible line-height 5. Improve text rendering */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}

/* smoother anchor scrolling in Mozilla */
html {
  scroll-behavior: smooth;
}

/* Accessability */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

main {
  position: relative;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}

.grid-3 {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: 100%;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin: auto;
}

/* Spacing */

.vertical-spacer {
  flex-grow: 1;
}

.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 1.5rem 0;
}

.my-3 {
  margin: 2rem 0;
}

.my-4 {
  margin: 3rem 0;
}

.my-5 {
  margin: 5rem 0;
}
.my-7 {
  margin: 7rem 0;
}

.mt-5 {
  margin-top: 5rem;
}
.mt-4 {
  margin-top: 3rem;
}

/* Styling */
::selection {
  background-color: #637e93;
  color: white;
}

body {
  font-family: var(--font);
  color: #333;
  min-height: 100vh;
}

.home {
  background-image: url(../img/doc-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: -450px; */
}

@media (max-width: 1024px) {
  body {
    background-size: cover;
  }
}

.container {
  padding: 0 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.container-sm {
  padding: 0 30px;
  max-width: 800px;
  margin: auto;
}

a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav li {
  list-style: none;
}

.navbar {
  margin-top: 1.5rem;
  right: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

.navbar ul {
  display: flex;
}

.navbar ul li {
  padding-right: 1.5rem;
}

.navbar ul li:last-child {
  padding-right: unset;
}

.navbar a {
  color: var(--kittelblau);
  text-transform: capitalize;
}

.navbar .flex {
  justify-content: end;
}

.info {
  width: 800px;
  height: auto;
  background-color: rgba(99, 126, 147, 0.76);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(9px);
  border: 1px solid rgba(245, 245, 245, 0.643);
  overflow: hidden;
  padding-inline: 50px;
  color: white;
}

#logo {
  width: 260px;
  margin-left: auto;
  margin-top: 45px;
}

.info > .row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 1em;
  /* margin-bottom: 0.5em; */
}

.info .row {
  justify-content: end;
  align-items: center;
}

.col-20 {
  flex-basis: 20%;
}
.col-30 {
  flex-basis: 30%;
}
.col-70 {
  flex-basis: 70%;
}
.col-80 {
  flex-basis: 80%;
}

h1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.7rem;
  letter-spacing: 0.24em;
  margin-top: 3rem;
}

h2 {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  margin-top: 3em;
}

.info h2::before {
  position: absolute;
  content: url(../img/swoosh.svg);
  width: 78px;
  height: auto;
  bottom: 1.8em;
}

.info .col-70 .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.info ul {
  font-weight: 500;
  display: block;
  list-style-type: none;
  margin-block-start: unset;
  margin-block-end: unset;
  padding-inline-start: unset;
}

.col-30 > * {
  text-align: right;
}

.col-30 h3 {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 2em;
  margin-bottom: 1em;
}

.col-30 p:nth-of-type(3),
.col-30 p:nth-of-type(4) {
  position: relative;
}

.col-30 p:nth-of-type(3)::before {
  content: '';
  position: absolute;
  left: 2.3rem;
  top: 4px;
  width: 15px;
  height: 15px;
  background-image: url('../img/phone.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.col-30 p:nth-of-type(4)::before {
  content: '';
  position: absolute;
  left: 2.3rem;
  top: 4px;
  width: 15px;
  height: 15px;
  background-image: url('../img/fax.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

footer {
  display: none;
  background: rgba(255, 255, 255, 0.23);
}

/* datenschutz */

.datenschutz .info,
.impressum .info {
  background-color: unset;
  backdrop-filter: none;
  border: none;
  overflow: hidden;
  /* padding-inline: 50px; */

  -webkit-backdrop-filter: none;
  color: var(--kittelblau);
}

.datenschutz h3,
.impressum h3 {
  margin-top: 1rem;
}

.datenschutz blockquote,
.impressum blockquote {
  margin-top: 1rem;
}

@media (max-width: 380px) {
  .after::after {
    content: '\21E9';
  }
}

@media (max-width: 480px) {
}

@media (max-width: 768px) {
  .info > .row {
    flex-direction: column;
  }

  .col-70,
  .col-30 {
    flex-basis: 100%;
  }
}
@media (min-width: 844px) {
  .col-30 p:nth-of-type(3) span,
  .col-30 p:nth-of-type(4) span {
    display: none;
  }
}

@media (max-width: 844px) {
  .info {
    max-width: 95vw;
    padding-inline: 10px;
  }
  .info > * {
    text-align: center;
  }

  #logo {
    width: 280px;
    margin-inline: auto;
  }

  .info h1 {
    margin-top: 80px;
  }

  .info h2 {
    margin-top: 80px;
  }

  .info > .row {
    align-items: center;
  }

  .info .col-70 .row {
    text-align: left;
    gap: 10px;
  }
  .col-30 > * {
    text-align: left;
  }
  .col-30 p:nth-of-type(3),
  .col-30 p:nth-of-type(4) {
    padding-left: unset;
  }
  .col-30 p:nth-of-type(3)::before,
  .col-30 p:nth-of-type(4)::before {
    display: none;
  }

  .navbar .flex {
    justify-content: space-around;
  }
  .navbar {
    margin-top: 3rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    display: none;
  }

  .navbar a {
    color: white;
  }

  footer {
    min-height: 40px;
    bottom: 0px;
    position: fixed;
    width: 100%;
    display: block;
    z-index: 9999;
  }
  footer * {
    color: var(--kittelblau);
  }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  .nohover {
    pointer-events: none;
  }
  footer {
    min-height: 10px;
    /* font-size: 0.6rem; */
  }

  .navbar .container {
    max-width: 1200px;
    padding: 0px 30px;
    margin-bottom: 80px;
  }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  .logo {
    max-width: 250px;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  opacity: 0; /* Startet unsichtbar */
  transition: opacity 0.5s ease-in-out; /* Sanfte Überblendung */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 100px auto; /* 15% from the top and centered */
  padding-top: 20px;
  padding-bottom: 60px;
  padding-inline: 100px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 1000px;
}

.modal-content h2 {
  font-weight: 600;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
