/* Annegret Klöcker – mobile-first, statisch
   Farbwelt aus dem MovableType-„annegret"-Theme behutsam modernisiert:
   Violett/Lavendel, ruhig, therapeutisch. */

:root {
    --c-primary: #484187;        /* Kopf / Akzent (aus altem Theme #484187) */
    --c-primary-dark: #2d2659;   /* dunkleres Violett für Hover */
    --c-bg: #f4f2f8;             /* sehr helles Lavendel statt #cdc8dc */
    --c-surface: #ffffff;
    --c-text: #1f1a3d;           /* aus #0f0635 aufgehellt für Lesbarkeit */
    --c-muted: #6b6688;
    --c-border: #e2def0;
    --c-link: #5a4fbf;
    --c-accent: #ab0404;         /* dezenter roter Akzent aus altem Theme */
    --maxw: 60rem;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(45, 38, 89, 0.08);
    --font: system-ui, -apple-system, "Segoe UI", Verdana, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
}

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

a { color: var(--c-link); }
a:hover, a:focus { color: var(--c-primary-dark); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--c-primary-dark); }

/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--c-primary);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Kopf ---------- */
.site-header {
    background: var(--c-primary);
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem 1.25rem;
}
.site-header a { color: #fff; text-decoration: none; }
.site-title {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: .02em;
    color: #fff;
}
.site-subtitle {
    margin: .35rem 0 0;
    font-size: .95rem;
    font-weight: 400;
    opacity: .9;
}
.site-tagline {
    margin: .15rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- Navigation (mobile-first) ---------- */
.site-nav {
    background: var(--c-primary-dark);
}
.nav-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: var(--maxw);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.nav-list a {
    display: block;
    padding: .85rem 1.05rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
}
.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
    background: rgba(255, 255, 255, .12);
    border-bottom-color: #fff;
}

/* ---------- Inhalt ---------- */
main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.25rem 1.4rem;
    margin: 0 0 1.25rem;
}
.card h2 {
    margin-top: 0;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--c-border);
    padding-bottom: .5rem;
}

.card .portrait {
    float: none;
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 auto 1rem;
    border-radius: var(--radius);
}

ul { padding-left: 1.25rem; }
li { margin: .2rem 0; }

/* Termine hervorheben */
.termin {
    border-left: 4px solid var(--c-primary);
    background: #faf9fd;
    padding: .75rem 1rem;
    border-radius: 6px;
}
.termin strong { color: var(--c-primary-dark); }

/* Karte / Maps responsiv */
.map-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border);
}
.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Kontakt-vCard */
.vcard .adr,
.vcard div { margin: .15rem 0; }

/* ---------- Fußzeile ---------- */
.site-footer {
    text-align: center;
    color: var(--c-muted);
    font-size: .85rem;
    padding: 1.5rem 1rem 2rem;
    border-top: 1px solid var(--c-border);
}
.site-footer a { color: var(--c-muted); }

/* ---------- ab Tablet ---------- */
@media (min-width: 40rem) {
    .site-title { font-size: 2rem; }
    .card { padding: 1.6rem 1.8rem; }
    .card h2 { font-size: 1.5rem; }
    .card .portrait {
        float: right;
        width: 240px;
        margin: 0 0 1rem 1.5rem;
    }
}
