/* ===== CSS RESET & GLOBAL STYLES ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #4A6FA5;
	--primary-dark: #385D8A;
	--secondary: #4ECDC4;
	--secondary-dark: #3DA49C;
	--accent: #FF6B6B;
	--light-1: #FFFFFF;
	--light-2: #F8F9FA;
	--light-3: #E9ECEF;
	--light-4: #DEE2E6;
	--dark: #212529;
	--text: #343A40;
	--text-secondary: #6C757D;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: 'Inter', sans-serif;
	line-height: 1.7;
	color: var(--text);
	background-color: var(--light-1);
	min-height: 100vh;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: var(--dark);
}

h2 {
	font-size: 3rem;
	color: var(--primary);
	position: relative;
	display: inline-block;
	padding-bottom: 1rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--secondary);
	border-radius: 4px;
}

h3 {
	font-size: 2rem;
	margin-top: 2rem;
	color: var(--primary-dark);
}

p {
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
	color: var(--text);
	font-weight: 400;
}

ul {
	margin-left: 1.5rem;
	margin-bottom: 2rem;
}

li {
	margin-bottom: 1rem;
	color: var(--text);
	position: relative;
	padding-left: 2rem;
	font-size: 1.1rem;
}

li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: bold;
	font-size: 1.5rem;
}

strong {
	color: var(--primary-dark);
	font-weight: 600;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

a:hover {
	color: var(--secondary-dark);
}

.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 4rem;
	position: relative;
	z-index: 2;
}

/* ===== FULL WIDTH SECTIONS ===== */
section {
	position: relative;
	padding: 8rem 0;
	width: 100%;
	overflow: hidden;
}

/* Section 1 - Hero with two columns */
#home {
	background-color: var(--light-2);
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
}

/* Section 2 - Light with subtle pattern */
#leistungen {
	background-color: var(--light-1);
	position: relative;
}

/* Section 3 - Light gradient */
#fusspflege {
	background: linear-gradient(135deg, var(--light-2) 0%, var(--light-3) 100%);
	position: relative;
}

/* Section 4 - Light with dots */
#nagel {
	background-color: var(--light-1);
	position: relative;
}

/* Section 5 - Light gradient */
#warzen {
	background: linear-gradient(45deg, var(--light-3) 0%, var(--light-2) 100%);
	position: relative;
}

/* Section 6 - Light with lines */
#diabetisch {
	background-color: var(--light-1);
	position: relative;
}

/* Section 7 - Light gradient */
#spange {
	background: linear-gradient(135deg, var(--light-2) 0%, var(--light-1) 100%);
	position: relative;
}

/* Section 8 - Light with grid */
#ueberuns {
	background-color: var(--light-3);
	position: relative;
}

/* Section 9 - Light gradient */
#termin {
	background: linear-gradient(45deg, var(--light-1) 0%, var(--light-3) 100%);
	position: relative;
}

/* Section 10 - Light with waves */
#kontakt {
	background-color: var(--light-2);
	position: relative;
}

/* ===== HERO SECTION - TWO COLUMNS ===== */
.hero-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: center;
}

.hero-content {
	padding-right: 2rem;
}

.hero-images {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.hero-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
	transition: transform 0.5s ease;
}

.hero-image-container:hover {
	transform: translateY(-10px);
}

.hero-image-container img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hero-image-container:hover img {
	transform: scale(1.05);
}

.image-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(74, 111, 165, 0.9);
	color: white;
	padding: 1rem;
	text-align: center;
	font-weight: 600;
	font-size: 1.1rem;
}

.hero-title {
	font-size: 3.5rem;
	color: var(--primary);
	margin-bottom: 2rem;
	line-height: 1.1;
}

.hero-subtitle {
	font-size: 1.4rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	font-weight: 300;
}

.hero-highlight {
	background-color: rgba(78, 205, 196, 0.1);
	padding: 2rem;
	border-radius: 15px;
	border-left: 5px solid var(--secondary);
	margin: 2rem 0;
}

/* ===== BACKGROUND PATTERNS ===== */
.pattern-circles {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.05;
	background-image: 
		radial-gradient(circle at 10% 20%, var(--primary) 1px, transparent 1px),
		radial-gradient(circle at 90% 80%, var(--secondary) 1px, transparent 1px);
	background-size: 100px 100px, 150px 150px;
	animation: floatPattern 30s infinite linear;
}

.pattern-dots {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.03;
	background-image: 
		radial-gradient(circle at 1px 1px, var(--secondary) 2px, transparent 2px);
	background-size: 40px 40px;
}

.pattern-grid {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.02;
	background-image: 
		linear-gradient(var(--primary) 1px, transparent 1px),
		linear-gradient(90deg, var(--primary) 1px, transparent 1px);
	background-size: 50px 50px;
}

.pattern-waves {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.05;
	background-image: 
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A6FA5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-lines {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.03;
	background-image: 
		linear-gradient(90deg, transparent 79px, var(--secondary) 79px, var(--secondary) 81px, transparent 81px),
		linear-gradient(#eee .1em, transparent .1em);
	background-size: 100% 1.2em;
}

/* ===== ANIMATED BACKGROUND ELEMENTS ===== */
.floating-shapes {
	position: absolute;
	z-index: 1;
	opacity: 0.08;
}

.shape-1 {
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
	top: 10%;
	left: 5%;
	animation: float 25s infinite ease-in-out;
	filter: blur(40px);
}

.shape-2 {
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
	bottom: 15%;
	right: 10%;
	animation: float 30s infinite ease-in-out reverse;
	filter: blur(30px);
}

.shape-3 {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
	top: 40%;
	right: 20%;
	animation: float 20s infinite ease-in-out;
	filter: blur(20px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(15px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(74, 111, 165, 0.1);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 4rem;
	max-width: 1400px;
	margin: 0 auto;
}

.logo {
	height: 65px;
	width: auto;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
	transform: scale(1.05) rotate(-2deg);
}

/* Desktop Navigation */
nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	gap: 0.2rem;
}

nav ul li {
	margin: 0;
	padding-left: 0;
}

nav ul li::before {
	display: none;
}

nav ul li a {
	display: block;
	padding: 0.9rem 1.8rem;
	font-weight: 600;
	color: var(--text);
	border-radius: 50px;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: all 0.4s ease;
	border: 1px solid transparent;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
}

nav ul li a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	opacity: 0;
	z-index: -1;
	transition: opacity 0.4s ease;
	border-radius: 50px;
}

nav ul li a:hover {
	color: white;
	border-color: rgba(74, 111, 165, 0.3);
	box-shadow: 0 5px 15px rgba(74, 111, 165, 0.2);
}

nav ul li a:hover::before {
	opacity: 1;
}

/* Mobile Navigation */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 10px;
	background: rgba(74, 111, 165, 0.1);
	border-radius: 10px;
	border: 1px solid rgba(74, 111, 165, 0.2);
	z-index: 1001;
}

.hamburger span {
	height: 3px;
	width: 28px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	margin: 4px 0;
	transition: 0.4s;
	border-radius: 3px;
}

/* ===== CONTENT STYLES ===== */
.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title h2::after {
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
}

.section-intro {
	font-size: 1.4rem;
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	color: var(--text-secondary);
	font-weight: 300;
}

/* ===== LEISTUNGEN GRID ===== */
.leistungen-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	margin: 4rem 0;
}

.leistung-card {
	background: white;
	border-radius: 20px;
	padding: 3rem 2rem;
	text-align: center;
	transition: all 0.5s ease;
	border: 1px solid rgba(74, 111, 165, 0.1);
	position: relative;
	overflow: hidden;
	z-index: 1;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.leistung-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	opacity: 0;
	z-index: -1;
	transition: opacity 0.5s ease;
}

.leistung-card i {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--primary);
	transition: all 0.5s ease;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.leistung-card h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--dark);
	transition: color 0.5s ease;
}

.leistung-card p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	transition: color 0.5s ease;
}

.leistung-card:hover {
	transform: translateY(-15px) scale(1.03);
	box-shadow: 0 20px 40px rgba(74, 111, 165, 0.15);
	border-color: transparent;
}

.leistung-card:hover::before {
	opacity: 0.05;
}

.leistung-card:hover i {
	transform: scale(1.2) rotate(5deg);
	color: var(--secondary-dark);
}

.leistung-card:hover h3 {
	color: var(--primary);
}

/* ===== BACK LINK ===== */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 4rem;
	padding: 1.2rem 2.5rem;
	background: var(--primary);
	color: white;
	border-radius: 50px;
	font-weight: 700;
	box-shadow: 0 10px 20px rgba(74, 111, 165, 0.2);
	transition: all 0.5s ease;
	border: none;
	position: relative;
	overflow: hidden;
	z-index: 1;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
}

.back-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-dark);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.5s ease;
	border-radius: 50px;
}

.back-link:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 15px 30px rgba(74, 111, 165, 0.3);
	color: white;
}

.back-link:hover::before {
	opacity: 1;
}

/* ===== TERMIN FORM ===== */
.termin-form {
	max-width: 800px;
	margin: 4rem auto 0;
	background: white;
	padding: 4rem;
	border-radius: 25px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(74, 111, 165, 0.1);
}

.form-group {
	margin-bottom: 2.5rem;
	position: relative;
}

label {
	display: block;
	margin-bottom: 1rem;
	font-weight: 600;
	color: var(--primary-dark);
	font-size: 1.2rem;
}

input, select {
	width: 100%;
	padding: 1.5rem 2rem;
	background: var(--light-2);
	border: 2px solid rgba(74, 111, 165, 0.2);
	border-radius: 15px;
	font-family: 'Inter', sans-serif;
	font-size: 1.1rem;
	color: var(--text);
	transition: all 0.4s ease;
}

input:focus, select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(74, 111, 165, 0.1);
	background: white;
}

button {
	background: var(--primary);
	color: white;
	border: none;
	padding: 1.5rem 3rem;
	font-size: 1.3rem;
	font-weight: 700;
	border-radius: 15px;
	cursor: pointer;
	transition: all 0.5s ease;
	width: 100%;
	position: relative;
	overflow: hidden;
	z-index: 1;
	margin-top: 1rem;
	letter-spacing: 1px;
}

button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-dark);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.5s ease;
}

button:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(74, 111, 165, 0.3);
}

button:hover::before {
	opacity: 1;
}

/* ===== CONTACT CARDS ===== */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-top: 4rem;
}

.contact-card {
	background: white;
	padding: 3rem 2.5rem;
	border-radius: 20px;
	border: 1px solid rgba(74, 111, 165, 0.1);
	transition: all 0.5s ease;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(74, 111, 165, 0.1);
	border-color: var(--primary);
}

.contact-card i {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--primary);
}

.contact-card h3 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.contact-card p {
	font-size: 1.2rem;
	color: var(--text-secondary);
}

/* ===== FOOTER ===== */
footer {
	background: var(--dark);
	padding: 5rem 0 3rem;
	margin-top: 4rem;
	position: relative;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 4rem;
	text-align: center;
}

.footer-logo {
	height: 70px;
	margin-bottom: 2rem;
	filter: brightness(0) invert(1);
}

footer p {
	margin-bottom: 1.5rem;
	color: var(--light-3);
	font-size: 1.1rem;
}

.copyright {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--light-4);
	font-size: 0.95rem;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	25% { transform: translate(20px, 30px) rotate(5deg); }
	50% { transform: translate(-15px, 20px) rotate(-5deg); }
	75% { transform: translate(10px, -10px) rotate(3deg); }
}

@keyframes floatPattern {
	0% { background-position: 0 0, 0 0; }
	100% { background-position: 100px 100px, 150px 150px; }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(60px); }
	to { opacity: 1; transform: translateY(0); }
}

.content-wrapper {
	animation: fadeInUp 1s ease-out;
}

.leistung-card {
	animation: fadeInUp 0.8s ease-out;
	animation-fill-mode: both;
}

.leistung-card:nth-child(1) { animation-delay: 0.1s; }
.leistung-card:nth-child(2) { animation-delay: 0.2s; }
.leistung-card:nth-child(3) { animation-delay: 0.3s; }
.leistung-card:nth-child(4) { animation-delay: 0.4s; }
.leistung-card:nth-child(5) { animation-delay: 0.5s; }

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
	.container, .header-container, .footer-container {
		padding: 0 3rem;
	}
	
	h2 {
		font-size: 2.8rem;
	}
	
	.hero-container {
		gap: 4rem;
	}
	
	.hero-title {
		font-size: 3rem;
	}
}

@media (max-width: 992px) {
	.container, .header-container, .footer-container {
		padding: 0 2rem;
	}
	
	h2 {
		font-size: 2.4rem;
	}
	
	section {
		padding: 6rem 0;
	}
	
	.leistungen-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 2rem;
	}
	
	.hero-container {
		grid-template-columns: 1fr;
		gap: 4rem;
	}
	
	.hero-content {
		padding-right: 0;
		text-align: center;
	}
	
	.hero-title {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 1rem 2rem;
	}
	
	.logo {
		height: 55px;
	}
	
	/* Hamburger menu for mobile */
	.hamburger {
		display: flex;
	}
	
	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg) translate(8px, 8px);
	}
	
	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}
	
	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}
	
	nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 320px;
		height: 100vh;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(25px);
		box-shadow: -15px 0 40px rgba(0, 0, 0, 0.1);
		transition: right 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		padding-top: 120px;
		z-index: 1000;
		border-left: 1px solid rgba(74, 111, 165, 0.1);
	}
	
	nav.active {
		right: 0;
	}
	
	nav ul {
		flex-direction: column;
		padding: 0 2.5rem;
		gap: 0.5rem;
	}
	
	nav ul li a {
		padding: 1.5rem 2rem;
		border-radius: 15px;
		border: 1px solid rgba(74, 111, 165, 0.1);
		margin-bottom: 0.5rem;
		text-align: center;
		font-size: 1.1rem;
		color: var(--text);
	}
	
	nav ul li a:hover {
		color: white;
	}
	
	section {
		padding: 5rem 0;
	}
	
	.container {
		padding: 0 1.5rem;
	}
	
	h2 {
		font-size: 2rem;
	}
	
	.termin-form {
		padding: 3rem 2rem;
	}
	
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.hero-title {
		font-size: 2.4rem;
	}
	
	.hero-images {
		gap: 2rem;
	}
	
	.hero-image-container img {
		height: 250px;
	}
}

@media (max-width: 576px) {
	.container, .header-container, .footer-container {
		padding: 0 1.2rem;
	}
	
	h2 {
		font-size: 1.8rem;
	}
	
	.leistungen-grid {
		grid-template-columns: 1fr;
	}
	
	.leistung-card {
		padding: 2.5rem 1.5rem;
	}
	
	.termin-form {
		padding: 2.5rem 1.5rem;
	}
	
	.back-link {
		padding: 1rem 2rem;
		font-size: 1rem;
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-image-container img {
		height: 200px;
	}
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: var(--light-3);
}

::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 6px;
	border: 2px solid var(--light-3);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary-dark);
}