/* ============================================================
   WILL WIRD 40 – SECRET OPERATION
   Hell / frisch / elegant / frech
   ============================================================ */

:root {
    --cream: #f7f2e8;
    --cream-light: #fffdf8;
    --cream-dark: #e9e1d2;

    --black: #191a17;
    --black-soft: #34352f;

    --green: #afc66a;
    --green-dark: #718b45;
    --green-light: #e7efcf;

    --sand: #d8cebb;

    --gray: #706f68;
    --gray-light: #aaa79e;

    --white: #ffffff;

    --shadow: 0 14px 35px rgba(35, 37, 28, 0.08);
    --shadow-small: 0 7px 20px rgba(35, 37, 28, 0.06);

    --radius: 18px;
}


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--cream);
    color: var(--black);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}


/* ============================================================
   SEITEN-WRAPPER
   ============================================================ */

.site-wrapper {
    min-height: 100vh;
    overflow: hidden;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: relative;

    width: 100%;
    padding: 22px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: var(--cream-light);

    border-bottom: 1px solid var(--cream-dark);
}

.logo {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.header-code {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    color: var(--green-dark);

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.logout {
    color: var(--gray);

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    transition: color 0.2s ease;
}

.logout:hover {
    color: var(--green-dark);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    width: min(1100px, calc(100% - 80px));
    margin: 0 auto;

    padding: 95px 0 75px;
}


/* kleiner grüner Geheimstempel */

.stamp {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 13px;

    background: var(--black);
    color: var(--cream-light);

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.17em;

    transform: rotate(-2deg);
}


/* EIN GEHEIMES PROJEKT */

.eyebrow {
    margin: 0 0 22px;

    color: var(--green-dark);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}


/* WILL WIRD 40 */

.hero h1 {
    margin: 0;

    font-size: clamp(4.5rem, 11vw, 9rem);
    line-height: 0.84;

    font-weight: 900;
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: var(--green-dark);
}


/* Beschreibung */

.hero-text {
    max-width: 620px;

    margin: 35px 0 0;

    color: var(--gray);

    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-text strong {
    color: var(--black-soft);
}


/* Gin */

.gin-icon {
    margin-top: 28px;

    font-size: 2.5rem;
    line-height: 1;
}


/* dezenter grüner Lichtschein */

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: 40px;

    background: rgba(175, 198, 106, 0.10);

    border-radius: 50%;

    filter: blur(10px);

    z-index: -1;
}


/* ============================================================
   EVENT CARD
   ============================================================ */

.event-card {
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto 55px;

    padding: clamp(30px, 5vw, 55px);

    background: var(--cream-light);

    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    position: relative;
}


/* grüner Streifen links */

.event-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 28px;
    bottom: 28px;

    width: 5px;

    background: var(--green);

    border-radius: 0 5px 5px 0;
}

.card-label {
    margin-bottom: 12px;

    color: var(--green-dark);

    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.event-card h2 {
    margin: 0 0 28px;

    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.045em;

    font-weight: 900;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 55px;

    color: var(--gray);

    font-size: 0.95rem;
}

.event-details > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.event-details strong {
    color: var(--green-dark);

    font-size: 1rem;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.navigation-grid {
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto 60px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nav-card {
    position: relative;

    min-height: 170px;

    padding: 28px 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: var(--cream-light);

    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);

    box-shadow: var(--shadow-small);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-card:hover {
    transform: translateY(-4px);

    border-color: var(--green);

    box-shadow: var(--shadow);
}


/* Icon */

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 20px;

    background: var(--green-light);

    border-radius: 50%;

    font-size: 1.25rem;
}


/* Titel */

.nav-card strong {
    margin-bottom: 5px;

    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}


/* Beschreibung */

.nav-card small {
    color: var(--gray);

    font-size: 0.83rem;
}


/* kleiner Pfeil */

.nav-card::after {
    content: "→";

    position: absolute;

    right: 25px;
    bottom: 23px;

    color: var(--green-dark);

    font-size: 1.25rem;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.nav-card:hover::after {
    transform: translateX(4px);
}


/* ============================================================
   SECRET BOX
   ============================================================ */

.secret-box {
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto 80px;

    padding: 30px 34px;

    background: var(--green-light);

    border-radius: var(--radius);

    border: 1px solid rgba(113, 139, 69, 0.18);
}

.secret-title {
    display: block;

    margin-bottom: 12px;

    color: var(--green-dark);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.secret-box p {
    margin: 0;

    color: var(--black-soft);

    font-size: 0.98rem;
}

.secret-box strong {
    color: var(--green-dark);
}

.secret-box .small {
    margin-top: 8px;

    color: var(--gray);

    font-size: 0.82rem;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 32px 20px;

    background: var(--black);
    color: #d8d6ce;

    text-align: center;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

footer span {
    margin: 0 8px;

    color: var(--green);
}


/* ============================================================
   LOGIN-SEITE
   ============================================================ */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(175, 198, 106, 0.12),
            transparent 30%
        ),
        var(--cream);
}

.login-card {
    width: min(560px, 100%);

    padding: clamp(32px, 7vw, 65px);

    background: var(--cream-light);

    border: 1px solid var(--cream-dark);
    border-radius: 22px;

    box-shadow: var(--shadow);

    text-align: center;
}

.top-secret {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 13px;

    background: var(--black);
    color: var(--cream-light);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.confidential {
    color: var(--green-dark);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.lime-line {
    width: 55px;
    height: 3px;

    margin: 24px auto;

    background: var(--green);
}

.login-card h1 {
    margin-bottom: 20px;

    color: var(--black);

    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
}

.login-card h1 span {
    color: var(--green-dark);
}

.login-intro {
    color: var(--gray);

    font-size: 1.05rem;
}

.warning {
    margin: 30px 0;
    padding: 15px 18px;

    background: var(--green-light);

    border-left: 4px solid var(--green);

    color: var(--black-soft);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;

    text-align: left;
}

.login-form {
    margin-top: 30px;

    text-align: left;
}

.login-form label {
    display: block;

    margin-bottom: 8px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.login-form input {
    width: 100%;

    padding: 15px 16px;

    background: var(--white);

    border: 1px solid var(--sand);
    border-radius: 10px;

    color: var(--black);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-form input:focus {
    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(175, 198, 106, 0.18);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 14px;
    padding: 15px 20px;

    background: var(--black);
    color: var(--cream-light);

    border: 0;
    border-radius: 10px;

    font-weight: 800;
    letter-spacing: 0.04em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background: var(--green-dark);

    transform: translateY(-1px);
}

.error-message {
    margin-top: 10px;
    padding: 10px 12px;

    background: #f1e4df;
    color: #8a4b3f;

    border-radius: 8px;

    font-size: 0.85rem;
}

.secret-note {
    margin-top: 28px;

    color: var(--gray);

    font-size: 0.78rem;
}

.secret-note strong {
    color: var(--green-dark);
}


/* ============================================================
   INNERE SEITEN
   info.php / playlist.php / fotos.php / faq.php
   ============================================================ */

.content-page {
    min-height: calc(100vh - 80px);

    padding: 70px 0 100px;
}

.content-inner {
    width: min(850px, calc(100% - 80px));
    margin: 0 auto;
}

.page-label {
    margin-bottom: 15px;

    color: var(--green-dark);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.content-inner h1 {
    margin-bottom: 25px;

    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.9;
}

.intro {
    margin-bottom: 50px;

    color: var(--gray);

    font-size: 1.1rem;
}

.content-block {
    margin-bottom: 45px;
}

.content-block h2 {
    margin-bottom: 15px;

    font-size: 1.7rem;
}

.content-block p {
    color: var(--black-soft);
}

.highlight-box {
    margin: 40px 0;
    padding: 25px 28px;

    background: var(--green-light);

    border-left: 4px solid var(--green);

    border-radius: 0 12px 12px 0;
}

.highlight-box p {
    margin-bottom: 0;
}


/* ============================================================
   CTA
   ============================================================ */

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    background: var(--black);
    color: var(--cream-light);

    border-radius: 10px;

    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cta:hover {
    background: var(--green-dark);

    transform: translateY(-1px);
}

.cta-secondary {
    background: transparent;
    color: var(--black);

    border: 1px solid var(--sand);
}

.cta-secondary:hover {
    background: var(--cream-dark);
    color: var(--black);
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 24px 26px;

    background: var(--cream-light);

    border: 1px solid var(--cream-dark);
    border-radius: 14px;
}

.faq-question {
    margin-bottom: 8px;

    font-size: 1rem;
    font-weight: 800;
}

.faq-answer {
    margin-bottom: 0;

    color: var(--gray);

    font-size: 0.95rem;
}


/* ============================================================
   RESPONSIVE – TABLET
   ============================================================ */

@media (max-width: 800px) {

    .site-header {
        padding: 18px 25px;
    }

    .hero,
    .event-card,
    .navigation-grid,
    .secret-box {
        width: min(100% - 50px, 1100px);
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: clamp(4rem, 14vw, 7rem);
    }
}


/* ============================================================
   RESPONSIVE – HANDY
   ============================================================ */

@media (max-width: 600px) {

    .site-header {
        padding: 17px 18px;

        flex-wrap: wrap;
    }

    .header-code {
        position: static;

        order: 3;

        width: 100%;

        transform: none;

        text-align: left;
    }

    .hero,
    .event-card,
    .navigation-grid,
    .secret-box {
        width: calc(100% - 30px);
    }

    .hero {
        padding: 55px 0 45px;
    }

    .hero h1 {
        font-size: clamp(3.7rem, 18vw, 6rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    .event-card {
        margin-bottom: 35px;

        padding: 30px 25px;
    }

    .event-card h2 {
        font-size: 2.3rem;
    }

    .event-details {
        flex-direction: column;

        gap: 12px;
    }

    .navigation-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .nav-card {
        min-height: 145px;
    }

    .secret-box {
        margin-bottom: 55px;

        padding: 25px;
    }

    .content-inner {
        width: calc(100% - 30px);
    }

    .content-page {
        padding: 50px 0 70px;
    }

    .content-inner h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }
}


/* ============================================================
   SEHR KLEINE HANDYS
   ============================================================ */

@media (max-width: 380px) {

    .logo {
        font-size: 0.95rem;
    }

    .logout {
        font-size: 0.62rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .event-card h2 {
        font-size: 2rem;
    }

    .nav-card {
        padding: 23px;
    }
}
		
		/* ============================================================
   UNTERSEITEN – CONTENT PAGES
   ============================================================ */

.content-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 20px 90px;
}

.page-number {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;

    background: var(--green);
    color: var(--black);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-page h1 {
    margin: 0 0 40px;

    font-size: clamp(42px, 8vw, 82px);
    line-height: 0.9;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.content-page h1 span {
    color: var(--green-dark);
}


/* ------------------------------------------------------------
   HAUPT-CONTENT
   ------------------------------------------------------------ */

.content-card {
    position: relative;

    padding: 42px 42px 38px;

    background: var(--cream-light);
    border: 1px solid var(--sand);

    box-shadow: 8px 8px 0 var(--green);
}

.content-card p {
    margin: 0 0 22px;

    color: var(--black-soft);

    font-size: 18px;
    line-height: 1.7;
}

.content-card p:last-of-type {
    margin-bottom: 28px;
}

.content-card .big-text {
    margin-bottom: 18px;

    color: var(--black);

    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
}


/* ------------------------------------------------------------
   HIGHLIGHT
   ------------------------------------------------------------ */

.highlight {
    margin-top: 30px;
    padding: 22px 24px;

    background: var(--green-light);
    border-left: 6px solid var(--green-dark);

    color: var(--black);

    font-size: 17px;
    line-height: 1.9;
    font-weight: 700;
}


/* ------------------------------------------------------------
   WARNUNG
   ------------------------------------------------------------ */

.warning-box {
    margin-top: 45px;
    padding: 26px 30px;

    background: var(--black);
    color: var(--cream-light);

    font-size: 16px;
    line-height: 1.7;
}

.warning-box strong {
    color: var(--green);
}

.warning-box strong:first-child {
    display: block;
    margin-bottom: 8px;

    font-size: 13px;
    letter-spacing: 0.12em;
}


/* ------------------------------------------------------------
   ZURÜCK-LINK
   ------------------------------------------------------------ */

.back-link {
    display: inline-block;
    margin-top: 38px;

    color: var(--black);
    text-decoration: none;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.back-link:hover {
    color: var(--green-dark);
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {

    .content-page {
        padding: 45px 18px 70px;
    }

    .content-page h1 {
        margin-bottom: 30px;

        font-size: clamp(40px, 13vw, 62px);
    }

    .content-card {
        padding: 28px 24px 26px;

        box-shadow: 5px 5px 0 var(--green);
    }

    .content-card p {
        font-size: 16px;
        line-height: 1.65;
    }

    .content-card .big-text {
        font-size: 26px;
    }

    .highlight {
        padding: 18px 18px;

        font-size: 15px;
    }

    .warning-box {
        margin-top: 32px;
        padding: 22px 20px;

        font-size: 15px;
    }

}
		
		/* ============================================================
   PLAYLIST
   ============================================================ */

.content-card.center {
    text-align: center;
}

.big-icon {
    margin-bottom: 20px;

    font-size: 48px;
    line-height: 1;
}

.content-card.center .big-text {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.content-card.center p:not(.big-text) {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.content-card.center .button {
    display: inline-block;
    margin-top: 12px;
}


/* ------------------------------------------------------------
   PLAYLIST – IDEE
   ------------------------------------------------------------ */

.tip-box {
    margin-top: 38px;
    padding: 18px 22px;

    background: var(--green-light);
    border-left: 5px solid var(--green-dark);

    color: var(--black);

    font-size: 15px;
    line-height: 1.6;
}

.tip-box strong {
    font-size: 13px;
    letter-spacing: 0.08em;
}


/* ------------------------------------------------------------
   PLAYLIST – MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {

    .big-icon {
        font-size: 42px;
    }

    .tip-box {
        margin-top: 30px;
        padding: 16px 18px;
    }

}
		
		/* ============================================================
   RSVP
   ============================================================ */

.rsvp-card {
    padding: 42px;
}

.deadline-box {
    margin-bottom: 35px;
    padding: 18px 22px;

    background: var(--green-light);
    border-left: 5px solid var(--green-dark);

    color: var(--black);

    font-size: 15px;
    line-height: 1.6;
}

.deadline-box strong {
    display: block;
    margin-bottom: 5px;

    font-size: 13px;
    letter-spacing: 0.08em;
}


/* ------------------------------------------------------------
   FORMULAR
   ------------------------------------------------------------ */

.rsvp-form {
    max-width: 680px;
}

.form-field {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.form-field label,
.form-field legend {
    display: block;
    margin-bottom: 9px;

    color: var(--black);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-field input[type="text"],
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    background: var(--cream-light);
    border: 1px solid var(--sand);

    color: var(--black);

    font-family: inherit;
    font-size: 16px;

    border-radius: 0;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input[type="text"]:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}


/* ------------------------------------------------------------
   RADIO BUTTONS
   ------------------------------------------------------------ */

.radio-option {
    display: flex !important;
    align-items: center;

    width: fit-content;
    margin: 10px 0;

    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer;
}

.radio-option input {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;

    accent-color: var(--green-dark);
}


/* ------------------------------------------------------------
   KINDER-HINWEIS
   ------------------------------------------------------------ */

.children-note {
    margin: 35px 0;
    padding: 24px 26px;

    background: var(--cream);
    border: 1px solid var(--sand);

    color: var(--black-soft);

    font-size: 15px;
    line-height: 1.65;
}

.children-note strong:first-child {
    color: var(--black);

    font-size: 14px;
}

.children-note p {
    margin: 12px 0 0;
}

.children-note p:first-of-type {
    margin-top: 16px;
}


/* ------------------------------------------------------------
   HONEYPOT
   ------------------------------------------------------------ */

.honeypot {
    position: absolute !important;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;

    left: -9999px;
}


/* ------------------------------------------------------------
   ABSENDEN
   ------------------------------------------------------------ */

.rsvp-submit {
    margin-top: 5px;
}


/* ------------------------------------------------------------
   ERFOLG
   ------------------------------------------------------------ */

.rsvp-success {
    text-align: center;
}

.rsvp-success .big-icon {
    margin-bottom: 20px;
}

.rsvp-success .button {
    display: inline-block;
    margin-top: 15px;
}


/* ------------------------------------------------------------
   FEHLER
   ------------------------------------------------------------ */

.rsvp-error {
    margin-bottom: 24px;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {

    .rsvp-card {
        padding: 28px 24px;
    }

    .deadline-box {
        padding: 16px 18px;
    }

    .children-note {
        padding: 20px 18px;
    }

}
		
		.event-details small {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray);
    font-weight: 500;
}
		
		/* ============================================================
   FAQ – WICHTIGER PLAN
   ============================================================ */

.faq-important {
    border-left: 5px solid var(--green);
}

.faq-important summary {
    font-weight: 900;
}

.faq-important .highlight {
    margin-top: 24px;
    margin-bottom: 24px;
}