/* ============================================================
   Linda Hess – feministisch & technisch
   Farbpalette:
   - Aubergine (Primär):     #4A1E3F
   - Salbei (Akzent):        #5F8A6C
   - Teal (Tech-Akzent):     #2E7E73
   - Creme (Hintergrund):    #FAF6F0
   - Tinte (Text):           #1F1419
   ============================================================ */

@import url('/assets/fonts/fonts.css');

:root {
    --c-primary: #4A1E3F;
    --c-primary-soft: #6B3258;
    --c-accent: #5F8A6C;
    --c-tech: #2E7E73;
    --c-bg: #FAF6F0;
    --c-bg-warm: #F2EAE0;
    --c-ink: #1F1419;
    --c-ink-soft: #5A4A52;
    --c-line: #E5DACD;

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --maxw: 1100px;
    --maxw-text: 720px;

    --radius: 4px;
    --shadow-soft: 0 6px 24px rgba(74, 30, 63, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-ink);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-primary);
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a {
    color: var(--c-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
a:hover { color: var(--c-accent); }

strong { font-weight: 600; color: var(--c-primary); }

::selection { background: var(--c-accent); color: #fff; }

.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-accent);
    margin: 0 0 0.8em;
    display: inline-block;
}

.lead {
    font-size: 1.2rem;
    color: var(--c-ink-soft);
    max-width: var(--maxw-text);
    line-height: 1.55;
}

/* ---------- Layout ---------- */

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

.container-text {
    max-width: var(--maxw-text);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* ---------- Header / Nav ---------- */

.site-header {
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(150%) blur(8px);
    background: rgba(250, 246, 240, 0.92);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--c-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.brand::before {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--c-accent);
    border-radius: 50%;
    margin-right: 0.55rem;
    vertical-align: middle;
    transform: translateY(-2px);
}

.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav a {
    color: var(--c-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.nav a:hover { color: var(--c-accent); }
.nav a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--c-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.3rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-primary);
    margin: 5px 0;
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--c-bg);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--c-line);
        gap: 1rem;
    }
    .nav.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
    padding: 6rem 0 5rem;
    background:
        radial-gradient(ellipse at top right, rgba(95, 138, 108, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(46, 126, 115, 0.10), transparent 55%),
        var(--c-bg);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-grid .hero-portrait { order: -1; max-width: 320px; margin: 0 auto; }
}

.hero-portrait {
    position: relative;
    aspect-ratio: 1;
}
.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 16px 48px rgba(74, 30, 63, 0.18);
    position: relative;
    z-index: 2;
}
.hero-portrait::before {
    content: "";
    position: absolute;
    inset: -8px -8px auto auto;
    width: 70%;
    height: 70%;
    background: var(--c-accent);
    border-radius: 50%;
    opacity: 0.25;
    z-index: 1;
}
.hero-portrait::after {
    content: "";
    position: absolute;
    inset: auto auto -10px -10px;
    width: 55%;
    height: 55%;
    border: 2px solid var(--c-tech);
    border-radius: 50%;
    opacity: 0.55;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.2rem;
    white-space: pre-line;
}
.hero h1 span.accent {
    color: var(--c-accent);
    font-style: italic;
    font-weight: 400;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    background: var(--c-primary);
    color: #fff;
    padding: 0.85rem 1.6rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.98rem;
    border: 0;
    cursor: pointer;
    transition: all 0.18s ease;
}
.btn:hover {
    background: var(--c-accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}
.btn-ghost {
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
}
.btn-ghost:hover {
    background: var(--c-primary);
    color: #fff;
}

/* ---------- Focus cards ---------- */

.focus {
    background: var(--c-bg-warm);
}
.focus h2 {
    text-align: center;
    margin-bottom: 0.4em;
}
.focus .lead {
    text-align: center;
    margin: 0 auto 3rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.focus-card {
    background: var(--c-bg);
    padding: 2rem 1.8rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--c-accent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.focus-card:nth-child(2) { border-left-color: var(--c-tech); }
.focus-card:nth-child(3) { border-left-color: var(--c-primary); }

.focus-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.focus-card .icon {
    width: 36px; height: 36px;
    margin-bottom: 1rem;
    color: var(--c-accent);
}
.focus-card:nth-child(2) .icon { color: var(--c-tech); }
.focus-card:nth-child(3) .icon { color: var(--c-primary); }

.focus-card h3 { margin-bottom: 0.4em; }

/* ---------- Intro section ---------- */

.intro h2 {
    margin-bottom: 1rem;
}
.intro p {
    font-size: 1.08rem;
    color: var(--c-ink-soft);
    max-width: var(--maxw-text);
}

/* ---------- Page header ---------- */

.page-header {
    padding: 5rem 0 3rem;
    background:
        radial-gradient(ellipse at top right, rgba(95, 138, 108, 0.10), transparent 55%),
        var(--c-bg);
    border-bottom: 1px solid var(--c-line);
}
.page-header h1 { margin-bottom: 0.6rem; }

.page-header-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 720px) {
    .page-header-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .page-header-grid .page-portrait { max-width: 180px; }
}

.page-portrait img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 10px 30px rgba(74, 30, 63, 0.14);
}

/* ---------- Bio paragraphs ---------- */

.bio-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--c-ink);
}

.bio-text p::first-letter,
.bio-text p:first-child::first-letter {
    /* leave default */
}

.bio-text p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.4rem;
    float: left;
    line-height: 0.95;
    margin: 0.1rem 0.6rem 0 0;
    color: var(--c-accent);
    font-weight: 800;
}

/* ---------- Timeline ---------- */

.timeline {
    margin: 2rem 0;
    border-left: 2px solid var(--c-line);
    padding-left: 1.5rem;
}
.timeline-item {
    margin-bottom: 1.8rem;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: 0.5rem;
    width: 0.6rem; height: 0.6rem;
    border-radius: 50%;
    background: var(--c-accent);
}
.timeline-item .when {
    font-size: 0.85rem;
    color: var(--c-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.timeline-item .what {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--c-primary);
    font-size: 1.15rem;
    margin-top: 0.15em;
}
.timeline-item .where { color: var(--c-ink-soft); font-size: 0.95rem; }
.timeline-item .detail { margin-top: 0.4em; }

/* ---------- Skills / lists ---------- */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.skill {
    background: var(--c-bg-warm);
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius);
}
.skill .label {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 0.25em;
}

.cert-list, .lang-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.cert-list li, .lang-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--c-line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.cert-list li:last-child, .lang-list li:last-child { border-bottom: 0; }
.cert-list .year, .lang-list .level {
    color: var(--c-ink-soft);
    font-size: 0.92rem;
}

/* ---------- Politik topics ---------- */

.topic {
    padding: 2rem 0;
    border-bottom: 1px solid var(--c-line);
}
.topic:last-child { border-bottom: 0; }
.topic h3 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}
.topic h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.9rem;
    height: 3px;
    background: var(--c-accent);
}
.topic:nth-child(2n) h3::before { background: var(--c-tech); }
.topic p { font-size: 1.05rem; color: var(--c-ink); }

/* ---------- Kontakt ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.contact-card {
    background: var(--c-bg-warm);
    padding: 1.5rem;
    border-radius: var(--radius);
}
.contact-card .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    font-weight: 600;
    margin-bottom: 0.4em;
}
.contact-card .value { font-size: 1.05rem; word-break: break-word; }
.contact-card a { color: var(--c-primary); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--c-primary);
    color: #FAF0E8;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}
.site-footer a { color: #FAF0E8; }
.site-footer a:hover { color: var(--c-accent); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
    color: #FAF0E8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.4rem; }

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--c-accent);
}
.social-links svg {
    width: 18px;
    height: 18px;
    fill: #FAF0E8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    font-size: 0.88rem;
    opacity: 0.85;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ---------- Vereine / Memberships ---------- */

.memberships {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 1rem;
}
.membership-card {
    background: var(--c-bg-warm);
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--c-primary);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.membership-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.membership-card.cat-politik    { border-left-color: var(--c-primary); }
.membership-card.cat-tierschutz { border-left-color: var(--c-tech); }
.membership-card.cat-kultur     { border-left-color: var(--c-accent); }
.membership-card.cat-sport      { border-left-color: var(--c-ink-soft); }

.membership-role {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    margin-bottom: 0.4em;
}
.membership-card.cat-politik    .membership-role { color: var(--c-primary); }
.membership-card.cat-tierschutz .membership-role { color: var(--c-tech); }
.membership-card.cat-sport      .membership-role { color: var(--c-ink-soft); }

.membership-name {
    margin: 0 0 0.6em;
    font-size: 1.25rem;
    line-height: 1.25;
}
.membership-name a {
    color: var(--c-primary);
    text-decoration: none;
}
.membership-name a:hover { color: var(--c-accent); }

.membership-card p {
    margin: 0;
    color: var(--c-ink);
    font-size: 0.96rem;
    line-height: 1.55;
}

/* ---------- Layout-Helpers (statt Inline-Styles) ---------- */

.section-warm { background: var(--c-bg-warm); }
.cert-lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}
.cert-issuer { color: var(--c-ink-soft); font-size: 0.92rem; }

.spacer-top-sm { margin-top: 1rem; }
.spacer-top-md { margin-top: 1.5rem; }
.spacer-top-lg { margin-top: 3rem; }

.footer-tagline { opacity: 0.85; margin: 0 0 1rem; }

.contact-social-links a { background: var(--c-primary); }

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .nav-toggle { display: none; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}
