body {
    font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
    margin: 0;
    padding: 0;
	background-color: #52b7c1;
    color: #2d3c4b;
	max-width: 100%;
	overflow-x: hidden;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

blockquote {
	font-size: 1.6em;
    font-style: italic;
	line-height: 2.0em;
    border-left: 4px solid #ccc;
    margin: 20px 0;
    padding-left: 15px;
    color: #2d3c4b;
    border-radius: 5px;
}

p , li {
	font-size: 1.2em;
	line-height: 1.6;
}

.cadenabbia {
	display: block;
	color: #52b7c1;
}

@media (min-width: 2560px) {
	p, li {
		line-height: 2.4;
	}
}

/* Standard Navigation für Desktop */
header {
    position: absolute;
	width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header a {
	 padding: 15px 30px;
}

nav {
    display: flex;
}

nav a, .mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
	font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #52b7c1;
}

nav img {
	height: 30px;
	width: 30px;
}

nav a img, header picture a {
	margin: 0 5px;
	padding: 10px 0;
}

.mobile-nav {
	display: none;
}

/* Sticky Zustand */
header.sticky {
    position: fixed;
    background: rgba(45, 60, 75, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 100%;
}

/* Mobiles Menü Icon (Hamburger) */
.menu-icon {
    display: flex;
    padding: 15px 30px;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	background-color: transparent;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: white;
    margin: 5px 0;
    transition: background-color 0.3s ease;
}

/* Mobile Ansicht */
@media (max-width: 1200px) {
	header {
		background: none;
	}
	
    nav {
        display: none;
    }

    .mobile-nav {
		display: none;
		position: fixed;
		background-color: #000000;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		z-index: 10;
    }
	
	.mobile-nav ul li {
		list-style-type: none;
	}
	
	.mobile-nav ul {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.mobile-nav li {
		width: 100%;
		background-color: #2d3c4b;
		padding: 30px;
		margin-bottom: 5px;
	}

    .menu-icon {
        display: block; /* Hamburger-Menü anzeigen */
    }

	header.menu-open .mobile-nav {
	    display: flex;
	}
}

/* Hero */
.hero {
    background-image: image-set(
        url('../images/background-small.webp') type("image/webp"),
        url('../images/background-small.jpg') type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: white;
    padding: 0 20px;
}

@media (max-width: 480px) and (orientation: portrait) {
    .hero {
        background-image: image-set(
            url('../images/background-portrait.webp') type("image/webp"),
            url('../images/background-portrait.jpg') type("image/jpeg")
        );
        background-size: cover;
        height: 90vh;
        padding: 0 10px;
    }
}

@media (max-width: 1200px) and (orientation: portrait) {
    .hero {
        background-image: image-set(
            url('../images/background-portrait-large.webp') type("image/webp"),
            url('../images/background-portrait-large.jpg') type("image/jpeg")
        );
        background-size: cover;
        height: 90vh;
        padding: 0 10px;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .hero {
        background-image: image-set(
            url('../images/background-small.webp') type("image/webp"),
            url('../images/background-small.jpg') type("image/jpeg")
        );
        background-size: cover;
        height: 100vh;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    .hero {
        background-image: image-set(
            url('../images/background-medium.webp') type("image/webp"),
            url('../images/background-medium.jpg') type("image/jpeg")
        );
        height: 100vh;
    }
}

@media (min-width: 1200px) and (orientation: landscape) {
    .hero {
        background-image: image-set(
            url('../images/background-large.webp') type("image/webp"),
            url('../images/background-large.jpg') type("image/jpeg")
        );
		background-position: top;
        height: 100vh;
    }
}

@media (min-width: 2500px) and (orientation: landscape) {
    .hero {
        background-image: image-set(
            url('../images/background-verylarge.webp') type("image/webp"),
            url('../images/background-verylarge.jpg') type("image/jpeg")
        );
        height: 100vh;
    }
}

.hero-content {
    text-align: right;
}

.hero-content h1 {
	display: block;
	margin: 0;
	padding: 20px;
	background-color: #2d3c4b;
	color: #ffffff;
	font-size: 3em;
}

.hero-content p {
	display: inline-grid;
	margin: 0;
	margin-bottom: 10px;
	padding: 10px 20px;
	background-color: #ffffff;
	color: #000000;
	font-size: 1.0em;
}

@media (min-width: 1200px) {
	.hero-content h1 {
		font-size: 6em;
	}
}

.about .pure-g, .motivation .pure-g, .kontakt .pure-g, .privacy .pure-g {
    padding-top: 60px;
	padding-bottom: 60px;
	max-width: 100%;
	width: 100%;
}

.about {
	padding: 20px;
    background-color: #ffffff;
}

.about-section {
    display: grid;
    grid-template-columns: 2fr 2fr;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	background-color: #ffffff;
	margin-bottom: 20px;
	padding: 20px;
}

.about-section.reverse {
    grid-template-columns: 2fr 2fr;
}

.about-image {
    max-width: 100%;
	height: auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .about-section, .about-section.reverse {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
	.about-section {
		gap: 60px;
		margin-bottom: 5vh;
	}
	
	.about-content h3 {
		margin-top: 0;
	}
}

.hofheimplan,
.hofheimplan p a {
	color: #ffffff;
}

@media (max-width: 1200px) {
	.hofheimplan {
		padding: 0 20px;
	}
}

.motivation-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
	margin-right: 5px;
	height: 25vh;
}

@media (min-width: 768px) {
	.motivation-card {
		height: 250px;
	}
}

@media (min-width: 1440px) {
	.motivation-card {
		height: 200px;
	}
}

/* Hover-Effekt */
.motivation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Effekt beim Klicken */
.motivation-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.motivation-card i {
    font-size: 40px;
    color: #2d3c4b;
    margin-bottom: 10px;
}

.motivation-card h3 {
	hyphens: auto;
    font-size: 1.5em;
    margin: 10px 0;
    color: #2d3c4b;
}

.motivation-card p {
    font-size: 0.9em;
    color: #555555;
    line-height: 1.4;
}

#facebook-container, #instagram-container {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
	margin-right:20px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#facebook-preview #instagram-preview {
    margin: 20px 0;
}

#facebook-container iframe, #instagram-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

#facebook-button, #instagram-button {
    background-color: #2d3c4b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#facebook-button:hover, #instagram-button:hover {
    background-color: #2d3c4b;
}

.aktuelles {
    padding: 20px;
    background-color: #f9f9f9;
	color: #000000;
}

.aktuelles a {
	color: #000000;
}

.spende {
	color: #fff;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 0;
}

.timeline-item {
    background-color: #2d3c4b;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-date {
    font-weight: bold;
    font-size: .9em;
    color: #52b7c1;
    margin-bottom: 5px;
}

.timeline-content h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
    word-wrap: break-word;
}

.timeline-content p {
	font-size: 1.0em;
	line-height: 1.2em;
    margin: 5px 0 0;
    color: #ffffff;
}

@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
	.spende {
		padding: 0 20px;
	}
}

.privacy {
	background-color: #ffffff;
	padding: 20px;
}

.privacy a {
	color: #52b7c1;
}

.privacy p {
	overflow-y: hidden;
}

.kontakt {
    background-color: #f1f1f1;
	color: #000000;
	padding: 20px;
}

.kontakt a {
	color: #000000;
	text-decoration: none;
}

.kontakt i {
	color: #52b7c1;
}

.kontakt img {
	height: 100px;
}

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

@media (min-width: 768px) and (max-width: 1199px) {
	
	.kontakt img {
		height: 60px;
	}
	
}

@media (min-width: 1200px) {
	
	.contact-div {
		margin: 0 auto;
		max-width: 1200px;
	}
	
}

footer {
    margin-top: 40px;
    text-align: center;
	color: #000000;
}

footer img {
    opacity: 0.7;
	margin: 0 auto;
}

footer .pure-u-sm-1-3 img {
	margin-right: 10px;
}

@media (max-width: 768px) {
	footer div:first-child {
		margin-bottom: 20px;
	}
}

@media (min-width: 768px) {
    .about, .hofheimplan, .aktuelles, .spende, .kontakt {
        padding: 60px 40px;
    }
}