/*
   deutschland-buchung-24.de
   Portal fuer Ferienwohnungen & Ferienhaeuser
   ------------------------------------------
   Handgemacht. Kein Framework. Einfach und lesbar.
*/

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

:root {
    --brown: #5c3d2e;
    --brown-dark: #3a2518;
    --brown-mid: #7a5a42;
    --gold: #c8a84e;
    --gold-light: #f0e4c4;
    --cream: #faf6ee;
    --cream-dark: #ede5d4;
    --sand: #f5eed8;
    --text: #333;
    --text-mid: #666;
    --text-light: #999;
    --white: #fff;
    --border: #d4c9b8;
    --border-light: #e8e0d2;
    --link: #7a4b28;
    --link-hover: #a0632e;
    --max-w: 980px;
    --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
    font: 15px/1.7 'Segoe UI', Tahoma, Verdana, sans-serif;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    color: var(--brown);
    line-height: 1.3;
}
h1 { font-size: 1.6em; margin-bottom: 0.5em; }
h2 { font-size: 1.35em; margin-bottom: 0.4em; }
h3 { font-size: 1.1em; margin-bottom: 0.3em; }
h4 { font-size: 1em; margin-bottom: 0.3em; }

p { margin-bottom: 0.7em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--link-hover); }

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

ul, ol { padding-left: 1.3em; margin-bottom: 0.7em; }
li { margin-bottom: 0.2em; }

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5em 0;
}

strong, b { font-weight: 600; }

.small { font-size: 0.85em; }
.muted { color: var(--text-light); }
.mt { margin-top: 1em; }
.mb { margin-bottom: 1em; }

/* ─── Layout ─── */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════
   FLAG BAR — German flag top stripe
   ═══════════════════════════════════ */
.flag-bar {
    height: 3px;
    background: linear-gradient(90deg, #000 33.3%, #dd0000 33.3% 66.6%, #fc0 66.6%);
}

/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */
.site-header {
    background: var(--brown-dark);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hdr-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    height: 54px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img { width: 28px; height: 28px; border-radius: 50%; }
.logo-txt {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.2;
}
.logo-sub {
    color: #a89880;
    font-size: 10px;
    display: block;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    padding: 0;
    margin: 0;
}
.nav a {
    display: block;
    padding: 8px 11px;
    color: #ccc0b0;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}
.nav a:hover { color: var(--gold); }
.nav a.on {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Burger */
.burger {
    display: none;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid #665544;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
    z-index: 600;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gold);
    position: absolute;
    transition: 0.2s ease;
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger.open span:nth-child(1) { transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg); }

/* Nav overlay */
.nav-shade {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 490;
}
.nav-shade.open { display: block; }

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
    position: relative;
    background: #2e1f14;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.45;
    display: block;
}
.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 28px;
}
.hero-text h1 {
    color: #fff;
    font-size: 1.7em;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
    margin-bottom: 4px;
}
.hero-text p {
    color: #e0d5c5;
    font-size: 0.9em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    max-width: 520px;
}

/* Small hero for subpages */
.hero-sm img { height: 170px; }
.hero-sm .hero-text { padding-bottom: 18px; }
.hero-sm .hero-text h1 { font-size: 1.45em; }

/* ═══════════════════════════════════
   MAIN / PAGE CONTENT
   ═══════════════════════════════════ */
.main {
    padding: 24px 0 36px;
}

.section {
    margin-bottom: 2em;
}
.section:last-child { margin-bottom: 0; }

/* Two-column layout */
.cols {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.col-main { flex: 1; min-width: 0; }
.col-side { width: 260px; flex-shrink: 0; }

/* ═══════════════════════════════════
   BOXES & PANELS
   ═══════════════════════════════════ */
.box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 1em;
}

.notice {
    background: #fdf8e8;
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    font-size: 0.9em;
    margin-bottom: 1em;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Image + text side by side */
.img-text {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 1em;
}
.img-text img {
    width: 300px;
    flex-shrink: 0;
    border-radius: var(--radius);
}
.img-text-rev { flex-direction: row-reverse; }

/* ═══════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════ */
.side-box {
    background: var(--sand);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 0.87em;
}
.side-box h3 {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 0.87em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--brown-mid);
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-light);
}
.side-box ul { padding-left: 0; list-style: none; margin-bottom: 0; }
.side-box li {
    padding: 3px 0;
    border-bottom: 1px dotted var(--border-light);
}
.side-box li:last-child { border-bottom: none; }
.side-box a { text-decoration: none; font-size: 0.93em; }
.side-box a:hover { text-decoration: underline; }

/* Promo box (dark) */
.promo {
    background: var(--brown-dark);
    color: var(--gold-light);
    padding: 20px;
    margin-bottom: 14px;
    border-radius: var(--radius);
}
.promo h2, .promo h3 { color: var(--gold); margin-bottom: 0.3em; }
.promo a { color: var(--gold); }
.promo-price {
    font-size: 2em;
    font-family: Georgia, serif;
    color: var(--gold);
    font-weight: bold;
    margin: 0.2em 0;
}
.promo-price small {
    font-size: 0.45em;
    vertical-align: super;
    font-weight: normal;
}

/* ═══════════════════════════════════
   QUICK INFO STRIP (homepage)
   ═══════════════════════════════════ */
.info-strip {
    display: flex;
    gap: 0;
    background: var(--brown-dark);
    margin-bottom: 0;
}
.info-strip-item {
    flex: 1;
    text-align: center;
    padding: 18px 12px;
    color: var(--gold-light);
    font-size: 0.85em;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.info-strip-item:last-child { border-right: none; }
.info-strip-num {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.7em;
    color: var(--gold);
    font-weight: bold;
}

/* ═══════════════════════════════════
   REGION CARDS
   ═══════════════════════════════════ */
.region-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rcard {
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.rcard:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.rcard img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.rcard-body { padding: 10px 12px 12px; }
.rcard-body h3 {
    font-size: 0.95em;
    margin-bottom: 3px;
}
.rcard-body h3 a { text-decoration: none; color: var(--brown); }
.rcard-body h3 a:hover { text-decoration: underline; }
.rcard-body p {
    font-size: 0.8em;
    color: var(--text-mid);
    margin-bottom: 4px;
}
.rcard-body .more {
    font-size: 0.8em;
    text-decoration: none;
}
.rcard-body .more:hover { text-decoration: underline; }

/* ═══════════════════════════════════
   REGION A-Z LIST
   ═══════════════════════════════════ */
.region-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 18px;
}
.region-cols ul { list-style: none; padding: 0; margin: 0; }
.region-cols li {
    padding: 2px 0;
    border-bottom: 1px dotted var(--border-light);
}
.region-cols a {
    text-decoration: none;
    font-size: 0.85em;
    color: var(--text);
}
.region-cols a:hover { color: var(--link); text-decoration: underline; }

/* ═══════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════ */
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-q {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 11px 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 0.93em;
    color: var(--brown);
    position: relative;
    padding-right: 24px;
}
.faq-q:hover { color: var(--link-hover); }
.faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: var(--gold);
    font-weight: normal;
}
.faq-item.open .faq-q::after { content: '\2013'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-a-inner {
    padding: 0 0 14px 0;
    font-size: 0.87em;
    color: var(--text-mid);
    line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 600px; }

/* ═══════════════════════════════════
   CONTACT PAGE (centered)
   ═══════════════════════════════════ */
.contact-center {
    text-align: center;
    padding: 50px 20px 40px;
    max-width: 540px;
    margin: 0 auto;
}
.contact-center h2 {
    margin-bottom: 0.6em;
    font-size: 1.5em;
}
.contact-center .email-link {
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 1.3em;
    color: var(--brown);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    text-decoration: none;
    margin: 0.5em 0;
}
.contact-center .email-link:hover { color: var(--link-hover); }
.contact-center p {
    color: var(--text-mid);
    font-size: 0.93em;
    line-height: 1.6;
}

/* ═══════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════ */
.crumbs {
    font-size: 0.8em;
    color: var(--text-light);
    padding: 10px 0 0;
    margin-bottom: 1em;
}
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }

/* ═══════════════════════════════════
   SIMPLE LIST (link list)
   ═══════════════════════════════════ */
.link-list { list-style: none; padding: 0; }
.link-list li {
    padding: 4px 0;
    border-bottom: 1px dotted var(--border-light);
}
.link-list a { text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.site-footer {
    background: var(--brown-dark);
    color: #a89880;
    font-size: 0.8em;
    margin-top: 2em;
}
.ftr-inner {
    display: flex;
    gap: 24px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 22px 20px;
}
.ftr-col { flex: 1; }
.ftr-col h4 {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 0.95em;
    margin-bottom: 6px;
    font-weight: normal;
}
.ftr-col ul { list-style: none; padding: 0; margin: 0; }
.ftr-col li { margin-bottom: 3px; }
.ftr-col a { color: #a89880; text-decoration: none; }
.ftr-col a:hover { color: var(--gold); }
.ftr-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    padding: 10px 20px;
    color: #6a5e52;
    font-size: 0.9em;
}
.ftr-bottom a { color: #a89880; text-decoration: none; }

/* ═══════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════ */
.btt {
    position: fixed;
    bottom: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brown-dark);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 400;
}
.btt.show { opacity: 0.7; pointer-events: auto; }
.btt:hover { opacity: 1; }

/* ═══════════════════════════════════
   RESPONSIVE — TABLET (< 820px)
   ═══════════════════════════════════ */
@media (max-width: 820px) {
    .cols { flex-direction: column; }
    .col-side { width: 100%; }

    .region-cols { grid-template-columns: repeat(2, 1fr); }
    .region-cards { grid-template-columns: repeat(2, 1fr); }

    .img-text, .img-text-rev { flex-direction: column; }
    .img-text img { width: 100%; }

    .ftr-inner { flex-direction: column; gap: 14px; }

    .info-strip { flex-wrap: wrap; }
    .info-strip-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.04); }
}

/* ═══════════════════════════════════
   RESPONSIVE — MOBILE (< 560px)
   ═══════════════════════════════════ */
@media (max-width: 560px) {
    body { font-size: 14px; }
    .wrap { padding: 0 14px; }

    /* Mobile nav */
    .burger { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        right: -270px;
        width: 270px;
        height: 100%;
        background: var(--brown-dark);
        z-index: 520;
        padding: 60px 0 20px;
        transition: right 0.25s ease;
        overflow-y: auto;
        border-left: 1px solid rgba(255,255,255,0.06);
    }
    .nav.open { right: 0; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav a {
        padding: 13px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-left: 2px solid transparent;
        border-radius: 0;
    }
    .nav a.on {
        border-left-color: var(--gold);
        border-bottom-color: rgba(255,255,255,0.05);
    }

    .hdr-inner { height: 48px; }
    .logo-txt { font-size: 12px; }
    .logo img { width: 24px; height: 24px; }

    .hero img { height: 180px; }
    .hero-text h1 { font-size: 1.3em; }
    .hero-text { padding-bottom: 16px; }
    .hero-sm img { height: 120px; }

    h1 { font-size: 1.35em; }
    h2 { font-size: 1.15em; }

    .region-cols { grid-template-columns: 1fr; }
    .region-cards { grid-template-columns: 1fr; }
    .rcard img { height: 140px; }

    .info-strip-item { flex: 1 1 100%; }

    .promo { padding: 16px; }
    .promo-price { font-size: 1.6em; }

    .box { padding: 14px; }

    .contact-center { padding: 30px 14px 24px; }
    .contact-center .email-link { font-size: 1.1em; }
}

/* ═══════════════════════════════════
   RESPONSIVE — SMALL (< 380px)
   ═══════════════════════════════════ */
@media (max-width: 380px) {
    body { font-size: 13px; }
    .hdr-inner { padding: 0 10px; }
    .wrap { padding: 0 10px; }
    .hero img { height: 140px; }
    .hero-text h1 { font-size: 1.15em; }
}

/* ═══════════════════════════════════
   PRINT
   ═══════════════════════════════════ */
@media print {
    .site-header, .site-footer, .burger, .btt, .nav-shade, .flag-bar { display: none !important; }
    body { background: #fff; color: #000; }
    .hero img { height: auto; opacity: 1; }
    a { color: #000; }
}
