﻿/* Grund-Einstellungen */
:root {
    --primary-color: #0077b6; /* Ozeanblau */
    --accent-color: #e9c46a;  /* Sandgelb */
    --text-color: #264653;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Header / Hero Bereich */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://www.atlantikblick.com/images/atlantikblick_header5.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Menü */
.main-nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Fewo Bereich */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.fewo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fewo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.fewo-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.price {
    display: block;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a { color: #ccc; }

/* Responsive Anpassung für kleine Screens */
@media (max-width: 600px) {
    .main-nav ul { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2rem; }
}



/* -----------------   Suchmaske Styling ---------------------------------*/
.search-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: inline-block;
    width: 90%;
    max-width: 900px;
}

.search-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
}

.search-input {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 150px;
}

.search-input label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.search-input input, .search-input select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #005f92;
}

/* Mobile Optimierung für die Suche */
@media (max-width: 768px) {
    .search-input {
        flex: 1 1 100%; /* Spalten nehmen volle Breite ein */
    }
    .hero {
        height: auto;
        padding: 4rem 0;
    }
}


/* -----------------  ENDE Suchmaske Styling ---------------------------------*/


