body {
	font-family: system-ui, sans-serif;
	
	}

#name {
	font-family: 'Alatsi', Tahoma, Verdana, Arial;
}

#name:hover {
	background-color: transparent!important;
}

#hero-img {
	background-image: url('../images/hero.png');
	background-repeat: no-repeat;
	background-size: 50vw;
	background-position: top right;
	background-color: #DDFFFF;
}

#contact h2 {
	margin-bottom: 1.1em;
}

.web-center {
	max-width: 70%;
	margin: auto;
}

.hero { padding: 110px 20px;}

#hero-ro {
	max-width: 50%;
}

.topsecpad {
	padding: 5em;
}

#xxxlarge {
	font-size: 3.2em;
	font-weight: bold;
}

#xxxlarge-ro {
	font-size: 3.5em;
	font-weight: bold;
}

.h1-title {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.3em;
	justify-content: center;
}

.title-margin {
	margin: 0;
	padding: 0;
}

.section { padding: 8em 0; }
.section-s { padding: 8em 0 6em 0; }

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.topcard {
	box-shadow: 0 0.5px 4px 0 rgba(0,0,0,0.16);
}

.faqcard {
	box-shadow: 0 1px 7px 0 rgb(170, 170, 170);
}

.p-card {
	border: 1px solid #c2c2c2;
}

.p-card:hover {
	border: 1px solid blue;
	
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
}

.card-padding {
	padding: 3em 0em;
}

.hero-img {
	display: flex;
	flex-flow: row wrap;
	margin-left: auto;
}

.nav-flex {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-left: auto;
	flex-wrap: nowrap;
	}

.logo-link {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 5px 0;
	width: auto;
	height: auto;
	text-decoration: none;
}

.logo-img {
	height: clamp(40px, auto, 50px);
	width: 15em;
	display: block;
}

.nav-flexss a img {
	widtsh: 20%;
	float: left;
	display: inline-block;
}

.ul-flex {
	display: flex;
	flex-wrap: nowrap;
	margin-left: auto!important;
	font-size: 1.2em;
}

.ul-pad {
	margin: 0 0.15em;
}

.language-a {
	display: block;
	text-align: center;
	padding: 5px 10px;
}

.language-i {
	margin: 5px 0;
	height: 20px;
	width: auto;
}

.hover-t {
	transition: background-color 0.5s;
	}

.hover-contact {
	transition: background-color 0.2s;
	}

.round-b {
	border-radius: 10px;
}

.a-flex {
	display: flex;
	flex-direction: row;
	align-items: center;	
}

.about-full {
	text-align: justify;
	text-justify: inter-word;
}

.f-flex {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 1em;
	
}

.impressum {
	text-decoration: none;
	border-left: 1px solid #ccc;
	padding-left: 1em;
}

.impressum:hover {
	text-decoration: underline solid grey 1px;
}

.topnav {
  overflow: hidden;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}



.main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2em;
  }

  .form-wrapper {
    margin: 0 auto;
    width: 70%;
    background: inherit;
  }

  .input-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
  }
  .input-flex > div {
    width: 50%;
  }

.margin-bottom {
	margin-bottom: 1em;
}

  .input-radio-wrapper {
    margin-bottom: 28px;
    margin-top: 2em;
  }
  .radio-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 0.5em;
    flex-wrap: wrap;
  }
  .radio-label {
    font-size: 14px;
    line-height: 24px;
    color: #07074D;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .input-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  .radio-checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #FFFFFF;
    border: 1px solid #DDE3EC;
    border-radius: 50%;
  }
  .radio-label .input-radio:checked ~ .radio-checkmark {
    background-color: #0050ef;
  }
  .radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  .radio-label .input-radio:checked ~ .radio-checkmark:after {
    display: block;
  }

  .radio-label .radio-checkmark:after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    transform: translate(-50%, -50%);
  }

  .form-input {
    width: 100%;
    padding: 13px 22px;
    border-radius: 5px;
    border: 1px solid #DDE3EC;
    background: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    color: #07074D;
    outline: none;
    resize: none;
  }
  .form-input::placeholder {
    color: #536387;
  }
  .form-input:focus {
    border-color: #6a64f1;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }
  .form-label {
    color: #07074D;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 10px;
  }

  .btn {
    text-align: center;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    padding: 14px 25px;
    border: none;
    font-weight: 500;
    color: white;
    cursor: pointer;
    margin-top: 25px;
  }
  .btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }


.accordion-s {
	background-color: inherit;
	cursor: pointer;
	margin-bottom: 1.5em;
	transition: 0.4s;
}

.panel-s {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
  padding-left: 2em;
  margin-bottom: 2em;
}

.accordion-s:after {
  content: "﹀";
  color: grey;
  font-size: 2em;
  width: 30px;
}

.active-s:after {	
  content: "︿";
  width: 100%;
}

.accordion {
  background-color: white;
  color: #4s44;
  cursor: pointer;
  padding: 18px;
  margin: 0.5em 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ddffff;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}



.flag-lang {
	margin: 0;
	padding: 0;
}

/* 🔹 Navbar alignment fix */
.lang-switcher {
  width: auto;
  display: inline-block;
  margin-left: 5px;
  float: right!important;
}

/* 🔹 Button */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
}

/* 🔹 Flag icons */
.flag-icon {
  height: 18px;
  width: auto;
}

/* 🔹 Dropdown menu */
.lang-menu {
  min-width: auto;
  left: auto;
}

/* 🔹 Each item */
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  text-decoration: none;
}

/* 🔹 Hover effect */
.lang-item:hover {
  background-color: #f1f1f1;
}

/* 🔹 Optional: subtle icon hover */
.lang-item:hover .flag-icon {
  transform: scale(1.1);
  transition: 0.2s;
}

@media screen and (max-width: 1600px) {
	#hero-img {
		background-position: right bottom;
}
}

@media screen and (max-width: 1400px) {
	.a-flex {
		flex-direction: column-reverse;
	}
	.about-full {
		width: 100%;
		margin: 2em 0;
	}
}

@media screen and (max-width: 1300px) {
	.i-flex img {
		width: 25%!important;
	}
}

@media screen and (max-width: 1160px) {
	#xxxlarge-ro {
		font-size: 2.5em!important;
	}
	.i-flex img {
		width: 35%!important;
	}
	.ul-flex {
		font-size: 1em!important;
	}
	.ul-pad {
		margin: 0!important;
		padding: 0.5em!important;
	}
}

@media screen and (max-width: 1080px) {
	#xxxlarge-ro {
		font-size: 2em!important;
	}
	.i-flex img {
		display: none;
	}
	.logo-img {
		width: 12em;
	}
}

@media screen and (max-width: 850px) {
	#hero-ro {
		max-width: 52%;
	}
	#xxxlarge-ro {
		font-size: 1.7em!important;
	}

	#hero-img {
		background-size: 55vw;
	}

	.logo-img {
		width: 10.5em;
	}
	.ul-flex {
		font-size: 0.9em!important;
	}

  .topsecpad {
    padding: 3em;
  }
  #xxxlarge {
    font-size: 3em;
  }
  .form-wrapper {
	width: 100%;
}
}

@media screen and (max-width: 770px) {
  .topnav {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .lang-switcher {
    margin-left: auto!important;
  }
}

@media screen and (max-width: 610px) {
	#hero-ro {
		max-width: 70%;
	}
}

@media screen and (max-width: 600px) {
	#hero-img {
		background-size: 65vw;
	}  

  #xxxlarge {
    font-size: 2em;
  }
  /*.lang-btn {
    font-size: 0; /* hides "EN" text */
  }*/
}

@media screen and (max-width: 500px) {
	#hero-ro {
		max-width: 80%;
	}
	.logo-img {
		width: 10em;
	}
}

@media screen and (max-width: 400px) {
	#hero-img {
		background-size: 75vw;
	}  

	
	#hero-ro {
		max-width: 100%;
	}
  .web-center {
    max-width: 90%;
  }
  .flag-lang {
    font-size: 0;
  }
}

@media screen and (max-width: 327px) {
	.f-flex {
		flex-direction: column;
		gap: 0px;
	}
	.impressum {
		border-left: none;
		border-top: 1px solid #ccc;
		padding: 1em 0 0 0;
		
	}
}


/*@media (max-width: 770px) {

  .nav-toggle {
    display: block;
  }

  .ul-flex {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .ul-flex.active {
    display: flex;
  }

  .ul-flex a {
    width: 100%;
    padding: 10px;
    text-align: left;
  }
}*/