﻿/*
	Fugen Guenni - Stylesheet
	Struktur:
	1) Basis
	2) Navigation
	3) Hero + Buttons
	4) Inhalt-Sektionen
	5) Kontakt + Footer
	6) Responsive
*/

/* 1) BASIS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--navy:    #1a3a6b;
	--navy-dk: #0f2548;
	--navy-md: #2a4f8a;
	--yellow:  #f5c518;
	--yellow-lt: #fdd84e;
	--white:   #ffffff;
	--off:     #f0f4fa;
	--tile-bg: #dce8f5;
	--body:    #3a4a5c;
	--mid:     #6b7d93;
	--pad: clamp(60px, 8vw, 110px);
}

html { scroll-behavior: smooth; }
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: var(--white);
	color: var(--body);
	overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	top: -48px;
	left: 12px;
	background: var(--yellow);
	color: var(--navy-dk);
	font-weight: 700;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none;
	z-index: 300;
	transition: top .2s ease;
}

.skip-link:focus {
	top: 12px;
}

/* 2) NAVIGATION */
nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 5%;
	height: 70px;
	background: var(--navy-dk);
	box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-logo {
	display: flex; align-items: center; gap: 12px;
}
.nav-logo img {
	height: auto;
	max-height: 82px;
	max-width: 100%;
	display: block;
	object-fit: contain;
}
nav ul {
	list-style: none;
	display: flex; gap: 32px;
}
nav ul a {
	text-decoration: none;
	color: rgba(255,255,255,.7);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color .2s;
}
nav ul a:hover { color: var(--yellow); }
.nav-cta {
	background: var(--yellow) !important;
	color: var(--navy-dk) !important;
	padding: 9px 20px;
	border-radius: 6px;
	font-weight: 700 !important;
}
.nav-cta:hover { background: var(--yellow-lt) !important; }

/* 3) HERO + BUTTONS */
#hero {
	min-height: 100vh;
	background: var(--navy-dk);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	padding: 80px 5% 0;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
}
/* Tile pattern background */
#hero::before {
	content: '';
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 48px 48px;
}
/* Yellow arc like the logo ring */
#hero::after {
	content: '';
	position: absolute;
	right: -120px; top: 50%;
	transform: translateY(-50%);
	width: 700px; height: 700px;
	border-radius: 50%;
	border: 60px solid rgba(245,197,24,.06);
	pointer-events: none;
}

.hero-label {
	display: inline-block;
	background: var(--yellow);
	color: var(--navy-dk);
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: 0.72rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 4px;
	margin-bottom: 24px;
}
.hero-h1 {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: 1.0;
	color: var(--white);
	margin-bottom: 24px;
}
.hero-h1 em {
	font-style: normal;
	color: var(--yellow);
}
.hero-sub {
	color: rgba(255,255,255,.6);
	font-size: 1.05rem;
	line-height: 1.75;
	max-width: 440px;
	margin-bottom: 40px;
	font-weight: 300;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
	display: inline-block;
	background: var(--yellow);
	color: var(--navy-dk);
	text-decoration: none;
	padding: 14px 32px;
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 800;
	font-size: 0.9rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 8px;
	transition: background .2s, transform .15s, box-shadow .2s;
	box-shadow: 0 4px 20px rgba(245,197,24,.35);
}
.btn-primary:hover {
	background: var(--yellow-lt);
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(245,197,24,.45);
}
.btn-ghost {
	display: inline-block;
	border: 2px solid rgba(255,255,255,.25);
	color: rgba(255,255,255,.8);
	text-decoration: none;
	padding: 12px 28px;
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: 8px;
	transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-submit {
	border: none;
	cursor: pointer;
}

.hero-visual {
	display: flex; justify-content: center; align-items: center;
	position: relative; z-index: 2;
}
/* Big logo display */
.hero-logo-display {
	position: relative;
}
.hero-logo-display img {
	width: clamp(260px, 30vw, 420px);
	height: auto;
	max-width: 100%;
	display: block;
	filter: drop-shadow(0 20px 60px rgba(245,197,24,.25));
	animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

/* 4) INHALT-SEKTIONEN: STATS */
.stats-bar {
	background: var(--yellow);
	display: flex;
	justify-content: space-around;
	padding: 26px 5%;
	flex-wrap: wrap;
	gap: 16px;
}
.stat { text-align: center; }
.stat-num {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: 2.6rem;
	color: var(--navy-dk);
	line-height: 1;
	display: block;
}
.stat-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--navy-md);
}

/* 4) INHALT-SEKTIONEN: GEMEINSAME STILE */
.section-tag {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--yellow);
	margin-bottom: 10px;
	display: flex; align-items: center; gap: 10px;
}
.section-tag::before {
	content: '';
	width: 28px; height: 3px;
	background: var(--yellow);
	border-radius: 2px;
	flex-shrink: 0;
}
.section-title {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	line-height: 1.05;
}
.reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 4) INHALT-SEKTIONEN: LEISTUNGEN */
#leistungen {
	padding: var(--pad) 5%;
	background: var(--off);
}
.section-header { margin-bottom: 52px; }
.section-title-dark { color: var(--navy-dk); }

.leistungen-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}
.leistung-card {
	background: var(--white);
	border-radius: 12px;
	padding: 36px 28px;
	border: 2px solid transparent;
	transition: border-color .25s, transform .25s, box-shadow .25s;
	position: relative;
	overflow: hidden;
}
.leistung-card::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 4px;
	background: var(--yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.leistung-card:hover::after { transform: scaleX(1); }
.leistung-card:hover {
	border-color: var(--navy-md);
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(26,58,107,.12);
}
.leistung-icon {
	font-size: 2.2rem;
	margin-bottom: 18px;
	display: block;
}
.leistung-title {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--navy-dk);
	margin-bottom: 10px;
}
.leistung-desc {
	color: var(--mid);
	font-size: 0.9rem;
	line-height: 1.7;
	font-weight: 400;
}

/* 4) INHALT-SEKTIONEN: UEBER MICH */
#ueber {
	padding: var(--pad) 5%;
	background: var(--navy-dk);
	display: block;
}
.ueber-text .section-title { color: var(--white); }
.ueber-body {
	color: rgba(255,255,255,.65);
	font-weight: 300;
	line-height: 1.8;
	margin: 22px 0 34px;
}
.ueber-facts { display: flex; flex-direction: column; gap: 14px; }
.fact {
	display: flex; gap: 14px; align-items: flex-start;
	background: rgba(255,255,255,.05);
	border-radius: 8px;
	padding: 14px 18px;
	border-left: 3px solid var(--yellow);
}
.fact-text { color: rgba(255,255,255,.85); font-size: 0.9rem; line-height: 1.5; }
.ueber-visual { display: flex; justify-content: center; }
.portrait-box {
	width: 300px; height: 380px;
	background: var(--navy-md);
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	border: 3px solid rgba(245,197,24,.3);
}
.portrait-box::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(160deg, rgba(245,197,24,.15) 0%, transparent 60%);
}
.portrait-placeholder {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	flex-direction: column; gap: 10px;
	color: rgba(255,255,255,.4);
	font-size: 0.75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.portrait-placeholder span { font-size: 3.5rem; }
.portrait-badge {
	position: absolute;
	bottom: -1px; left: 50%; transform: translateX(-50%);
	background: var(--yellow);
	color: var(--navy-dk);
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 1px;
	padding: 10px 24px;
	border-radius: 12px 12px 0 0;
	white-space: nowrap;
}

/* 4) INHALT-SEKTIONEN: ABLAUF */
#ablauf {
	padding: var(--pad) 5%;
	background: var(--white);
}
.ablauf-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0;
	margin-top: 56px;
	position: relative;
}
.ablauf-connector {
	position: absolute;
	top: 28px; left: 28px; right: 28px;
	height: 2px;
	background: linear-gradient(90deg, var(--yellow), var(--navy-md));
	z-index: 0;
}
.step {
	padding: 0 20px 0 0;
	position: relative; z-index: 1;
}
.step-num {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--navy-dk);
	color: var(--white);
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 900;
	font-size: 1.3rem;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
	border: 3px solid var(--off);
	box-shadow: 0 0 0 3px var(--navy-dk);
}
.step:first-child .step-num {
	background: var(--yellow);
	color: var(--navy-dk);
	box-shadow: 0 0 0 3px var(--yellow);
}
.step-title {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--navy-dk);
	margin-bottom: 8px;
}
.step-desc { color: var(--mid); font-size: 0.87rem; line-height: 1.6; }

/* 4) INHALT-SEKTIONEN: REFERENZEN */
#referenzen {
	padding: var(--pad) 5%;
	background: var(--off);
}
.ref-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 52px;
}
.ref-card {
	background: var(--white);
	border-radius: 12px;
	padding: 32px;
	border-top: 4px solid var(--yellow);
	box-shadow: 0 4px 20px rgba(26,58,107,.07);
}
.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.ref-text {
	color: var(--body);
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.75;
	margin-bottom: 22px;
}
.ref-author {
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 800;
	color: var(--navy-dk);
	font-size: 0.9rem;
}
.ref-loc { color: var(--mid); font-size: 0.8rem; margin-top: 2px; }

/* 5) KONTAKT */
#kontakt {
	padding: var(--pad) 5%;
	background: var(--navy-dk);
}
#kontakt .section-title { color: var(--white); }
.kontakt-layout {
	display: block;
	max-width: 600px;
	margin-top: 52px;
}
.kontakt-info p {
	color: rgba(255,255,255,.6);
	font-weight: 300;
	line-height: 1.8;
	margin-bottom: 36px;
}
.kontakt-detail {
	display: flex; gap: 16px; align-items: center;
	margin-bottom: 20px;
}
.k-icon {
	width: 44px; height: 44px;
	background: var(--yellow);
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.15rem;
	flex-shrink: 0;
}
.k-label {
	font-size: 0.7rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.4);
	margin-bottom: 3px;
}
.k-value { color: var(--white); font-size: 0.95rem; font-weight: 600; }
.kontakt-detail-link {
	text-decoration: none;
	transition: opacity .2s;
}
.kontakt-detail-link:hover { opacity: .8; }
.kontakt-detail-link:hover .k-icon { background: var(--yellow-lt); }
.kontakt-detail-link:hover .k-value { color: var(--yellow-lt); }

.kontakt-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-checkbox-field {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	margin-top: 4px;
}
.form-checkbox-field input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.form-checkbox-field label {
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.86rem;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255,255,255,.82);
}
.form-checkbox-field a {
	color: var(--yellow-lt);
}
label {
	font-size: 0.72rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
	font-weight: 700;
}
input, textarea, select {
	background: rgba(255,255,255,.07);
	border: 1.5px solid rgba(255,255,255,.12);
	color: var(--white);
	padding: 12px 16px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 0.95rem;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--yellow);
	background: rgba(255,255,255,.1);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.25); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--navy-dk); color: var(--white); }
.form-status {
	min-height: 1.4em;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(255,255,255,.86);
}
.form-status.is-error {
	color: #ffd4d4;
}

/* 5) FOOTER */
footer {
	background: #08172e;
	padding: 28px 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	border-top: 1px solid rgba(255,255,255,.07);
}
.footer-logo {
	display: flex; align-items: center; gap: 10px;
}
.footer-logo img {
	height: auto;
	max-height: 36px;
	max-width: 100%;
	display: block;
	object-fit: contain;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
	color: rgba(255,255,255,.35);
	text-decoration: none;
	font-size: 0.8rem;
	transition: color .2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy { color: rgba(255,255,255,.25); font-size: 0.8rem; }

/* 5) RECHTSSEITEN */
.legal-main {
	padding: 120px 5% 60px;
	max-width: 900px;
	margin: 0 auto;
}

.legal-intro {
	margin-top: 16px;
	line-height: 1.7;
	color: var(--mid);
}

.legal-section {
	margin-top: 22px;
	line-height: 1.8;
}

.legal-section:first-of-type {
	margin-top: 28px;
}

.legal-section-title {
	font-size: 1.2rem;
	color: var(--navy-dk);
	margin-bottom: 6px;
}

.legal-note {
	margin-top: 28px;
	color: var(--mid);
}

.legal-back-link {
	margin-top: 28px;
}

/* 6) RESPONSIVE */
@media (max-width: 768px) {
	#hero { grid-template-columns: 1fr; text-align: center; }
	.hero-sub { max-width: 100%; }
	.hero-btns { justify-content: center; }
	.hero-visual { margin-top: 32px; padding-bottom: 40px; }
	#ueber { grid-template-columns: 1fr; }
	.ueber-visual { display: none; }
	.kontakt-layout { grid-template-columns: 1fr; gap: 40px; }
	.form-row { grid-template-columns: 1fr; }
	nav ul { display: none; }
	.ablauf-connector { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal,
	.reveal.visible {
		opacity: 1;
		transform: none;
	}
}

