/* Website-Rahmen im echten Stil von cafe-zum-esel.de.
   Dunkler Kopf, Gold-/Ocker-Akzent, elegante Serifen-Überschriften,
   cremefarbener Footer mit Zierlinien. */

:root {
    --esel-dark: #1e1a17;      /* Kopf/Anthrazit-Braun */
    --esel-gold: #c8a24a;      /* Gold-/Ocker-Akzent */
    --esel-cream: #ebe5d9;     /* Footer-Creme */
    --esel-text: #2b2622;
    --esel-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--esel-text);
    background: #fff;
}

/* ---------- Kopfbereich ---------- */
.site-header {
    background: var(--esel-dark);
    color: #fff;
    border-bottom: 3px solid var(--esel-gold);
}
.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-logo img { height: 42px; display: block; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}
.site-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
    transition: color 0.2s, opacity 0.2s;
}
.site-nav a:hover { color: var(--esel-gold); opacity: 1; }
.site-nav .nav-cta {
    border: 1px solid rgba(255,255,255,0.55);
    padding: 9px 18px;
    letter-spacing: 0.1em;
}
.site-nav .nav-cta:hover { background: var(--esel-gold); border-color: var(--esel-gold); color: var(--esel-dark); }

/* ---------- Seitentitel ---------- */
.site-pagetitle {
    background: #fff;
    text-align: center;
    padding: 46px 20px 30px;
}
.site-pagetitle h1 {
    font-family: var(--esel-serif);
    font-size: 46px;
    font-weight: 500;
    color: #3a332c;
    margin: 0 0 14px;
    letter-spacing: 0.01em;
}
.site-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 14px;
    max-width: 220px;
}
.site-ornament::before, .site-ornament::after {
    content: "";
    height: 1px;
    background: var(--esel-gold);
    flex: 1;
}
.site-ornament span { color: var(--esel-gold); font-size: 14px; letter-spacing: 2px; }
.site-breadcrumb { font-size: 13px; color: #a49a86; }
.site-breadcrumb a { color: #a49a86; text-decoration: none; }
.site-breadcrumb a:hover { color: var(--esel-gold); }

/* ---------- Kalkulator-Bereich Hintergrund ---------- */
.calc-wrap { background: #faf8f4; padding: 10px 0 30px; }

/* ---------- Fußbereich ---------- */
.site-footer {
    background: var(--esel-cream);
    color: #4a4238;
}
.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 28px 30px;
    display: grid;
    grid-template-columns: 1fr repeat(3, 1.1fr);
    gap: 36px;
}
.site-footer h3 {
    font-family: var(--esel-serif);
    font-size: 22px;
    font-weight: 500;
    color: #3a332c;
    margin: 0 0 8px;
}
.site-footer .foot-rule {
    width: 60px; height: 1px; background: var(--esel-gold);
    margin-bottom: 14px;
}
.site-footer p, .site-footer a, .site-footer li { color: #4a4238; font-size: 14px; line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--esel-gold); text-decoration: underline; }
.site-footer .footer-signet img { height: 92px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer-bottom {
    text-align: center;
    padding: 18px 24px;
    font-size: 13px;
    color: #6b6152;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.site-footer-bottom a { color: #6b6152; text-decoration: none; }
.site-footer-bottom a:hover { color: var(--esel-gold); }

/* Kalkulator selbst durchsichtig in den warmen Hintergrund einbetten */
.esel-kalkulator { background: transparent !important; }

/* Interner Kalkulator-Kopf zurücknehmen (Seitentitel ersetzt ihn) */
.esel-kalkulator .ek-header { box-shadow: none !important; background: transparent !important; padding: 0 0 8px !important; margin-bottom: 16px !important; }
.esel-kalkulator .ek-header h1 { font-family: var(--esel-serif); font-size: 24px !important; font-weight: 500; color: #3a332c; }
.esel-kalkulator .ek-header p { font-size: 13px; }
.esel-kalkulator .admin-toggle { opacity: 0.12; }
.esel-kalkulator .admin-toggle:hover { opacity: 1; }

/* Überschriften im Kalkulator an die Serifen-Optik angleichen */
.esel-kalkulator .type-selector h2,
.esel-kalkulator .section-header h3 { font-family: var(--esel-serif); font-weight: 500; }

@media (max-width: 800px) {
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .site-header-inner { flex-direction: column; align-items: flex-start; }
    .site-nav { gap: 16px; }
    .site-pagetitle h1 { font-size: 34px; }
    .site-footer-inner { grid-template-columns: 1fr; }
}
