* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    color: #ffffff;

    background-color: #02060e;

    background-image:
        linear-gradient(
            rgba(2, 6, 14, 0.28),
            rgba(2, 6, 14, 0.52)
        ),
        url("bg-main-neu.jpg");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* ==================================================
   SEITENRAHMEN
================================================== */

.page {
    width: min(1400px, calc(100% - 32px));

    margin: 0 auto;
    padding: 54px 0 40px;
}


/* ==================================================
   ABSENDER
================================================== */

.network-signature {
    padding: 25px 20px 34px;

    text-align: center;
}

.network-signature p {
    margin: 0;
}

.powered {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;

    letter-spacing: 0.02em;

    text-shadow:
        0 3px 14px rgba(0, 0, 0, 0.92);
}

.operated {
    margin-top: 12px !important;

    color: rgba(255, 255, 255, 0.76);

    font-size: 0.98rem;
    font-weight: 600;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.88);
}


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

.hero {
    padding: 64px 30px 52px;

    text-align: center;

    border: 1px solid rgba(91, 172, 255, 0.42);
    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            rgba(7, 20, 39, 0.42),
            rgba(3, 9, 19, 0.25)
        );

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.38),
        0 0 36px rgba(24, 118, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow {
    margin: 0 0 18px;

    color: #5daeff;

    font-size: 0.95rem;
    font-weight: 800;

    letter-spacing: 0.19em;
    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(93, 174, 255, 0.24);
}

h1 {
    margin: 0;

    font-size: clamp(3.8rem, 9vw, 8rem);
    line-height: 0.95;

    letter-spacing: -0.055em;

    text-shadow:
        0 0 18px rgba(35, 124, 255, 0.26),
        0 12px 40px rgba(0, 0, 0, 0.72);
}

.election-date {
    margin: 28px 0 0;

    color: #67b4ff;

    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;

    letter-spacing: 0.04em;

    text-shadow:
        0 0 18px rgba(41, 133, 255, 0.48),
        0 10px 35px rgba(0, 0, 0, 0.66);
}


/* ==================================================
   COUNTDOWN
================================================== */

.countdown-wrap {
    margin-top: 52px;
}

.countdown-label {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.76);

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

    letter-spacing: 0.13em;
    text-transform: uppercase;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.88);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));

    width: min(780px, 100%);

    gap: 14px;
    margin: 0 auto;
}

.countdown-item {
    padding: 23px 15px 20px;

    border: 1px solid rgba(160, 205, 255, 0.26);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 38, 58, 0.44),
            rgba(8, 18, 32, 0.26)
        );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 12px 32px rgba(0, 0, 0, 0.22);
}

.countdown-item span {
    display: block;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;

    line-height: 1;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.65);
}

.countdown-item small {
    display: block;

    margin-top: 10px;

    color: #8fc7ff;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.countdown-finished {
    color: #ffffff;

    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
}


/* ==================================================
   QR-BEREICH
================================================== */

.qr-section {
    display: flex;

    justify-content: center;

    margin-top: 26px;
}

.qr-card {
    display: flex;
    flex-direction: column;

    width: min(760px, 100%);
    min-height: 680px;

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

    padding: 54px 45px;

    text-align: center;

    border: 1px solid rgba(151, 202, 255, 0.25);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 36, 0.38),
            rgba(3, 9, 18, 0.22)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.qr-eyebrow {
    margin: 0 0 18px;

    color: #5daeff;

    font-size: 0.88rem;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(93, 174, 255, 0.22);
}

.qr-card h2 {
    margin: 0;

    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.06;

    letter-spacing: -0.045em;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.68);
}


/* ==================================================
   QR-PLATZHALTER
================================================== */

.qr-placeholder {
    display: flex;
    flex-direction: column;

    width: min(330px, 80%);
    aspect-ratio: 1 / 1;

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

    margin-top: 38px;

    border: 2px dashed rgba(93, 174, 255, 0.68);
    border-radius: 26px;

    color: #5daeff;

    background:
        linear-gradient(
            135deg,
            rgba(25, 111, 215, 0.16),
            rgba(255, 255, 255, 0.035)
        );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        0 0 35px rgba(40, 132, 255, 0.13),
        inset 0 0 38px rgba(52, 139, 255, 0.05);
}

.qr-placeholder span {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;

    line-height: 1;
}

.qr-placeholder small {
    margin-top: 10px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.qr-text {
    max-width: 530px;

    margin: 32px 0 0;

    color: #ffffff;

    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.45;

    text-shadow:
        0 3px 14px rgba(0, 0, 0, 0.75);
}

.qr-note {
    max-width: 530px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.74);

    font-size: 1rem;
    line-height: 1.7;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.78);
}


/* ==================================================
   ABSCHLUSS
================================================== */

.closing {
    margin-top: 26px;
    padding: 70px 30px;

    text-align: center;

    border: 1px solid rgba(91, 172, 255, 0.32);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 36, 0.36),
            rgba(3, 9, 18, 0.20)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.closing p {
    margin: 0;

    color: #5daeff;

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(93, 174, 255, 0.22);
}

.closing h2 {
    margin: 22px 0 0;

    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.08;

    letter-spacing: -0.045em;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.68);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 980px) {

    .qr-card {
        min-height: auto;
    }
}


/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 680px) {

    body {
        background-attachment: scroll;
    }

    .page {
        width: min(100% - 18px, 1400px);

        padding-top: 20px;
    }

    .network-signature {
        padding-top: 20px;
    }

    .hero {
        padding: 42px 18px 35px;

        border-radius: 24px;
    }

    h1 {
        font-size: 3.3rem;
    }

    .election-date {
        font-size: 2.7rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .qr-section {
        margin-top: 18px;
    }

    .qr-card,
    .closing {
        border-radius: 22px;
    }

    .qr-card {
        min-height: auto;

        padding: 38px 20px;
    }

    .qr-placeholder {
        width: min(280px, 88%);
    }

.closing {
    margin-top: 18px;
    padding: 50px 20px;
}

} /* ENDE SMARTPHONE */


/* ===========================================
   ABSCHLUSS MAYBACH++
=========================================== */

.closing-eyebrow{

    color:#5daeff;

    font-size:.90rem;

    font-weight:800;

    letter-spacing:.18em;

    text-transform:uppercase;

    margin-bottom:18px;
}

.closing-text{

    max-width:820px;

    margin:30px auto;

    line-height:1.9;

    font-size:1.12rem;

    color:rgba(255,255,255,.84);
}

.closing-divider{

    width:120px;
    height:1px;

    margin:40px auto;

    background:linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,.55),
        transparent
    );
}

.closing h3{

    margin:0;

    font-size:clamp(1.5rem,3vw,2.3rem);

    font-weight:700;

    line-height:1.35;
}

.closing-contact{

    margin:24px 0 10px;

    color:rgba(255,255,255,.78);

    font-size:1.05rem;
}

.mail-link{

    display:inline-block;

    margin-top:10px;

    color:#69b7ff;

    font-size:1.45rem;

    font-weight:700;

    text-decoration:none;

    transition:.25s;
}

.mail-link:hover{

    color:#ffffff;

    text-shadow:
        0 0 18px rgba(90,170,255,.55);
}
  .closing-title{

    margin-top:18px;

    font-size:clamp(2rem,4vw,3.8rem);

    line-height:1.15;

    letter-spacing:-0.03em;
}

.closing-subtitle{

    margin-top:10px;

    font-size:clamp(1.35rem,2.4vw,2rem);

    font-weight:700;

    color:#ffffff;
}
  .qr-placeholder img{

    width:88%;

    max-width:280px;

    height:auto;

    display:block;

    border-radius:12px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);
}
  .qr-scan{

    margin-top:24px;

    color:rgba(255,255,255,.76);

    font-size:1rem;

    line-height:1.6;
}

.button-open-demo{

    display:inline-block;

    margin-top:18px;

    padding:14px 34px;

    border-radius:14px;

    background:rgba(70,150,255,.18);

    border:1px solid rgba(110,180,255,.38);

    color:#ffffff;

    text-decoration:none;

    font-weight:700;

    backdrop-filter:blur(10px);

    transition:.25s;
}

.button-open-demo:hover{

    background:rgba(70,150,255,.28);

    transform:translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.28);
}
  /* QR-Code */

.qr-image {

    width: 300px;
    max-width: 80%;

    height: auto;

    display: block;

    margin: 0 auto;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);

}
  /* QR-Code endgültig */

.qr-box {
    width: 300px;
    max-width: 85%;
    margin: 38px auto 0;
}

.qr-box img {
    display: block;
    width: 100%;
    height: auto;
}
  .legal-links{

    margin-top:30px;

}

.legal-button{

    display:inline-block;

    padding:12px 26px;

    border:1px solid rgba(93,174,255,.45);

    border-radius:14px;

    color:#8fc7ff;

    text-decoration:none;

    font-weight:700;

    letter-spacing:.05em;

    background:rgba(255,255,255,.05);

    transition:.25s;

}

.legal-button:hover{

    background:rgba(93,174,255,.12);

    box-shadow:0 0 18px rgba(93,174,255,.22);

}
  /* FINALER HINWEISBLOCK */

.closing-title {
    max-width: 1500px;

    margin:
        28px auto
        38px;

    font-size: clamp(2.7rem, 5.6vw, 5.8rem);
    line-height: 1.12;
}

.closing-text {
    max-width: 1450px;

    margin:
        0 auto
        24px;

    color: rgba(255, 255, 255, 0.84);

    font-size: clamp(1rem, 1.55vw, 1.35rem);
    font-weight: 600;
    line-height: 1.65;

    letter-spacing: 0.04em;
    text-transform: none;
}

.closing-subtitle {
    max-width: 1100px;

    margin:
        38px auto
        20px;

    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.45;
}

.closing-contact {
    margin:
        20px 0
        12px;

    line-height: 1.5;
}

.mail-link {
    margin-top: 4px;
}

.legal-links {
    margin-top: 28px;
}
  /* ==================================================
   FINALER UNABHÄNGIGER HINWEIS
================================================== */

section.closing:last-of-type {
    padding-top: 85px !important;
    padding-bottom: 75px !important;
}

section.closing:last-of-type .closing-eyebrow {
    margin: 0 0 34px !important;
}

section.closing:last-of-type .closing-title {
    max-width: 1500px !important;

    margin: 0 auto 48px !important;

    font-size: clamp(2.6rem, 5vw, 5.4rem) !important;
    line-height: 1.12 !important;
}

section.closing:last-of-type .closing-text {
    max-width: 1250px !important;

    margin: 0 auto 26px !important;

    color: rgba(255, 255, 255, 0.82) !important;

    font-size: clamp(1rem, 1.35vw, 1.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.75 !important;

    letter-spacing: 0.015em !important;
    text-transform: none !important;
}

section.closing:last-of-type .closing-divider {
    margin: 46px auto 42px !important;
}

section.closing:last-of-type .closing-subtitle {
    max-width: 1000px !important;

    margin: 0 auto 28px !important;

    font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
    line-height: 1.45 !important;
}

section.closing:last-of-type .closing-contact {
    margin: 0 0 12px !important;

    line-height: 1.6 !important;
}

section.closing:last-of-type .mail-link {
    display: inline-block !important;

    margin: 0 0 24px !important;

    color: #69b7ff !important;
}

section.closing:last-of-type .legal-links {
    margin-top: 14px !important;
}

section.closing:last-of-type .legal-button {
    display: inline-block !important;

    padding: 12px 26px !important;

    border: 1px solid rgba(93, 174, 255, 0.5) !important;
    border-radius: 14px !important;

    color: #9dceff !important;
    background: rgba(16, 38, 65, 0.28) !important;

    font-weight: 700 !important;
    text-decoration: none !important;
}
}