/* Einfaches globales Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}


html, body {
height: 100%;
}

body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
display: flex;
flex-direction: column;
min-height: 100vh;
}


/* Navigation */
nav {
width: 100%;
background: #333;
padding: 15px 0;
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 60px;
}

/* Logo */
.logo-link {
display: flex;
align-items: center;
padding-left: 30px;
text-decoration: none;
gap: 15px;
}

.nav-logo {
height: 70px;
width: auto;
max-width: 200px;
object-fit: contain;
}

.logo-text {
height: auto;
max-height: 40px;
width: auto;
object-fit: contain;
}

/* Hamburger Button */
.hamburger {
display: none;
flex-direction: column;
background: transparent;
border: none;
cursor: pointer;
z-index: 1001;
position: absolute;
right: 20px;
width: 10px;
transform: translateY(-50%);
}

.hamburger span {
width: 25px;
height: 3px;
background: #fff;
margin: 3px 0;
transition: all 0.3s ease;
border-radius: 2px;
}

.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, -7px);
}

nav ul {
display: flex;
justify-content: flex-end;
gap: 30px;
list-style: none;
padding-right: 30px;
transition: all 0.3s ease;
flex: 1;
}

nav a {
color: #fff;
text-decoration: none;
font-size: 18px;
transition: color 0.3s ease;
}

nav a:hover {
color: #ddd;
}


/* Banner */
.banner {
width: 100%;
height: 300px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}

.banner img {
width: 100%;
height: 100%;
object-fit: cover;
}


/* Zwei vertikale Blöcke */
.content-container {
display: flex;
flex-direction: column;
gap: 20px;
padding: 30px;
}


.block {
background: #f4f4f4;
border-radius: 8px;
text-align: center;
}

.block-centered {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.block-image {
width: 100%;
max-width: 100%;
height: 500px;
object-fit: cover;
border-radius: 8px;
}


button {
padding: 12px 25px;
border: none;
border-radius: 5px;
background: #333;
color: white;
font-size: 18px;
cursor: pointer;
width: 150px;
margin-top: 50px;
}


/* Footer */
footer {
margin-top: auto;
padding: 20px;
background: #333;
color: #fff;
text-align: center;
}


/* Main Wrapper */
main {
flex: 1;
}


/* Responsive */
@media (max-width: 767px) {
.hamburger {
display: flex;
}

nav {
padding: 0;
justify-content: space-between;
min-height: 60px;
padding-right: 20px;
}

.logo-link {
padding-left: 20px;
gap: 10px;
}

.nav-logo {
height: 40px;
}

.logo-text {
max-height: 30px;
}

nav ul {
position: fixed;
left: -100%;
top: 60px;
flex-direction: column;
background: #333;
width: 100%;
text-align: center;
transition: left 0.3s ease;
padding: 20px 0;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
gap: 0;
}

nav ul.active {
left: 0;
}

nav ul li {
padding: 15px 0;
}

nav ul li a {
font-size: 20px;
}

.content-container {
flex-direction: column;
}
}

@media (min-width: 768px) {
.content-container {
flex-direction: row;
}
.block {
flex: 1;
}
}


/* Kontaktformular */
.contact-section {
position: relative;
padding: 50px 30px;
min-height: auto;
background-image: url('../images/sonnenuntergang-mit-meer-und-strand.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards;
overflow: hidden;
}

.contact-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(15, 32, 39, 0.7) 0%, rgba(32, 58, 67, 0.6) 50%, rgba(44, 83, 100, 0.7) 100%);
backdrop-filter: blur(2px);
z-index: 1;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.contact-container {
position: relative;
z-index: 2;
max-width: 700px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-radius: 16px;
padding: 35px;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
animation: slideIn 0.6s ease-out 0.2s both;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
transform: translateY(-5px);
box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.5);
}

@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.contact-title {
font-size: 2rem;
font-weight: 600;
color: #fff;
text-align: center;
margin-bottom: 30px;
position: relative;
padding-bottom: 15px;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
border-radius: 2px;
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.contact-form {
display: flex;
flex-direction: column;
gap: 18px;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}

.form-group {
display: flex;
flex-direction: column;
position: relative;
}

.form-group label {
font-size: 0.9rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.95);
margin-bottom: 6px;
transition: color 0.3s ease;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-group input,
.form-group textarea {
padding: 12px 14px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 10px;
font-size: 0.95rem;
font-family: 'Montserrat', sans-serif;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: #fff;
transition: all 0.3s ease;
outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
background: rgba(255, 255, 255, 0.3);
border-color: rgba(255, 255, 255, 0.6);
box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
color: rgba(255, 255, 255, 1);
}

.form-group textarea {
resize: vertical;
min-height: 100px;
}

.submit-btn {
padding: 14px 35px;
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: white;
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
font-family: 'Montserrat', sans-serif;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 8px;
align-self: center;
min-width: 180px;
position: relative;
overflow: hidden;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
width: 300px;
height: 300px;
}

.submit-btn:hover {
background: rgba(255, 255, 255, 0.35);
border-color: rgba(255, 255, 255, 0.6);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
transform: translateY(0);
}

/* Responsive für Kontaktformular */
@media (max-width: 767px) {
.contact-section {
padding: 30px 20px;
background-attachment: scroll;
min-height: auto;
}

.contact-container {
padding: 25px 18px;
}

.contact-title {
font-size: 1.75rem;
margin-bottom: 25px;
padding-bottom: 12px;
}

.contact-form {
gap: 16px;
}

.form-row {
grid-template-columns: 1fr;
gap: 16px;
}

.submit-btn {
width: 100%;
padding: 12px 30px;
}
}

/* Datenschutzerklärung Stile */
.block h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 30px;
color: #333;
text-align: center;
}

.block h2 {
font-size: 1.8rem;
font-weight: 600;
margin-top: 40px;
margin-bottom: 20px;
color: #333;
border-bottom: 2px solid #333;
padding-bottom: 10px;
}

.block h3 {
font-size: 1.3rem;
font-weight: 600;
margin-top: 25px;
margin-bottom: 15px;
color: #555;
}

.block section {
margin-bottom: 40px;
}

.block p {
margin-bottom: 15px;
line-height: 1.8;
color: #444;
}

.block ul {
margin: 15px 0;
padding-left: 30px;
}

.block li {
margin-bottom: 10px;
line-height: 1.8;
color: #444;
}

.block address {
font-style: normal;
margin: 15px 0;
padding: 15px;
background: #f9f9f9;
border-left: 4px solid #333;
border-radius: 4px;
line-height: 1.8;
}

.block address a {
color: #333;
text-decoration: underline;
}

.block address a:hover {
color: #555;
}

.block footer {
margin-top: 50px;
padding-top: 25px;
border-top: 2px solid #ddd;
font-size: 0.9em;
color: #666;
}

.block footer p {
margin-bottom: 10px;
}

.block footer a {
color: #333;
text-decoration: underline;
}

.block footer a:hover {
color: #555;
}

/* Responsive für Datenschutzerklärung und Impressum */
@media (max-width: 767px) {
.block h1 {
font-size: 1.8rem;
margin-bottom: 20px;
line-height: 1.3;
}

.block h2 {
font-size: 1.4rem;
margin-top: 30px;
margin-bottom: 15px;
padding-bottom: 8px;
line-height: 1.3;
border-bottom-width: 2px;
}

.block h3 {
font-size: 1rem;
margin-top: 20px;
margin-bottom: 12px;
line-height: 1.4;
}

.block {
padding: 20px 15px !important;
max-width: 100% !important;
}

.block p {
font-size: 0.95rem;
line-height: 1.7;
margin-bottom: 12px;
word-wrap: break-word;
}

.block ul {
padding-left: 20px;
margin: 12px 0;
}

.block li {
font-size: 0.95rem;
margin-bottom: 8px;
line-height: 1.7;
word-wrap: break-word;
}

.block address {
padding: 12px;
font-size: 0.9rem;
line-height: 1.6;
word-wrap: break-word;
}

.block address a {
word-break: break-all;
}

.block section {
margin-bottom: 30px;
}

.block footer {
margin-top: 30px;
padding-top: 15px;
font-size: 0.85em;
}

.content-container {
padding: 15px 10px;
gap: 15px;
}

/* Scroll to Top Button - Mobile */
.scroll-to-top {
width: 45px;
height: 45px;
bottom: 20px;
right: 20px;
font-size: 20px;
}

/* Verbesserte Lesbarkeit auf kleinen Bildschirmen */
.block strong {
font-weight: 600;
}

.block a {
word-break: break-word;
}
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
.block h1 {
font-size: 1.5rem;
}

.block h2 {
font-size: 1.2rem;
}

.block {
padding: 15px 12px !important;
}

.content-container {
padding: 10px 5px;
}
}

/* Form Message Styles */
#formMessage {
padding: 12px 20px;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 500;
margin-top: 15px;
text-align: center;
animation: fadeIn 0.3s ease-in;
display: none;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}

/* Scroll to Top Button */
.scroll-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: #333;
color: #fff;
border: none;
border-radius: 50%;
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
font-size: 24px;
z-index: 1000;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
opacity: 0;
transform: translateY(20px);
}

.scroll-to-top.show {
display: flex;
opacity: 1;
transform: translateY(0);
}

.scroll-to-top:hover {
background: #555;
transform: translateY(-3px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
transform: translateY(-1px);
}

.scroll-to-top::before {
content: '↑';
font-weight: bold;
}

