/* =============================================
   SLEEPCITY.DE — Hauptstylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary:     #0B1F3A;
    --primary-light: #1a3a5c;
    --accent:      #F0A500;
    --accent-dark: #d4900a;
    --light-bg:    #F7F9FC;
    --card-bg:     #ffffff;
    --text:        #1a1a2e;
    --text-muted:  #6b7280;
    --border:      #e5e7eb;
    --success:     #10b981;
    --danger:      #ef4444;
    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 4px 20px rgba(11,31,58,.08);
    --shadow-lg:   0 12px 40px rgba(11,31,58,.16);
    --transition:  all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--light-bg);
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
    background: var(--primary) !important;
    padding: .85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -.5px;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .45rem .85rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.1);
}

.nav-btn-book {
    background: var(--accent) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    padding: .45rem 1.1rem !important;
}
.nav-btn-book:hover {
    background: var(--accent-dark) !important;
    color: var(--primary) !important;
}

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 50%, #0d2137 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: .18;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(240,165,0,.15);
    border: 1px solid rgba(240,165,0,.35);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #fff;
    margin-bottom: 1.1rem;
}

.hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255,255,255,.75);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* Suchmaske */
.search-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.search-box .form-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted);
    margin-bottom: .35rem;
}

.search-box .form-control,
.search-box .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .7rem 1rem;
    font-size: .95rem;
    transition: var(--transition);
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(240,165,0,.15);
}

.btn-search {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}
.btn-search:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(240,165,0,.35);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.stat-item { text-align: center; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: block;
}
.stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* =============================================
   SECTIONS
   ============================================= */

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: .65rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary);
    margin-bottom: .75rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =============================================
   DESTINATION CARDS
   ============================================= */

.dest-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.dest-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c, #0d2137);
}

.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.dest-card:hover .dest-card-img img {
    transform: scale(1.06);
}

.dest-card-country {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11,31,58,.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dest-card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dest-card-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: .5rem;
}

.dest-card-body p {
    color: var(--text-muted);
    font-size: .9rem;
    flex: 1;
    margin-bottom: 1.1rem;
}

.dest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.dest-rating { color: var(--accent); font-size: .9rem; }

.btn-dest {
    background: var(--primary);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: .45rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-dest:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Placeholder wenn kein Bild */
.dest-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* =============================================
   BLOG CARDS
   ============================================= */

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-card-img {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.blog-card-meta {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-card-meta .dest-tag {
    background: rgba(240,165,0,.12);
    color: var(--accent-dark);
    font-weight: 600;
    padding: .15rem .5rem;
    border-radius: 4px;
}

.blog-card-body h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: .5rem;
    flex: 1;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 1rem;
}

/* =============================================
   USP / WHY SECTION
   ============================================= */

.usp-section { background: var(--primary); }

.usp-card {
    text-align: center;
    padding: 2rem 1.5rem;
    color: #fff;
}

.usp-icon {
    width: 64px;
    height: 64px;
    background: rgba(240,165,0,.15);
    border: 2px solid rgba(240,165,0,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
}

.usp-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: .5rem;
}

.usp-card p {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}

/* =============================================
   NEWSLETTER
   ============================================= */

.newsletter-section {
    background: linear-gradient(135deg, var(--accent) 0%, #e8940a 100%);
}

.newsletter-section h2 { color: var(--primary); }
.newsletter-section p { color: rgba(11,31,58,.75); }

.newsletter-form {
    display: flex;
    gap: .75rem;
    max-width: 480px;
    margin: 1.5rem auto 0;
}

.newsletter-form .form-control {
    border: none;
    border-radius: var(--radius-sm);
    padding: .75rem 1.1rem;
    font-size: .95rem;
}

.newsletter-form .btn {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: none;
    white-space: nowrap;
    transition: var(--transition);
}
.newsletter-form .btn:hover {
    background: #0d2137;
    transform: translateY(-1px);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: #07131f;
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
}

.footer-brand span { color: var(--accent); }

.footer p { font-size: .9rem; line-height: 1.7; }

.footer h5 {
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.45);
    margin-bottom: 1.1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}

.social-links { display: flex; gap: .75rem; }
.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* =============================================
   BUTTONS (global)
   ============================================= */

.btn-primary-sc {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.btn-primary-sc:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: .65rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(240,165,0,.35);
}

.btn-outline-sc {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.btn-outline-sc:hover {
    background: var(--primary);
    color: #fff;
}

/* =============================================
   USER LEVEL BADGES
   ============================================= */

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 50px;
}

.level-badge.newcomer    { background: #e5e7eb; color: #4b5563; }
.level-badge.traveler    { background: rgba(16,185,129,.12); color: #059669; }
.level-badge.contributor { background: rgba(240,165,0,.15); color: #d97706; }
.level-badge.expert      { background: rgba(11,31,58,.1); color: var(--primary); }

/* =============================================
   STARS
   ============================================= */

.stars { color: #e0e0e0; font-size: 1rem; }
.stars .star.filled { color: var(--accent); }

/* =============================================
   ALERTS & FORMS
   ============================================= */

.alert-sc {
    padding: .85rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.alert-sc.success { background: rgba(16,185,129,.1); border-left: 3px solid var(--success); color: #065f46; }
.alert-sc.error   { background: rgba(239,68,68,.08); border-left: 3px solid var(--danger);  color: #991b1b; }

/* =============================================
   BOOKING IFRAME CONTAINER
   ============================================= */

.booking-wrapper {
    width: 100%;
    min-height: 600px;
    border-radius: var(--radius);
    overflow: visible;
    background: #fff;
    box-shadow: var(--shadow);
}

.booking-wrapper iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .hero { min-height: 100vh; padding: 5rem 0 3rem; }
    .hero-stats { gap: 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .search-box { margin-top: 1.5rem; }
}

@media (max-width: 576px) {
    .section { padding: 3.5rem 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
