/* Global CSS variables */
:root:not([data-theme="dark"]),
[data-theme="light"] {
  --spacing-company: 2rem;
  --font-weight: 400;
  --border-radius: 0;
  --primary: #33497a;
  --primary-focus: #e6f1f8;
  --color: #33497a;
  --h1-color: #33497a;
  --h2-color: #33497a;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/static/Inter-Regular.ttf");
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/static/Inter-ExtraLight.ttf");
  font-weight: 200;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/static/Inter-Bold.ttf");
  font-weight: 700;
}

body {
  font-family: "Inter", sans-serif;
  color: #33497a !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #33497a !important;
}

/* Typography */
h2,
h3,
hgroup > :last-child {
  font-weight: 400 !important;
}

small {
  color: var(--muted-color);
}


a {
  text-decoration: underline;
}

a.button {
  background-color: #e6f1f8;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #415562;
  text-decoration: none;
  transition: all 340ms;
  border: 0px;
}


a.button.full-width {
  width: 100%;
}

a.button:hover {
  transform: scale(1.05);
}

.contact-modal {
  line-height: 3rem;
}

@media screen and (min-width: 1024px) {
  article {
    margin-top: 0px;
    /* padding: 40px;
    width: 73%; */
  }
}

.rounded-profile {
  max-width: 200px;
}

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

.cta h2 {
  font-size: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .contact-links {
    flex-direction: column;
  }
}

.contact-links a {
  min-width: 250px;
}

/* Header */
.hero {
  /*  background-size: auto 100%;*/
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  background-position: top;
  background-size: cover;
  background-color: #e6f1f8;
}

@media screen and (max-width: 1024px) {
  .hero {
    /*  background-size: auto 100%;*/
    height: 420px;
    min-height: 420px;
    background-position-y: 78px;
  }

  .hero nav.container {
    background-color: #e6f1f8;
  }
}

.hero:before {
  /* content:"";
  background: rgb(230, 241, 248);
  background: linear-gradient(90deg, rgba(230, 241, 248, 0.9) 40%, rgba(255, 255, 255, 0) 100%);
  height:100%;
  width: 50%;
  position: absolute;
  left:0;
  top:0;
  z-index: 1 */
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero video {
  background-color: #d2d3d5;
  background-image: url("/images/startseite.jpg");
  background-position: top;
  background-size: cover;
  position: absolute; /* Position the background video */
  right: 0;
  top: 0;
  right: 0;
  left: 0;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: -100; /* Ensure it is behind all other elements */
}

.logo {
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 500;
  color: #2c3d49;
  font-size: 130%;
  text-decoration: none;
}

.logo span {
  text-indent: -999999px;
  display: inline-block;
  height: 0px;
}

#Logo {
  width: 300px;
  /* background-color: #e6f1f8;
  padding:20px; */
}

.hero h1 {
  line-height: 1;
  margin-bottom: 1rem;
}
.logo span {
  font-weight: 300;
  text-transform: none;
}

header {
  padding: var(--spacing-company) 0;
}

.hero .container {
}

.container.page {
  padding-top: 20px;
}

.button.backToHome {
  margin-bottom: 40px;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  header {
    /* padding-top:120px; */
    background: rgba(225, 242, 247, 0.7);
    /* background: linear-gradient(10deg, rgba(230, 241, 248, 0.9) 40%, rgba(255, 255, 255, 0) 100%); */
  }
}

header hgroup > :last-child {
  color: var(--h3-color);
  max-width: 40ch;
}

/* header hgroup {
  margin-bottom: var(--spacing-company);
} */

header hgroup {
  margin-bottom: 0px;
}

/* Nav */
summary[role="link"].contrast:is([aria-current], :hover, :active, :focus) {
  background-color: transparent;
  color: var(--contrast-hover);
}

/* Main */

main {
  padding-bottom: 0px !important;
}
@media (min-width: 992px) {
  main .grid {
    grid-column-gap: var(--spacing-company);
    grid-template-columns: auto 22%;
  }

  .grid.services {
    grid-gap: var(--spacing-company);
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.grid.services {
  grid-gap: 20px;
}

.card {
  background-color: #e6f1f8;
  padding: 1rem;
  /*  box-shadow: -15px 15px 25px #CCC;*/
}

.card:hover {
  cursor: pointer;
}

.card {
  text-decoration: none;
  transition: all 340ms;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card * {
  color: #415562;
}

.card:hover {
  transform: scale(1.05);
}

.card span {
  text-decoration: underline;
}

.card-headline {
  display: flex;
  justify-content: space-between;
}

.card-icon {
  width: 5rem;
  height: 5rem;
  aspect-ratio: 1/1;
  margin-top: -2rem;
  margin-right: -2rem;
  background-color: white;
  /*box-shadow: 5px 5px 15px #CCC;*/
  border-radius: 100%;
  background-color: #e6f1f8;
  border: 10px solid white;
  opacity: 1;
  padding: 1rem;
}

.sub-icon {
  /* background-color: #e6f1f8; */
  opacity: 0.1;
  position: absolute;
  top: 35vw;
  right: 2vw;
  height: 60vh;
  width: 60vw;
  z-index: -1;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

form.grid {
  grid-row-gap: 0;
}

/* Aside nav */
aside img {
  margin-bottom: 0.25rem;
  width: 200px;
  height: 200px;
}

aside {
  margin-bottom: var(--block-spacing-vertical);
  display: flex;
  flex-direction: ;
  justify-content: center;
  align-items: center;
}

aside p {
  margin-bottom: var(--spacing-company);
  line-height: 1.25;
}

footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e6f1f8;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

footer ul {
  display: flex;
  margin: 0;
  padding: 0;
}
footer ul li {
  list-style: none;
}

.rounded-profile {
  border-radius: 100vh;
}

.cta .button {
  margin-bottom: 10px;
  font-weight: 500;
}

/***
 *
 *                                                                                       ad88
 *                                            ,d                               ,d       d8"
 *                                            88                               88       88
 *     ,adPPYba,   ,adPPYba,   8b,dPPYba,   MM88MMM  ,adPPYYba,   ,adPPYba,  MM88MMM  MM88MMM   ,adPPYba,   8b,dPPYba,  88,dPYba,,adPYba,
 *    a8"     ""  a8"     "8a  88P'   `"8a    88     ""     `Y8  a8"     ""    88       88     a8"     "8a  88P'   "Y8  88P'   "88"    "8a
 *    8b          8b       d8  88       88    88     ,adPPPPP88  8b            88       88     8b       d8  88          88      88      88
 *    "8a,   ,aa  "8a,   ,a8"  88       88    88,    88,    ,88  "8a,   ,aa    88,      88     "8a,   ,a8"  88          88      88      88
 *     `"Ybbd8"'   `"YbbdP"'   88       88    "Y888  `"8bbdP"Y8   `"Ybbd8"'    "Y888    88      `"YbbdP"'   88          88      88      88
 *
 *
 */


.page_contact_form {
  background-color:#e6f1f8;
  padding: 20px;
  margin-top: 40px;
}

.page_contact_form h2 {
  margin-bottom: 20px;
}

.page_contact_form form {
  display:flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
	.page_contact_form form {
    flex-direction: column;
    align-items: unset;
  }
}

.page_contact_form form input {
  margin-bottom:0px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.alert {
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.alert p {
  margin-bottom: 0px;
}

.alert.success {
  background-color: #2fb579;
  border-color: #05a26f;
}

.alert.success p {
    color: #dcffed;
}

.alert.error {
  background-color: #fb3836;
  border-color: #cd1e1c;
}

.alert.error p {
    color: #ffe0e1;
}

nav.languages {
  position: absolute;
  z-index: 999;
  right: 20px;
  top:20px;
  background: white;
  border-radius: 5px;
  padding: 5px 10px;
  display: flex;
width: auto;
}
@media screen and (max-width: 576px) {
	nav.languages {
  right:unset;
  left: 20px;
  top:100px;

}
}

.languages ul {
  display:block;
  margin-left: 10px!important;
  margin-right:10px!important;
}
.languages li,
.languages a {
  padding:0;
  text-decoration: none;
}

.languages .icon {
  max-height: 1rem;
  max-width: 1rem;
  margin-right: 10px;
}
.languages .icon svg{
  height: 100%;
  width: auto;
  aspect-ratio: 1/1;
}


.languages .active {
  display:none;
}
