:root {
    --fa-bg: #ffffff;
    --fa-dark: #1a1a1a;
    --fa-gray: #6b6b6b;
    --fa-gray-light: #f2f2f2;
    --fa-accent: #f5c518; /* kraeftiger Gelb-Akzent, Abschnitt 27 */
    --fa-font-hand: 'Caveat Brush', 'Segoe Print', 'Comic Sans MS', cursive;
}

/* Handschrift-Schrift fuer grosse Ueberschriften (selbst gehostet, Caveat Brush / OFL) */
@font-face {
    font-family: 'Caveat Brush';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/caveat-brush-latin.woff2') format('woff2');
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--fa-bg);
    color: var(--fa-dark);
}

.fa-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fa-brand {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.fa-brand span { color: var(--fa-accent); }

.fa-task-card {
    background: var(--fa-gray-light);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.fa-task-card h1 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fa-gray);
    margin: 0;
}

.fa-task-card p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.fa-btn {
    display: inline-block;
    background: var(--fa-dark);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-height: 52px;
}

.fa-btn--accent {
    background: var(--fa-accent);
    color: var(--fa-dark);
}

.fa-btn--block { display: block; width: 100%; }

.fa-hint {
    color: var(--fa-gray);
    font-size: 0.9rem;
    text-align: center;
}

.fa-form-group { margin-bottom: 16px; }
.fa-form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.fa-form-group input, .fa-form-group select, .fa-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

/* ==========================================================================
   Marketing-Website (Startseite, Impressum, Datenschutz, AGB) - Abschnitt 27/29
   ========================================================================== */

.site-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header / Navigation --- */
.site-header {
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fa-dark);
}

.site-logo__text {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.site-logo__text span { color: var(--fa-accent); margin-left: 0.25em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--fa-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav__cta {
    background: var(--fa-dark);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.site-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--fa-dark);
    border-radius: 2px;
}

@media (max-width: 780px) {
    .site-nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid #eee;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav.is-open { max-height: 320px; }
    .site-nav a {
        width: 100%;
        padding: 16px 20px;
        border-top: 1px solid #f2f2f2;
    }
    .site-nav__cta { border-radius: 0; text-align: center; }
}

/* --- Hero --- */
.hero {
    padding: 64px 0 48px;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.3rem);
    line-height: 1.15;
    margin: 0 0 16px;
}
.hero p.lead {
    font-size: 1.1rem;
    color: var(--fa-gray);
    margin: 0 0 28px;
    line-height: 1.6;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__card {
    background: var(--fa-gray-light);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}
.hero__card .fa-task-card { background: #fff; }

.hero__visual { text-align: center; }
.hero__zoom { display: inline-block; padding: 0; border: 0; background: none; cursor: default; font: inherit; }
.hero__visual img { display: inline-block; width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.14)); }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual img { max-width: 190px; }
    .hero__zoom { cursor: zoom-in; }
}

/* --- Sektionen allgemein --- */
.section { padding: 56px 0; }
.section--alt { background: var(--fa-gray-light); }
.section h2 {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: 2.2rem;
    text-align: center;
    margin: 0 0 12px;
}
.section .section-lead {
    text-align: center;
    color: var(--fa-gray);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- So funktioniert's --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
    padding: 8px;
}
.step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fa-accent);
    color: var(--fa-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--fa-gray); font-size: 0.95rem; margin: 0; line-height: 1.5; }

@media (max-width: 780px) {
    .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Pakete / Preise --- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.plan-card--highlight {
    border-color: var(--fa-accent);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.18);
    position: relative;
}
.plan-card__badge {
    position: absolute;
    top: -13px;
    left: 24px;
    background: var(--fa-accent);
    color: var(--fa-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.plan-card h3 { margin: 0; font-size: 1.2rem; }
.plan-card .price { font-size: 1.9rem; font-weight: 800; margin: 0; }
.plan-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--fa-gray); }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card li { font-size: 0.92rem; padding-left: 26px; position: relative; line-height: 1.4; }
.plan-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a9c5b;
    font-weight: 800;
}
.plan-card li.na { color: #b7b7b7; }
.plan-card li.na::before { content: "\2013"; color: #b7b7b7; }

@media (max-width: 900px) {
    .plans { grid-template-columns: 1fr; }
}

/* --- Beispiele --- */
.examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.example-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
}
.example-card__tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fa-gray);
    background: var(--fa-gray-light);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.example-card p { margin: 0; font-family: 'Caveat', var(--fa-font-hand); font-weight: 500; font-size: 1.45rem; line-height: 1.25; }

/* --- FAQ --- */
.faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 4px solid transparent;
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: #d6d6d6; }
.faq-item[open] {
    border-color: #e6e6e6;
    border-left-color: var(--fa-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
.faq-item summary {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--fa-accent); outline-offset: 2px; }
.faq-item summary::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fa-gray-light);
    color: var(--fa-dark);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    transition: background .2s, transform .2s;
}
.faq-item:hover summary::after { background: #ffe9a0; }
.faq-item[open] summary::after {
    content: "\2212";
    background: var(--fa-accent);
}
.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--fa-gray);
    line-height: 1.65;
}
@media (max-width: 480px) {
    .faq-item summary { padding: 16px; font-size: 1rem; }
    .faq-item p { padding: 0 16px 18px; }
}

/* --- Footer --- */
.site-footer {
    background: var(--fa-dark);
    color: #d8d8d8;
    padding: 40px 0 24px;
    margin-top: 40px;
}
.site-footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}
.site-footer .site-logo__text { color: #fff; }
.site-footer__brand p { max-width: 320px; color: #a9a9a9; font-size: 0.9rem; margin: 10px 0 0; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.site-footer__links a { color: #d8d8d8; text-decoration: none; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--fa-accent); }
.site-footer__copy { color: #8c8c8c; font-size: 0.82rem; margin: 0; }

/* --- Rechtstexte (Impressum/Datenschutz/AGB) --- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; line-height: 1.65; }
.legal h1 { font-family: var(--fa-font-hand); font-weight: 400; font-size: 2.3rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; color: #333; }
.legal small { color: var(--fa-gray); }

/* Ueberschrift auf Formularseiten (Event erstellen) */
.fa-h1 { font-family: var(--fa-font-hand); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 0 0 16px; }
/* Mini-Aufgabenkarte im Hero behaelt die Systemschrift */
.hero .fa-task-card h1 { font-family: inherit; }

/* --- Modal "Event erstellen" (Startseite) --- */
.fa-modal { border: 0; border-radius: 16px; padding: 28px 24px 24px; width: calc(100% - 32px); max-width: 440px; box-shadow: 0 12px 48px rgba(0,0,0,.3); }
.fa-modal::backdrop { background: rgba(0,0,0,.45); }
.fa-modal__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--fa-gray); cursor: pointer; border-radius: 8px; }
.fa-modal__close:hover { background: var(--fa-gray-light); color: var(--fa-dark); }
.fa-modal__body .fa-form-group:last-of-type { margin-bottom: 20px; }
/* Lightbox fuer die Hero-Illustration (mobil) */
.fa-lightbox { border: 0; background: transparent; padding: 0; max-width: none; max-height: none; width: min(92vw, 420px); overflow: visible; cursor: zoom-out; }
.fa-lightbox::backdrop { background: rgba(0,0,0,.6); }
.fa-lightbox img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }

/* Stoerer am Seitenende (nur Desktop) */
.page-end { display: none; }
@media (min-width: 901px) {
    .page-end { display: block; text-align: center; padding: 48px 0 52px; }
    .page-end img { width: 96px; height: 96px; }
    .page-end + .site-footer { margin-top: 0; }
}

/* Handschrift fuer Beispiel-Aufgaben: Caveat Medium, selbst gehostet (OFL) */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/caveat-500-latin.woff2') format('woff2');
}
:root {
    --fa-bg: #ffffff;
    --fa-dark: #1a1a1a;
    --fa-gray: #6b6b6b;
    --fa-gray-light: #f2f2f2;
    --fa-accent: #f5c518; /* kraeftiger Gelb-Akzent, Abschnitt 27 */
    --fa-font-hand: 'Caveat Brush', 'Segoe Print', 'Comic Sans MS', cursive;
}

/* Handschrift-Schrift fuer grosse Ueberschriften (selbst gehostet, Caveat Brush / OFL) */
@font-face {
    font-family: 'Caveat Brush';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/caveat-brush-latin.woff2') format('woff2');
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--fa-bg);
    color: var(--fa-dark);
}

.fa-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fa-brand {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.fa-brand span { color: var(--fa-accent); }

.fa-task-card {
    background: var(--fa-gray-light);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.fa-task-card h1 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fa-gray);
    margin: 0;
}

.fa-task-card p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.fa-btn {
    display: inline-block;
    background: var(--fa-dark);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-height: 52px;
}

.fa-btn--accent {
    background: var(--fa-accent);
    color: var(--fa-dark);
}

.fa-btn--block { display: block; width: 100%; }

.fa-hint {
    color: var(--fa-gray);
    font-size: 0.9rem;
    text-align: center;
}

.fa-form-group { margin-bottom: 16px; }
.fa-form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.fa-form-group input, .fa-form-group select, .fa-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

/* ==========================================================================
   Marketing-Website (Startseite, Impressum, Datenschutz, AGB) - Abschnitt 27/29
   ========================================================================== */

.site-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header / Navigation --- */
.site-header {
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fa-dark);
}

.site-logo__text {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.site-logo__text span { color: var(--fa-accent); margin-left: 0.25em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--fa-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav__cta {
    background: var(--fa-dark);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.site-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--fa-dark);
    border-radius: 2px;
}

@media (max-width: 780px) {
    .site-nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid #eee;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav.is-open { max-height: 320px; }
    .site-nav a {
        width: 100%;
        padding: 16px 20px;
        border-top: 1px solid #f2f2f2;
    }
    .site-nav__cta { border-radius: 0; text-align: center; }
}

/* --- Hero --- */
.hero {
    padding: 64px 0 48px;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.3rem);
    line-height: 1.15;
    margin: 0 0 16px;
}
.hero p.lead {
    font-size: 1.1rem;
    color: var(--fa-gray);
    margin: 0 0 28px;
    line-height: 1.6;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__card {
    background: var(--fa-gray-light);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}
.hero__card .fa-task-card { background: #fff; }

.hero__visual { text-align: center; }
.hero__zoom { display: inline-block; padding: 0; border: 0; background: none; cursor: default; font: inherit; }
.hero__visual img { display: inline-block; width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.14)); }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual img { max-width: 190px; }
    .hero__zoom { cursor: zoom-in; }
}

/* --- Sektionen allgemein --- */
.section { padding: 56px 0; }
.section--alt { background: var(--fa-gray-light); }
.section h2 {
    font-family: var(--fa-font-hand);
    font-weight: 400;
    font-size: 2.2rem;
    text-align: center;
    margin: 0 0 12px;
}
.section .section-lead {
    text-align: center;
    color: var(--fa-gray);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- So funktioniert's --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
    padding: 8px;
}
.step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fa-accent);
    color: var(--fa-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--fa-gray); font-size: 0.95rem; margin: 0; line-height: 1.5; }

@media (max-width: 780px) {
    .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Pakete / Preise --- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.plan-card--highlight {
    border-color: var(--fa-accent);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.18);
    position: relative;
}
.plan-card__badge {
    position: absolute;
    top: -13px;
    left: 24px;
    background: var(--fa-accent);
    color: var(--fa-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.plan-card h3 { margin: 0; font-size: 1.2rem; }
.plan-card .price { font-size: 1.9rem; font-weight: 800; margin: 0; }
.plan-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--fa-gray); }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card li { font-size: 0.92rem; padding-left: 26px; position: relative; line-height: 1.4; }
.plan-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a9c5b;
    font-weight: 800;
}
.plan-card li.na { color: #b7b7b7; }
.plan-card li.na::before { content: "\2013"; color: #b7b7b7; }

@media (max-width: 900px) {
    .plans { grid-template-columns: 1fr; }
}

/* --- Beispiele --- */
.examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.example-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
}
.example-card__tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fa-gray);
    background: var(--fa-gray-light);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.example-card p { margin: 0; font-family: 'Caveat', var(--fa-font-hand); font-weight: 500; font-size: 1.45rem; line-height: 1.25; }

/* --- FAQ --- */
.faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 4px solid transparent;
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: #d6d6d6; }
.faq-item[open] {
    border-color: #e6e6e6;
    border-left-color: var(--fa-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
.faq-item summary {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--fa-accent); outline-offset: 2px; }
.faq-item summary::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fa-gray-light);
    color: var(--fa-dark);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    transition: background .2s, transform .2s;
}
.faq-item:hover summary::after { background: #ffe9a0; }
.faq-item[open] summary::after {
    content: "\2212";
    background: var(--fa-accent);
}
.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--fa-gray);
    line-height: 1.65;
}
@media (max-width: 480px) {
    .faq-item summary { padding: 16px; font-size: 1rem; }
    .faq-item p { padding: 0 16px 18px; }
}

/* --- Footer --- */
.site-footer {
    background: var(--fa-dark);
    color: #d8d8d8;
    padding: 40px 0 24px;
    margin-top: 40px;
}
.site-footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}
.site-footer .site-logo__text { color: #fff; }
.site-footer__brand p { max-width: 320px; color: #a9a9a9; font-size: 0.9rem; margin: 10px 0 0; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.site-footer__links a { color: #d8d8d8; text-decoration: none; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--fa-accent); }
.site-footer__copy { color: #8c8c8c; font-size: 0.82rem; margin: 0; }

/* --- Rechtstexte (Impressum/Datenschutz/AGB) --- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; line-height: 1.65; }
.legal h1 { font-family: var(--fa-font-hand); font-weight: 400; font-size: 2.3rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; color: #333; }
.legal small { color: var(--fa-gray); }

/* Ueberschrift auf Formularseiten (Event erstellen) */
.fa-h1 { font-family: var(--fa-font-hand); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 0 0 16px; }
/* Mini-Aufgabenkarte im Hero behaelt die Systemschrift */
.hero .fa-task-card h1 { font-family: inherit; }

/* --- Modal "Event erstellen" (Startseite) --- */
.fa-modal { border: 0; border-radius: 16px; padding: 28px 24px 24px; width: calc(100% - 32px); max-width: 440px; box-shadow: 0 12px 48px rgba(0,0,0,.3); }
.fa-modal::backdrop { background: rgba(0,0,0,.45); }
.fa-modal__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--fa-gray); cursor: pointer; border-radius: 8px; }
.fa-modal__close:hover { background: var(--fa-gray-light); color: var(--fa-dark); }
.fa-modal__body .fa-form-group:last-of-type { margin-bottom: 20px; }
/* Lightbox fuer die Hero-Illustration (mobil) */
.fa-lightbox { border: 0; background: transparent; padding: 0; max-width: none; max-height: none; width: min(92vw, 420px); overflow: visible; cursor: zoom-out; }
.fa-lightbox::backdrop { background: rgba(0,0,0,.6); }
.fa-lightbox img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }

/* Stoerer am Seitenende (nur Desktop) */
.page-end { display: none; }
@media (min-width: 901px) {
    .page-end { display: block; text-align: center; padding: 48px 0 52px; }
    .page-end img { width: 96px; height: 96px; }
    .page-end + .site-footer { margin-top: 0; }
}

/* Handschrift fuer Beispiel-Aufgaben: Caveat Medium, selbst gehostet (OFL) */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/caveat-500-latin.woff2') format('woff2');
}

/* Beta-Hinweis: schmale Leiste oben + kleines Label am Logo (Startphase bis 01.01.2027) */
.beta-bar { background: var(--fa-dark); color: #e8e8e8; font-size: 0.86rem; line-height: 1.35; padding: 11px 0; margin-bottom: 12px; text-align: center; }
.beta-bar strong { background: var(--fa-accent); color: var(--fa-dark); border-radius: 999px; padding: 1px 9px; margin-right: 8px; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.beta-bar b { color: var(--fa-accent); font-weight: 600; white-space: nowrap; }
.site-logo__beta { align-self: flex-start; margin: 17px 0 0 -4px; background: var(--fa-accent); color: var(--fa-dark); border-radius: 999px; padding: 1px 7px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
@media (max-width: 600px) { .beta-bar { font-size: 0.78rem; padding: 9px 0; margin-bottom: 8px; } }

/* Beta-Leiste und Header gemeinsam dauerhaft oben fixiert */
.site-top { position: sticky; top: 0; z-index: 20; background: #fff; }
.site-top .site-header { position: static; }

/* Beispiel-Aufgaben auf der Startseite: Karte wie im Gast-Flow (SPEC 29), mobil nur eine */
.examples { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: stretch; }
.examples .example-card { flex: none; padding: 20px 16px; gap: 10px; background: #fff; border: 0; box-shadow: 0 6px 24px rgba(0,0,0,.14); justify-content: flex-start; }
.examples .example-card h3 { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fa-gray); font-weight: 600; }
.examples .example-card p { font-family: var(--fa-font-hand); font-weight: 400; font-size: 1.75rem; line-height: 1.25; margin: 0; }
.example-card__img { display: block; width: 100%; max-width: 170px; height: auto; margin: 0 auto -4px; }
.ex-plural { display: inline; }
@media (max-width: 640px) {
    .examples { grid-template-columns: 1fr; }
    .examples .example-card:nth-child(n+2) { display: none; }
    .examples .example-card { padding: 20px 18px; gap: 12px; }
    .examples .example-card p { font-size: 2.5rem; }
    .example-card__img { max-width: 230px; }
    .ex-plural { display: none; }
}

/* Beispiel-Karten: Anlass-Badge statt Titel, kleinere Bilder, groessere Schrift */
.examples .example-card .example-card__tag { align-self: center; margin: 0; }
.examples .example-card p { font-size: 2.15rem; }
.example-card__img { max-width: 130px; }
@media (max-width: 640px) {
    .examples .example-card p { font-size: 2.6rem; }
    .example-card__img { max-width: 170px; }
}

/* Badge immer oben und nur so breit wie das Wort */
.examples .example-card { justify-content: flex-start; align-items: center; }
.examples .example-card .example-card__tag { flex: 0 0 auto; width: max-content; max-width: 100%; align-self: center; }
.examples .example-card p { width: 100%; }

/* Beispiel-Text deutlich kleiner */
.examples .example-card p { font-size: 1.5rem; line-height: 1.25; }
@media (max-width: 640px) { .examples .example-card p { font-size: 2rem; } }

/* Smartphone: zwei Beispiel-Aufgaben untereinander */
@media (max-width: 640px) {
    .examples .example-card:nth-child(2) { display: flex; }
    .examples .example-card:nth-child(n+3) { display: none; }
    .ex-plural { display: inline; }
}

/* Text-Links: dunkel mit gelber Unterstreichung statt Browser-Blau/Lila (Links ohne eigene Klasse im Inhaltsbereich) */
:where(main, .acc, section, .fa-container, .fa-modal) a:where(:not([class])) { color: var(--fa-dark); text-decoration: underline; text-decoration-color: var(--fa-accent); text-decoration-thickness: 2px; text-underline-offset: .19em; text-decoration-skip-ink: auto; }
:where(main, .acc, section, .fa-container, .fa-modal) a:where(:not([class])):hover { text-decoration-color: var(--fa-dark); }
