/* Erlebnisdrache - first draft styles. Palette derived from the live erlebnisdrache.com theme
   (primary/secondary/tertiary) plus the orange accent from the company logo. */

:root {
    --color-primary: #381d92;     /* theme violet (headings)            */
    --color-secondary: #1c0a63;   /* theme dark indigo                 */
    --color-tertiary: #f2f2fa;    /* theme light lavender (surfaces)   */
    --color-text: #0b0620;        /* theme foreground text             */
    --color-accent: #ff6900;      /* dragon-logo orange (accents)      */
    --color-accent-blue: #1f5fa6; /* dragon-logo blue (links)          */
    --color-bg: #ffffff;
    --maxw: 1100px;
    --font-body: "Hind", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

a { color: var(--color-accent-blue); }

/* Staging notice banner (top of page). Remove at cutover to .com. */
.site-notice {
    background: var(--color-accent);
    color: #fff;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.site-notice a {
    color: #fff;
    text-decoration: underline;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-tertiary);
    padding: 0.75rem 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-logo img {
    height: 64px;
    width: auto;
    display: block;
}

.site-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-secondary);
}

.site-nav a:hover { color: var(--color-accent); }

/* Hero */
.hero {
    background: var(--color-tertiary);
    text-align: center;
    padding: 3rem 1.25rem;
}

.hero__title {
    margin: 0 0 0.5rem;
    font-size: 2.4rem;
    color: var(--color-primary);
}

.hero__subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

/* Books */
.books { padding: 3rem 0; }

.section-title {
    text-align: center;
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 0 0 2rem;
}

.books__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    border: 1px solid var(--color-tertiary);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(11, 6, 32, 0.05);
    display: flex;
    flex-direction: column;
}

.book-card__media {
    background: var(--color-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.book-card__media img {
    width: 220px;
    height: auto;
    max-width: 100%;
}

.book-card__body { padding: 1.5rem; }

.book-card__title {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.4rem;
}

.book-card__subtitle {
    margin: 0.25rem 0 0.75rem;
    font-style: italic;
    color: var(--color-secondary);
}

.book-card__age {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
}

.book-card__desc { margin: 0 0 1rem; }

.book-card__variants {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-tertiary);
}

.book-card__variants li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-tertiary);
}

.variant__name { font-weight: 600; }

.variant__price { color: var(--color-secondary); }

/* Footer */
.site-footer {
    background: var(--color-secondary);
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.site-footer a { color: #fff; }

.site-footer__name {
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.site-footer p { margin: 0.2rem 0; }

@media (max-width: 600px) {
    .hero__title { font-size: 1.8rem; }
}
