/*
Theme Name: Online Dresden Urban
Theme URI: https://www.online-dresden.de/
Author: AI Assistant
Description: High-Contrast, modernes Theme in Dresden-Farben (Schwarz/Gelb).
Version: 3.0
*/

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@400;600;800&display=swap');

:root {
    --primary: #222222;        /* Modern Black/Dark Grey */
    --accent: #FFCC00;         /* Dresden Signal Gelb */
    --accent-hover: #e6b800;
    --text-main: #333333;
    --text-light: #777777;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    
    --container-width: 1200px;
    --header-height: 80px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0;
}

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

/* --- HEADER --- */
.site-header {
    background: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--accent); }
/* Kleines Icon im Logo */
.logo-sq {
    width: 12px; height: 12px; background: var(--accent); display: inline-block;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--primary);
    padding: 28px 0; /* Full height clickable area approx */
    position: relative;
}

.main-nav ul li a:hover {
    color: #000;
}
/* Yellow underline on hover */
.main-nav ul li a::after {
    content: ''; position: absolute; bottom: 15px; left: 0; width: 0; height: 4px; background: var(--accent); transition: width 0.3s;
}
.main-nav ul li a:hover::after { width: 100%; }

/* Header CTA */
.btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.btn-header:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('https://source.unsplash.com/1920x1080/?dresden,city,night');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px 140px; /* Extra padding bottom for overlap */
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* --- EXPEDIA WIDGET & SEARCH --- */
.widget-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* Clean look for widget */
    background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 10px;
}

/* --- CONVERSION TILES (Overlap Hero) --- */
.tiles-section {
    max-width: var(--container-width);
    margin: -80px auto 60px; /* Negative margin pulls it up */
    padding: 0 20px;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tile {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 6px;
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--accent);
}

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

.tile h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tile p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* STRONG CTA BUTTONS */
.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 15px 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
}
.btn-cta:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--bg-light);
    padding: 30px 0;
    text-align: center;
    margin-bottom: 60px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.trust-items {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.t-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}
.t-icon {
    background: var(--accent);
    color: var(--primary);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

/* --- CONTENT AREA --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.content-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

/* --- BLOG GRID --- */
.blog-section { margin-bottom: 60px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; position: relative; display: inline-block; width: 100%; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 15px auto 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 25px;
    transition: 0.3s;
}
.blog-card:hover { border-color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.blog-card h3 a { color: var(--primary); }
.blog-meta { font-size: 0.85rem; color: #999; margin-bottom: 10px; text-transform: uppercase; }

/* --- TESTIMONIALS --- */
.testimonials {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.testi-box {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 4px;
}
.testi-name { color: var(--accent); font-weight: 700; margin-top: 15px; display: block; }

/* --- FAQ --- */
.faq-box { max-width: 800px; margin: 0 auto 80px; }
.faq-row { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-q { font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-q::after { content: '+'; color: var(--accent); font-weight: 900; }

/* --- FOOTER --- */
.site-footer {
    background: #111;
    color: #888;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-nav a { color: #888; margin: 0 15px; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; }
.footer-nav a:hover { color: var(--accent); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container { height: auto; padding: 15px; flex-wrap: wrap; }
    .main-nav { display: none; width: 100%; margin-top: 20px; } /* Simplification for generator: hide nav on mobile or need JS toggle */
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a { padding: 10px 0; border-bottom: 1px solid #eee; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .tiles-section { grid-template-columns: 1fr; margin-top: 20px; }
    #searchWidget { transform: scale(0.95); transform-origin: top center; }
}
