html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	color: #fff;
	background-color: white;
	max-width: 100%;
}

h1, h2 {
	font-family: 'Montserrat Alternates', sans-serif;
}

/* header */

header {
	z-index: 1000;
	position: fixed;
	display: flex;
	top: 0;
	justify-content: space-between;
	width: 100%;
	align-items: center;
	background-color: #fff;
	padding: 10px 20px;
}

.scroll {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

header nav ul li {
	margin: 0 10px;
}

ul > li > a:hover {
	color: #ff8c00;
}

header nav ul li a {
	text-decoration: none;
	color: #333;
	padding: 8px 15px;
	transition: all 0.3s ease;
}

.logos {
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: start;
	cursor: pointer;
}

.logotext {
	padding: 0;
	display: inline-block;
	font-size: 24px;
	font-weight: bold;
	color: black;
}

.logo {
	display: inline-block;
	width: 67px;
	height: 67px;
	background-image: url('/img/icons/logo.svg');
	background-position: 100%;
	background-size: cover;
}

nav {
	position: relative;
	margin-right: 40px;
}

.menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
}

.menu li a {
	text-decoration: none;
	color: #333;
	padding: 10px 15px;
	font-weight: bold;
}

/* Hamburger-Button – sichtbar in mobiler Ansicht */
.hamburger {
	background: none;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 10px;
	position: relative;
	z-index: 1100;
	/* Nur in mobiler Ansicht anzeigen */
	display: none;
	flex-direction: column;
	gap: 2px; /* Balken etwas näher beieinander */
}

.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #333;
	margin: 2px 0; /* Abstand der Balken reduziert */
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transformation in X, wenn aktiv (Klasse "active" hinzufügen) */
.hamburger.active span:first-child {
	transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:last-child {
	transform: rotate(-45deg) translate(5px, -5px);
}

.active {
	display: block !important;
}

#menu-box {
	z-index: 1000;
	position: fixed;
	display: none;
	width: 100%;
	height: 200px;
	top: 63px;
	background-color: white;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
	animation: slidein 1s;
}

#menu-box > ul {
	position: relative;
	width: 90%;
	left: 5%;
	right: 5%;
	top: 20px;
	text-align: center;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 18.2px;
	line-height: 20px;
}

#menu-box > ul > li {
	margin-bottom: 20px;
}

#menu-box > ul > li > a {
	text-decoration: none;
	color: black;
}

@media screen and (min-width: 768px) {
	.desktop-menu {
		display: flex;
	}
	.hamburger {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	.hamburger {
		display: flex;
	}
	.navbar.open .mobile-menu {
		display: flex;
		flex-direction: column;
		padding: 20px 0;
	}
}

.pill-button {
	display: inline-block;
	padding: 8px 15px;
	border: 2px solid black;
	border-radius: 20px;
	color: #007aff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pill-button:hover {
	border-color: #ff8c00;
	background-color: transparent;
}

#navbar > ul.menu.desktop-menu > li > a {
	position: relative;
	display: inline-block;
	overflow: hidden;
}

#navbar > ul.menu.desktop-menu > li:nth-child(1) > a::after,
#navbar > ul.menu.desktop-menu > li:nth-child(3) > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: orange;
	transition: width 0.3s ease, left 0.3s ease;
}

#navbar > ul.menu.desktop-menu > li:nth-child(1) > a:hover::after,
#navbar > ul.menu.desktop-menu > li:nth-child(3) > a:hover::after {
	width: 100%;
	left: 0;
}

/* banner */

.image-banner {
	position: relative;
	width: 100%;
	height: 500px;
	background-image: url('/img/banner1.webp');
	opacity: 40%;
	background-size: 100vw;
	background-position-x: 100%;
	background-position-y: 29.4%;
}

.banner-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	opacity: 1 !important;
	text-shadow: 2px 2px 6px black;
	font-size: 3em;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.image-banner {
		height: 400px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
}

/* title */

.title-overlay {
	background-color: white;
	padding: 20px;
	background: linear-gradient(45deg, #ACE5EE, #89CFF0);
	clip-path: ellipse(150% 100% at 0% 100%);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title h2 {
	text-align: center;
	margin: 20px 0;
	color: #333;
	font-size: 2.2em;
}

.section-title p {
	text-align: center;
	color: #666;
	font-size: 1.4em;
}

/* about */

.about-section {
	/* background-color: #61c4ee; */
	text-align: center;
	padding: 20px;
	margin: 30px 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

.about-section h2 {
	color: black;
	/*color: #ff8c00; */
	font-size: 2.2em;
	margin-bottom: 30px;
}

.about-section p {
	color: #333;
	line-height: 1.3;
	margin-bottom: 15px;
}

.main-question {
	font-weight: bold;
}

.good-habits, .bad-habits {
	font-weight: bold;
}

.good-habits {
	/*color: rgb(53, 192, 53);*/
	color: #4caf50;
}

.bad-habits {
	/*color: rgb(219, 41, 41);*/
	color: #ff5722;
}

@media screen and (min-width: 768px) {
	.about-section p {
		font-size: 19px;
	}  
}

@media screen and (max-width: 768px) {
	.about-section p {
		line-height: 1.7;
	}
	.section-title h2 {
		font-size: 1.8em;
	}
	.section-title p {
		font-size: 1.1em;
	}
}

/* vision */

.vision-section {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px;
	background-color: #ffffff;
}

.vision-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.vision-img img {
	width: 100%;
	max-width: 400px;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.vision-text {
	max-width: 600px;
	color: #333;
	font-family: 'Raleway', sans-serif;
}

.vision-text h2 {
	margin-bottom: 30px;
	text-align: center;
	color: #fc6a03;
	font-family: 'Montserrat Alternates', sans-serif;
	font-size: 28px;
	font-weight: 700;
}

.vision-text p {
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 20px;
}

#text-container {
	max-width: 600px;
	overflow: hidden;
}

/* Hier der Bereich für den zusätzlichen Text */
/* Entferne den Inline‑Style "display: none" im HTML! */
#more-text {
	display: block !important;
	opacity: 0;
	transform: translateY(-10px);
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
}
#more-text.show {
	opacity: 1;
	transform: translateY(0);
	max-height: 1000px; /* sollte ausreichend hoch sein */
}

/* Toggle-Button */
#toggle-button {
	background-color: #fc6a03;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.3s;
}

#toggle-button:hover {
	background-color: #ff5722;
	transform: scale(1.05);
}

#toggle-button:focus {
	outline: none;
}

@media (max-width: 768px) {
	.vision-container {
		flex-direction: column;
	}
	.vision-img, .vision-text {
		max-width: 100%;
	}
	.vision-text {
		text-align: left;
		margin-top: 30px;
	}
}

/* services */

.services-section {
	display: flex;
	justify-content: space-between;
	text-align: center;
	font-family: 'Raleway', sans-serif;
	color: #333;
	padding: 40px 0;
}

.service-column {
	width: 30%;
	padding: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin: 0 10px;
}

.service-column h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

.service-column ul {
	list-style: none;
	padding: 0;
	font-size: 18px;
	line-height: 1.8;
}

.service-column li {
	margin-bottom: 10px;
}

.service-security {
	text-align: center;
	color: black;
	padding: 20px;
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.4;
}

@media (max-width: 960px) {
	.services-section {
		flex-direction: column;
	}
	.service-column {
		width: 90%;
		margin-bottom: 20px;
	}
}

/* tooltips */

[data-tooltip] {
	z-index: 5;
	position: relative;
	cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
	z-index: 5;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s, visibility 0.3s;
}

[data-tooltip]:before {
	z-index: 5;
	content: attr(data-tooltip);
	position: absolute;
	bottom: 130%;
	left: 50%;
	transform: translateX(-50%);
	background-color: white;
	color: #333;
	padding: 5px 9px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	font-size: 14px;
	white-space: nowrap;
	z-index: 1000;
}

[data-tooltip]:after {
	z-index: 5;
	content: '';
	position: absolute;
	bottom: 130%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: white transparent transparent transparent;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
	z-index: 5;
	visibility: visible;
	opacity: 1;
}

.info-icon {
	z-index: 5;
	display: inline-block;
	margin-left: 5px;
	width: 18px;
	height: 18px;
	color: black;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	font-size: 14px;
	position: relative;
	top: -6px;
}

.info-icon i {
	z-index: 5;
	position: relative;
	top: -2px;
}

/* steps */

.steps-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 20px;
}

.step {
	flex-basis: 30%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin: 10px;
	text-align: center;
	background-color: #f2f2f2;
	border-radius: 10px;
}

.step img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

.step h3 {
	font-weight: bold;
	color: #333;
	margin: 15px 0 10px;
}

.step p {
	color: #666;
}

.step:nth-child(1) h3 {
	color: #007aff;
}

.step:nth-child(2) h3 {
	color: #00d600;
}

.step:nth-child(3) h3 {
	color: #fc6a03;
}

@media screen and (max-width: 768px) {
	.step {
		flex-basis: 100%;
	}
}

/* cta */

.cta-banner {
	width: 100%;
	height: 300px;
	background-color: #89CFF0;
	color: white;
	text-align: center;
	margin-top: 40px;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cta-banner h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 24px;
}

.cta-banner p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 16px;
}

.cta-button {
	display: inline-block;
	background-color: #ff9900;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 16px;
}

@media (max-width: 768px) {
	.cta-banner {
		height: auto;
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

/* footer */

footer {
	position: relative;
	background-color: #f8f8f7;
	color: #333;
	text-align: center;
	padding: 20px 0;
	font-family: 'Raleway', sans-serif;
}

.footer-content {
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: flex;
	justify-content: center;
	gap: 20px;
}

.footer-links li a {
	color: #333;
	text-decoration: none;
	font-size: 0.9em;
}

.footer-links li a:hover {
	text-decoration: underline;
}

/* fonts */

@font-face {
	font-family: 'Montserrat Alternates';
	src: url('/font/MontserratAlternates-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/font/Raleway-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
