/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f1f1f1;
    --bg-alt: #eef0f6;      /* helles Blaugrau statt Dunkelblau */
    --ink: #1a1a1a;
    --ink-soft: #555a66;    /* lesbar statt #c4c4c4 */
    --ink-muted: #767c8a;   /* lesbar statt #c5c5c5 */
    --accent: #1d348a;
    --accent-hover: #142562;
    --accent-soft: #eef0f6;
    --line: #ececee;
    --card: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-variation-settings: "SOFT" 100, "WONK" 1;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { color: var(--ink-soft); }

a { color: inherit; text-decoration: none; transition: color 0.2s; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.container-narrow { max-width: 760px; }

.kicker {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.kicker::before {
    content: '✻';
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.7;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 600px;
    margin-top: 1.5rem;
}
.lead-block {
    font-size: 1.15rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--ink-soft);
}

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.nav-links a {
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 7rem 2rem 8rem;
    overflow: hidden;
}
.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-messe {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

/* Asterisk decorations */
.hero-decor {
    position: absolute;
    font-family: 'Fraunces', serif;
    color: var(--accent);
    opacity: 0.05;
    pointer-events: none;
    font-weight: 900;
    z-index: 1;
}
.hero-decor.top-right {
    top: 6rem; right: 4rem;
    font-size: 8rem;
}
.hero-decor.bottom-left {
    bottom: 2rem; right: 30%;
    font-size: 5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
}

/* ---------- Features ---------- */
.features {
    padding: 5rem 2rem;
    border-top: 1px solid var(--line);
}
.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}
.feature-num {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    opacity: 0.85;
}

/* ---------- Highlight ---------- */
.highlight {
    background: var(--bg-alt);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}
.highlight::before {
    content: '✻';
    position: absolute;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 1.6rem;
    opacity: 0.4;
}
.highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.highlight .meta {
    color: var(--ink-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0 1.5rem;
    font-weight: 500;
}
.highlight .btn { margin-top: 1.5rem; }

.highlight-card {
    background: var(--card);
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    position: relative;
}
.badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: var(--bg-alt);
    padding: 0.4rem 0.9rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.quote {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.4;
    font-weight: 400;
}
.quote-author {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
    font-weight: 500;
}

@media (max-width: 800px) {
    .highlight-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Page Header (sub pages) ---------- */
.page-header {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.page-header h1 { margin-bottom: 0.5rem; }

/* ---------- Events list ---------- */
.events { padding: 4rem 0 6rem; }
.events .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.event-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.8rem 2rem;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.25s ease;
}
.event-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(29, 52, 138, 0.06);
}
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--line);
    padding-right: 1.5rem;
}
.event-date .day {
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}
.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    margin-top: 0.3rem;
    font-weight: 600;
}
.event-body h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.event-body .meta {
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media (max-width: 600px) {
    .event-card {
        grid-template-columns: 70px 1fr;
        gap: 1.2rem;
        padding: 1.4rem;
    }
    .event-meta { grid-column: 1 / -1; }
}

/* ---------- Prose (about) ---------- */
.prose {
    padding: 4rem 0 6rem;
}
.prose p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.prose h2 { margin-top: 2.5rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.principles {
    list-style: none;
    margin: 1.5rem 0 2rem;
}
.principles li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    position: relative;
    padding-left: 1.8rem;
}
.principles li::before {
    content: '✻';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.6;
}
.principles li:last-child { border-bottom: none; }
.prose .btn { margin-top: 1rem; }

/* ---------- Messe: Stats ---------- */
.messe-stats {
    background: var(--bg-alt);
    padding: 3rem 2rem;
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.messe-stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
}
@media (max-width: 600px) {
    .messe-stats .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Messe: Concept ---------- */
.messe-concept {
    padding: 6rem 2rem;
}
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.concept-item {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 6px;
    border-top: 2px solid var(--accent);
}
.concept-num {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    opacity: 0.7;
}
.concept-item h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.ampel {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    color: #fff;
    font-size: 0.9em;
}
.ampel.gruen { background: #5a8a6a; }
.ampel.gelb { background: #b89a4a; }
.ampel.rot { background: #a06060; }

/* ---------- Messe: Program ---------- */
.messe-program {
    background: var(--bg-alt);
    padding: 6rem 2rem;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.program-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.25s ease;
}
.program-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 52, 138, 0.06);
}
.program-card h3 { font-size: 1.25rem; }

/* ---------- Messe: Tickets ---------- */
.messe-tickets {
    padding: 6rem 2rem;
}
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.ticket-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.25s ease;
}
.ticket-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 52, 138, 0.08);
}
.ticket-card.featured {
    border: 2px solid var(--accent);
    background: var(--bg);
}
.ticket-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.9rem;
    border-radius: 3px;
    font-weight: 600;
}
.ticket-name {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
}
.ticket-price {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1.5rem;
    line-height: 1;
}
.ticket-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ticket-card ul li {
    padding-left: 1.4rem;
    position: relative;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.ticket-card ul li::before {
    content: '✻';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.6;
}
.ticket-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
    font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-alt);
    color: var(--ink);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--line);
}
.footer .logo { color: var(--ink); }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}
.footer-title {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--ink);
    font-weight: 600;
}
.footer .muted { color: var(--ink-muted); font-size: 0.95rem; }
.logo-sm { font-size: 1.2rem; margin-bottom: 0.5rem; }
.copy {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* ---------- Subtle entrance ---------- */
.hero-content > * {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
