:root {
    --brick-red: #A52A2A;
    --slate-grey: #2F4F4F;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --text-color: #333;
    
    --serif: 'Playfair Display', serif;
    --sans: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Hanse Bar */
.hanse-bar { background: var(--slate-grey); color: var(--white); font-size: 0.8rem; padding: 8px 0; letter-spacing: 1px; }
.top-flex { display: flex; justify-content: space-between; }

/* Header */
.estate-header { padding: 20px 0; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--brick-red); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--slate-grey); display: flex; align-items: center; gap: 5px; }
.brick { color: var(--brick-red); }
.key-icon { font-size: 2rem; transform: rotate(45deg); color: var(--brick-red); }

.prime-nav a { margin-left: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: #555; }
.prime-nav a:hover, .prime-nav a.active { color: var(--brick-red); border-bottom: 2px solid var(--brick-red); }

.btn-brick { background: var(--brick-red); color: var(--white) !important; padding: 10px 20px; border-radius: 2px; border: none; font-weight: bold; }
.btn-brick:hover { background: var(--slate-grey); }

/* Mobile Menu */
.mobile-toggle { display: none; cursor: pointer; font-weight: bold; color: var(--brick-red); border: 2px solid var(--brick-red); padding: 5px 10px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--slate-grey); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu.open { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: 2px solid var(--white); color: var(--white); font-size: 2rem; cursor: pointer; padding: 0 10px; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--white); margin: 15px 0; }

/* Hero */
.hero-hamburg { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-overlay { width: 100%; height: 100%; background: rgba(47, 79, 79, 0.4); display: flex; align-items: center; justify-content: center; }
.hero-box { text-align: center; background: rgba(255,255,255,0.95); padding: 40px; border-radius: 4px; max-width: 700px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border-top: 5px solid var(--brick-red); }
.since { font-size: 0.8rem; letter-spacing: 3px; color: var(--brick-red); font-weight: bold; display: block; margin-bottom: 10px; }
.hero-box h1 { font-family: var(--serif); font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; color: var(--slate-grey); }
.hero-box p { font-size: 1.2rem; color: #555; margin-bottom: 30px; }

.search-estate form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.search-estate select { padding: 12px; border: 1px solid #ccc; font-family: var(--sans); flex: 1; min-width: 150px; color: #333; }
.search-estate button { background: var(--slate-grey); color: var(--white); border: none; padding: 12px 30px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.search-estate button:hover { background: var(--brick-red); }

/* Listings */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--serif); font-size: 2.5rem; color: var(--slate-grey); margin-bottom: 10px; }
.brick-line { width: 80px; height: 4px; background: var(--brick-red); margin: 0 auto; }
.brick-line.left { margin: 20px 0; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.listing-card { background: var(--white); border: 1px solid #eee; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.listing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.img-wrapper { position: relative; height: 250px; overflow: hidden; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.listing-card:hover img { transform: scale(1.05); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--brick-red); color: var(--white); padding: 5px 10px; font-size: 0.8rem; font-weight: bold; }
.listing-details { padding: 25px; }
.location { font-size: 0.8rem; letter-spacing: 1px; color: #888; text-transform: uppercase; font-weight: bold; }
.listing-details h3 { font-family: var(--serif); margin: 5px 0 15px; font-size: 1.4rem; color: var(--slate-grey); }
.specs { list-style: none; padding: 0; display: flex; gap: 15px; color: #666; font-size: 0.9rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: bold; font-size: 1.2rem; color: var(--slate-grey); }
.link-view { color: var(--brick-red); font-weight: bold; font-size: 0.9rem; }

/* Sell Teaser */
.sell-teaser { background: var(--slate-grey); color: var(--white); padding: 60px 0; text-align: center; margin-top: 50px; }
.sell-text h2 { font-family: var(--serif); font-size: 2.5rem; margin-bottom: 10px; }
.sell-text p { margin-bottom: 30px; opacity: 0.9; }
.btn-white { background: var(--white); color: var(--slate-grey); padding: 12px 30px; font-weight: bold; border-radius: 2px; }
.btn-white:hover { background: var(--brick-red); color: var(--white); }

/* About & Contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-content h1 { font-family: var(--serif); font-size: 3rem; color: var(--slate-grey); }
.usp-list { list-style: none; margin-top: 30px; font-family: var(--serif); font-size: 1.1rem; color: var(--brick-red); }
.img-content img { width: 100%; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.caption { text-align: center; font-size: 0.8rem; margin-top: 10px; color: #777; font-style: italic; }

.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--light-grey); padding: 50px; border-radius: 4px; }
.contact-data h2 { font-family: var(--serif); color: var(--brick-red); margin-bottom: 20px; }
.address p { margin-bottom: 5px; }

.brick-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.col { flex: 1; }
.brick-form label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9rem; }
.brick-form input, .brick-form select, .brick-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: var(--sans); background: var(--white); }
.btn-submit { width: 100%; background: var(--slate-grey); color: var(--white); border: none; padding: 15px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--brick-red); }

/* Reviews & Legal */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ref-card { background: var(--white); padding: 30px; border: 1px solid #eee; border-top: 4px solid var(--slate-grey); position: relative; }
.ref-card.highlight { border-top-color: var(--brick-red); background: #fffbfb; }
.quote { font-style: italic; margin-bottom: 20px; color: #555; }
.author { font-weight: bold; color: var(--slate-grey); font-family: var(--serif); }
.type { font-size: 0.8rem; color: #999; display: block; }

.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border: 1px solid #eee; }
.legal-doc h1 { font-family: var(--serif); color: var(--slate-grey); }
.legal-doc h3 { color: var(--brick-red); margin-top: 30px; }

/* Footer */
.estate-footer { background: #222; color: #999; padding: 50px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 30px; margin-bottom: 20px; }
.f-col h4 { color: var(--white); font-family: var(--serif); margin-bottom: 5px; letter-spacing: 1px; }
.f-links a { color: #999; margin-left: 20px; }
.f-links a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--slate-grey); color: var(--white); padding: 15px; display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 9999; display: none; }
.cookie-bar.active { display: flex; animation: slideUp 0.5s; }
.cookie-bar button { background: var(--brick-red); color: var(--white); border: none; padding: 5px 20px; cursor: pointer; font-weight: bold; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (max-width: 900px) {
    .prime-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-box h1 { font-size: 2.5rem; }
    #searchForm { flex-direction: column; }
    #searchForm select, #searchForm button { width: 100%; }
    .listing-grid, .about-grid, .ref-grid, .contact-box, .form-row { grid-template-columns: 1fr; flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}