/* Modern Leseampel Redesign 2025 */
:root {
	/* Logo-inspirierte Farbpalette */
	--red: #e74c3c;
	--orange: #f6b93b;
	--green: #4caf50;
	--white: #ffffff;
	--dark: #2c3e50;
	--light-gray: #f5f7fa;
	--gray: #95a5a6;

	/* Typografie */
	--font-main: "Poppins", sans-serif;
	--font-secondary: "Roboto", sans-serif;

	/* Radien und Schatten */
	--border-radius-sm: 8px;
	--border-radius-md: 16px;
	--border-radius-lg: 24px;
	--box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	--box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);

	/* Animationen */
	--transition-slow: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
	--transition-normal: 0.3s cubic-bezier(0.33, 1, 0.68, 1);
	--transition-fast: 0.15s cubic-bezier(0.33, 1, 0.68, 1);

	/* Layout */
	--container-width: 1280px;
	--section-padding: 100px 0;
	--header-height: 90px;
}

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 62.5%; /* 10px = 1rem */
}

body {
	font-family: var(--font-main);
	font-size: 1.6rem;
	color: var(--dark);
	line-height: 1.6;
	overflow-x: hidden;
	background: var(--white);
}

a {
	text-decoration: none;
	color: var(--dark);
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--green);
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

section {
	position: relative;
	padding: var(--section-padding);
	overflow: hidden;
}

/* Typografie */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 2rem;
}

h1 {
	font-size: 6rem;
	font-weight: 800;
}

h2 {
	font-size: 4.2rem;
	margin-bottom: 5rem;
	position: relative;
	display: inline-block;
}

h2:after {
	content: "";
	position: absolute;
	width: 80px;
	height: 4px;
	background: var(--green);
	left: 0;
	bottom: -15px;
	border-radius: 2px;
}

h3 {
	font-size: 2.8rem;
}

p {
	margin-bottom: 2rem;
}

.section-subtitle {
	font-size: 1.8rem;
	color: var(--gray);
	margin-bottom: 3rem;
	max-width: 700px;
}

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

.text-center h2:after {
	left: 50%;
	transform: translateX(-50%);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.4rem 3.6rem;
	font-size: 1.6rem;
	font-weight: 600;
	border-radius: var(--border-radius-sm);
	transition: all var(--transition-normal);
	position: relative;
	overflow: hidden;
	z-index: 1;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: var(--transition-fast);
	z-index: -1;
}

.btn:hover:before {
	width: 100%;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--box-shadow-hover);
}

.btn-primary {
	background: var(--green);
	color: white;
}

.btn-secondary {
	background: var(--light-gray);
	color: var(--dark);
}

.btn-red {
	background: var(--red);
	color: white;
}

.btn-orange {
	background: var(--orange);
	color: white;
}

.btn i {
	margin-right: 8px;
}

/* Header & Navigation */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 0;
	transition: all var(--transition-normal);
	height: var(--header-height);
	display: flex;
	align-items: center;
}

header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	height: 70px;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.logo-container {
	display: flex;
	align-items: center;
}

.logo {
	height: 50px;
	width: auto;
	transition: height var(--transition-normal);
}

header.scrolled .logo {
	height: 40px;
}

.logo-text {
	font-size: 2.2rem;
	font-weight: 700;
	margin-left: 1rem;
	transition: font-size var(--transition-normal);
}

header.scrolled .logo-text {
	font-size: 1.8rem;
}

.nav-links {
	display: flex;
	gap: 3rem;
}

.nav-links a {
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
}

.nav-links a:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background: var(--green);
	transition: width var(--transition-normal);
}

.nav-links a:hover:after {
	width: 100%;
}

.download-btn {
	margin-left: 3rem;
}

.mobile-menu-toggle {
	display: none;
	font-size: 2.4rem;
	cursor: pointer;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	padding-top: var(--header-height);
	background: linear-gradient(135deg, #f5f7fa 0%, #e9f1f6 100%);
	overflow: hidden;
}

.hero-content {
	width: 45%;
	z-index: 2;
}

.hero-image {
	position: absolute;
	right: 0;
	width: 50%;
	height: 100%;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.hero-circles {
	position: relative;
	width: 400px;
	height: 400px;
}

.circle {
	position: absolute;
	border-radius: 50%;
	transform: translateY(50px);
	opacity: 0;
	animation: fadeInUp 1s forwards;
}

.circle-green {
	width: 400px;
	height: 400px;
	background: var(--green);
	animation-delay: 0.2s;
}

.circle-white {
	width: 300px;
	height: 300px;
	background: white;
	top: 50px;
	left: 50px;
	animation-delay: 0.4s;
}

.circle-orange {
	width: 220px;
	height: 220px;
	background: var(--orange);
	top: 90px;
	left: 90px;
	animation-delay: 0.6s;
}

.circle-red {
	width: 120px;
	height: 120px;
	background: var(--red);
	top: 140px;
	left: 140px;
	animation-delay: 0.8s;
}

.subtitle {
	font-size: 2rem;
	margin-bottom: 3rem;
	color: var(--gray);
}

.cta-buttons {
	display: flex;
	gap: 1.5rem;
	margin-top: 4rem;
}

/* Floating Elements Animation */
.floating-elements {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.floating-element {
	position: absolute;
	opacity: 0.6;
	animation: float 6s ease-in-out infinite;
}

.element-1 {
	width: 50px;
	height: 50px;
	background: var(--green);
	border-radius: 50%;
	top: 20%;
	left: 10%;
	animation-delay: 0s;
}

.element-2 {
	width: 35px;
	height: 35px;
	background: var(--orange);
	border-radius: 50%;
	top: 70%;
	left: 20%;
	animation-delay: 1s;
}

.element-3 {
	width: 25px;
	height: 25px;
	background: var(--red);
	border-radius: 50%;
	top: 40%;
	right: 10%;
	animation-delay: 2s;
}

/* About Section */
.about {
	background: var(--white);
}

.color-key {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin-top: 4rem;
}

.color-item {
	flex: 1;
	min-width: 250px;
	background: white;
	padding: 3rem;
	border-radius: var(--border-radius-md);
	box-shadow: var(--box-shadow);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform var(--transition-normal);
}

.color-item:hover {
	transform: translateY(-10px);
}

.color-dot {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 2rem;
}

.green {
	background-color: var(--green);
}

.orange {
	background-color: var(--orange);
}

.red {
	background-color: var(--red);
}

/* Features Section */
.features {
	background: var(--light-gray);
	position: relative;
}

.features:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(
			circle at 20% 30%,
			rgba(76, 175, 80, 0.05) 0%,
			rgba(76, 175, 80, 0) 50%
		),
		radial-gradient(
			circle at 80% 70%,
			rgba(246, 185, 59, 0.05) 0%,
			rgba(246, 185, 59, 0) 50%
		);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 3rem;
}

.feature-card {
	background: white;
	padding: 4rem 3rem;
	border-radius: var(--border-radius-md);
	box-shadow: var(--box-shadow);
	transition: transform var(--transition-normal);
	transform: translateY(50px);
	opacity: 0;
}

.feature-card.visible {
	transform: translateY(0);
	opacity: 1;
}

.feature-card:hover {
	transform: translateY(-10px);
}

.feature-icon {
	font-size: 3.6rem;
	margin-bottom: 2rem;
	color: var(--green);
	background: var(--light-gray);
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

/* Demo Section */
.demo {
	background: var(--white);
}

.demo-wrapper {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.linkedin-post {
	background: white;
	border-radius: var(--border-radius-md);
	padding: 2.5rem;
	box-shadow: var(--box-shadow);
	transition: all var(--transition-normal);
	transform: translateY(50px);
	opacity: 0;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.linkedin-post.visible {
	transform: translateY(0);
	opacity: 1;
}

.linkedin-post:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-hover);
}

.post-header {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.profile-img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--light-gray);
	margin-right: 1.5rem;
}

.post-info h4 {
	margin-bottom: 0.5rem;
	font-size: 1.8rem;
}

.post-info p {
	margin-bottom: 0;
	font-size: 1.4rem;
	color: var(--gray);
}

.reading-time {
	display: inline-block;
	padding: 0.8rem 1.6rem;
	border-radius: 50px;
	margin-bottom: 1.5rem;
	color: white;
	font-weight: 500;
	font-size: 1.4rem;
}

.reading-time.green {
	background: var(--green);
}

.reading-time.orange {
	background: var(--orange);
}

.reading-time.red {
	background: var(--red);
}

/* Coming Soon Section */
.installation {
	background: var(--light-gray);
	position: relative;
	overflow: hidden;
}

.coming-soon-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.announcement {
	background: white;
	padding: 6rem 4rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
	margin-bottom: 4rem;
	width: 100%;
}

.announcement i {
	color: var(--orange);
	margin-bottom: 2rem;
}

.announcement p {
	font-size: 2rem;
	margin-bottom: 0;
}

/* Usage Section */
.usage {
	background: var(--white);
}

.usage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 3rem;
}

.usage-item {
	padding: 4rem 3rem;
	border-radius: var(--border-radius-md);
	box-shadow: var(--box-shadow);
	background: white;
	text-align: center;
	transition: transform var(--transition-normal);
	transform: translateX(-50px);
	opacity: 0;
}

.usage-item.visible {
	transform: translateX(0);
	opacity: 1;
}

.usage-item:hover {
	transform: translateY(-10px);
}

.usage-icon {
	font-size: 3.6rem;
	margin-bottom: 2rem;
	color: var(--green);
}

/* Development Section */
.development {
	background: var(--light-gray);
}

.tech-stack {
	list-style: none;
	margin: 3rem 0 4rem;
}

.tech-stack li {
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	display: flex;
	align-items: center;
}

.tech-stack li:before {
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right: 1.5rem;
	color: var(--green);
}

.tech-name {
	font-weight: 600;
	margin-right: 0.8rem;
}

.launch-cta {
	margin-top: 5rem;
	display: flex;
	justify-content: center;
}

.launch-btn {
	font-size: 1.8rem;
}

/* Contact Accordion */
.contact-accordion {
	width: 100%;
	padding: 6rem 0;
	background: linear-gradient(to right, var(--light-gray) 0%, white 100%);
}

.accordion-container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.accordion-toggle {
	width: 100%;
	background: var(--green);
	color: white;
	border: none;
	padding: 2rem;
	font-size: 1.8rem;
	font-weight: 600;
	border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
	text-align: center;
	cursor: pointer;
	transition: background var(--transition-fast);
}

.accordion-toggle:hover {
	background: #3d8b40;
}

.accordion-content {
	display: none;
	padding: 3rem;
	background: white;
	border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
	box-shadow: var(--box-shadow);
}

.accordion-content.active {
	display: block;
}

/* Footer */
footer {
	background: var(--dark);
	color: white;
	padding: 6rem 0 2rem;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4rem;
	margin-bottom: 4rem;
}

.footer-links {
	display: flex;
	gap: 3rem;
}

.footer-links a {
	color: white;
	transition: color var(--transition-fast);
}

.footer-links a:hover {
	color: var(--green);
}

.footer-legal {
	display: flex;
	gap: 2rem;
	margin-top: 1.5rem;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.footer-legal a {
	color: white;
	font-size: 1.5rem;
	text-decoration: underline;
	transition: color var(--transition-fast);
}

.footer-legal a:hover {
	color: var(--green);
}

.copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
}

/* Parallax & Animation */
.parallax-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	z-index: 0;
	transform: translateZ(-1px) scale(2);
}

.parallax-wrapper {
	position: relative;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	perspective: 1px;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Responsive Styles */
@media (max-width: 1200px) {
	html {
		font-size: 56.25%; /* 9px = 1rem */
	}

	.hero-content {
		width: 50%;
	}

	.hero-circles {
		width: 350px;
		height: 350px;
	}

	.circle-green {
		width: 350px;
		height: 350px;
	}

	.circle-white {
		width: 260px;
		height: 260px;
		top: 45px;
		left: 45px;
	}

	.circle-orange {
		width: 190px;
		height: 190px;
		top: 80px;
		left: 80px;
	}

	.circle-red {
		width: 100px;
		height: 100px;
		top: 125px;
		left: 125px;
	}
}

@media (max-width: 991px) {
	html {
		font-size: 50%; /* 8px = 1rem */
	}

	section {
		padding: 80px 0;
	}

	.hero {
		flex-direction: column;
		text-align: center;
		padding-top: calc(var(--header-height) + 50px);
	}

	.hero-content {
		width: 100%;
		max-width: 600px;
		margin-bottom: 50px;
	}

	.cta-buttons {
		justify-content: center;
	}

	.hero-image {
		position: relative;
		width: 100%;
		height: 350px;
		margin-top: 30px;
	}

	h2:after {
		left: 50%;
		transform: translateX(-50%);
	}

	.text-center h2:after {
		left: 50%;
		transform: translateX(-50%);
	}

	.nav-links {
		position: fixed;
		top: var(--header-height);
		left: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background: white;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4rem;
		transition: left var(--transition-normal);
		z-index: 999;
	}

	.nav-links.active {
		left: 0;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.logo-text {
		font-size: 1.8rem;
	}
}

@media (max-width: 767px) {
	.color-key,
	.feature-grid,
	.usage-grid {
		grid-template-columns: 1fr;
	}

	.color-item,
	.feature-card,
	.usage-item {
		min-width: 0;
	}

	.footer-content {
		flex-direction: column;
		gap: 2rem;
	}

	.footer-links {
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: white;
	padding: 2rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	transform: translateY(100%);
	transition: transform var(--transition-normal);
}

.cookie-banner.visible {
	transform: translateY(0);
}

.cookie-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-text h3 {
	margin-bottom: 1rem;
}

.cookie-buttons {
	display: flex;
	gap: 1.5rem;
}

#cookie-accept {
	background: var(--green);
}

#cookie-decline {
	background: var(--red);
}

@media (max-width: 767px) {
	.cookie-content {
		flex-direction: column;
	}

	.cookie-buttons {
		flex-direction: column;
		gap: 1rem;
	}
}

/* Animations for scroll effects */
.fade-in {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.slide-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.slide-in-right {
	opacity: 0;
	transform: translateX(50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.delay-1 {
	transition-delay: 0.1s;
}

.delay-2 {
	transition-delay: 0.2s;
}

.delay-3 {
	transition-delay: 0.3s;
}

.delay-4 {
	transition-delay: 0.4s;
}

.delay-5 {
	transition-delay: 0.5s;
}
