/* titillium-web-300 - latin (Light) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  src: url('fonds/titillium-web-v17-latin-300.woff2') format('woff2');
}

/* titillium-web-regular - latin (400) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('fonds/titillium-web-v17-latin-regular.woff2') format('woff2');
}

/* titillium-web-italic - latin (400 italic) */
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 400;
  src: url('fonds/titillium-web-v17-latin-italic.woff2') format('woff2');
}

/* titillium-web-600 - latin (Semi-Bold) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  src: url('fonds/titillium-web-v17-latin-600.woff2') format('woff2');
}

/* titillium-web-700 - latin (Bold) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  src: url('fonds/titillium-web-v17-latin-700.woff2') format('woff2');
}

/* titillium-web-900 - latin (Black) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 900;
  src: url('fonds/titillium-web-v17-latin-900.woff2') format('woff2');
}

/* --- GRUNDLEGENDE STILE --- */
* {margin:0; padding:0; font-family: 'Titillium Web', sans-serif; box-sizing: border-box }
a {text-decoration:none; color:#FF6B35}
a:hover {text-decoration:underline}
b {font-weight:700}

/* --- HELPER-KLASSEN --- */
.flex {display:flex; justify-content: space-between; flex-wrap: wrap;}
.white {color:#fff}
.dark {color:#555}

/* Visually hidden - für Screenreader sichtbar, visuell versteckt */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- NAVIGATION (IMMER HAMBURGER) --- */
.menu {
	transform: translateX(100%);
	position: fixed;
	top: 0;
	right: 0;
	width: 250px;
	height: 100vh;
	background: #fff;
	border: none;
	border-left: 1px solid #ddd;
	box-shadow: -2px 0 10px rgba(0,0,0,0.1);
	padding: 80px 20px 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	transition: transform 0.3s ease-in-out;
	z-index: 100;
}

.menu.menu--open { transform: translateX(0); }
.menu a { padding: 15px 0; font-size: 1.2em; width: 100%; color: #333; text-decoration: none; }

/* --- LAYOUT-RAHMEN --- */
.frame {width:100%; background:#1A1A2E; color:#fff}
.frame--light {background:#f5f5f5; color:#555}

/* --- KARTEN-STILE (für "Wie wir arbeiten") --- */
.section--second .card {
	background:#f9f9f9;
	padding:2em;
	font-size: 1em;
	width: 48%;
	border-bottom:3px solid #FF6B35;
    margin-bottom: 2em;
}

@media only screen and (max-width: 800px) {
	.section--second .card {
        width:100%;
    }
}

/* --- TYPOGRAFIE --- */
p {font-weight:300; line-height:1.7em;}
p span, div.card span {font-weight:700; text-transform:uppercase; font-style: normal}
div.card span {margin-bottom:1em; color:#FF6B35; display:block}
p span>span {color:#FF6B35; font-style: italic; padding-right:2px}

h2 {width:100%; text-align:left; font-size:1em; font-weight:300; text-transform:uppercase; margin-bottom:2em; color:#999}
h2 span {font-weight:700; color:#FF6B35}
div.card p {margin-bottom:1em}

/* --- SEKTIONEN (ALLGEMEIN) --- */
.section {position:relative; padding:4em 0;}

/* --- HEADER / STAGE --- */
.section--stage {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 50vh;
	padding: 0;
	background: #1A1A2E;
	position: relative;
	overflow: hidden;
}

.section--stage .logo {
	background: #FFF;
	width: 100%;
	padding: 1.5em 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 3;
	flex-shrink: 0;
}

.section--stage .logo img {
	max-width: 280px;
	margin-bottom: 0;
}

.image-background {
	position: absolute;
	top: 0;
	left: 50%;
	min-width: 100%;
	height: 100%;
	width: auto;
	transform: translateX(-50%);
	z-index: 0;
	object-fit: cover;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(26, 26, 46, 0.5);
	z-index: 1;
}

/* HEADER (RESPONSIVE) */
@media only screen and (max-width: 800px) {
	.section--stage { height: 50vh; }
	.section--stage .logo {
		padding: 1em 0;
	}
	.section--stage .logo img {
		max-width: 200px;
	}
}

@media only screen and (max-width: 480px) {
	.section--stage .logo img {
		max-width: 160px;
	}
}

/* INHALTS-SEKTIONEN */
.section--first, .section--second, .section--third, .section--fifth {
	width:75vw;
	max-width:1200px;
	margin:2em auto;
	padding:2em 5em;
	display:flex;
	flex-wrap: wrap;
	justify-content:space-between;
}

.ansatz-intro {
    width: 100%;
    text-align: left;
    margin-bottom: 3em;
    margin-top: 0;
}

.section--first {
    padding: 2em 5em;
    margin-top: 5em;
    margin-bottom: 5em;
}

.section--third {
    margin: 4em auto;
    padding:4em 5em;
}

/* INHALTS-SEKTIONEN (RESPONSIVE) */
@media only screen and (max-width: 800px) {
	.section--first {padding:0; width:90vw; margin-top:2em}
	.section--second, .section--third, .section--fifth {width:90vw; padding:0}
	.section--third  {padding:3em 0; width:90vw; margin-bottom:2em; margin-top:0}
}

/* --- SEKTION "LEISTUNGEN" --- */
.leistung-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5em;
}

.leistung-icon {
    width: 75px;
    height: 75px;
    display: block;
}

.section--third .leistung {
    width: 48%;
    margin-bottom: 2.5em;
    text-align: center;
    padding: 2em 1.5em;
    background: #fff;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frame--light .section--third .leistung {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section--third .leistung p {
    text-align: center;
    color: #555;
}

.section--third .leistung p span {
    color: #FF6B35;
    display: block;
    margin-bottom: 0.8em;
}

@media only screen and (max-width: 1024px) {
	.section--third .leistung {width:100%;}
}

/* --- EXPERTEN CARDS (FÜR 2 PERSONEN, ZENTRIERT) --- */
.experten {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2em;
	gap: 3em;
}

.experte {
	width: 30%;
	margin-bottom: 2em;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.experte--large {
	width: 47%;
}

.experte-image-wrapper {
	position: relative;
	width: 100%;
	max-width: 300px;
	overflow: hidden;
	border-radius: 300px;
	margin-bottom: 1.5em;
	mask-image: radial-gradient(white, black); 
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.experte-image-wrapper img {
	filter: grayscale(100%);
	transition: filter 0.5s ease;
	width: 100%;
	display: block;
}

/* Bild wird farbig beim Hover */
.experte-image-wrapper:hover img {
	filter: grayscale(0%);
}

.experte-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(26, 26, 46, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 300px;
}

.experte-image-wrapper:hover .experte-overlay {
	opacity: 1;
}

.kontakt-button {
	color: #fff;
	text-decoration: none;
	font-size: 1.2em;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.8em 1.5em;
	border: 2px solid #fff;
	border-radius: 5px;
	transition: all 0.3s;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.kontakt-button:hover {
	background: #fff;
	color: #FF6B35;
	text-shadow: none;
	text-decoration: none;
}

.experte-name {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.1em;
	margin-bottom: 1em;
	color: #fff;
}

.experte-description {
	color: #ccc;
	font-size: 0.95em;
	line-height: 1.7em;
	text-align: center;
}

@media only screen and (max-width: 1024px) {
	.experte--large {width: 100%;}
	.experte-image-wrapper {max-width: 250px;}
}

@media only screen and (max-width: 800px) {
	.experte {width: 100%;}
	.experten {gap: 2em;}
	.experte-image-wrapper {max-width: 200px;}
}

/* --- FOOTER --- */
footer {
	width:100%;
	background:#FF6B35;
	padding:3em 2em;
	color:#fff;
	display:flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.footer p {
	width:100%; 
	text-align: center;
	margin-bottom: 0.3em;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-team {
	display: flex;
	justify-content: center;
	gap: 4em;
	margin-top: 2em;
	margin-bottom: 2em;
	flex-wrap: wrap;
}

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

.footer-person p {
	margin-bottom: 0.2em;
}

.footer-copyright {
	margin-top: 1.5em;
	font-size: 0.9em;
}

.footer-legal {
	margin-top: 1em;
	padding-top: 1.5em;
	border-top: 1px solid rgba(255,255,255,0.3);
}

/* --- HAMBURGER MENÜ BUTTON (IMMER SICHTBAR) --- */
.menu-toggle {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 101;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
}

.menu-toggle.menu-toggle--open span { background-color: #333; box-shadow: none; }
.menu-toggle.menu-toggle--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.menu-toggle--open span:nth-child(2) { opacity: 0; }
.menu-toggle.menu-toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* --- TEAM SEKTION ABSTÄNDE --- */
#team-frame {
    padding-top: 4em;
    padding-bottom: 4em;
}

#team-frame .section--fifth {
    margin: 0 auto;
}