/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background:#2d2980;
    color:#fff;
    font-family:"Segoe UI", Arial, sans-serif;
}

/* HEADER */
header {
    background:#3a368f;
    padding:30px 40px;
    border-bottom:3px solid #4a46a5;
    text-align:center;
}
header img { height:85px; }

/* GENERIC BOX */
.box {
    background:#3a368f;
    padding:25px;
    border-radius:12px;
    max-width:500px;
    margin:0 auto 30px;
    line-height:1.7;
}

/* ROUND IMAGE */
.round-image {
    padding:0 10px 10px 0;
    border-radius:100%;
    width:300px;
    height:300px;
    object-fit:cover;
    display:block;
    margin:20px auto;
}

/* HERO */
.hero {
    text-align:center;
    padding:120px 20px;
    background:radial-gradient(circle at top, #4a46a5 0%, #2d2980 60%);
}
.hero h1 {
    font-size:48px;
    margin-bottom:20px;
}
.hero p {
    font-size:22px;
    max-width:750px;
    margin:0 auto 40px;
}

/* HERO MOBILE */
@media (max-width:768px) {
    .hero-image {
        margin-top:0;
        margin-left:auto;
        margin-right:auto;
        max-width:320px;
        display:block;
    }
    .hero h1 { font-size:28px; line-height:1.2; margin-bottom:15px; }
    .hero p { font-size:16px; line-height:1.4; margin-bottom:25px; }

}
@media (max-width: 1024px) and (orientation: landscape),
       (max-width: 768px) {
    .hero-image {
        margin-top:0;
        margin-left:auto;
        margin-right:auto;
        display:block;
        max-width:320px;
	animation:heroPulse 7s ease-in-out infinite;
    }
/* Puls alle 7 Sekunden */
@keyframes heroPulse {
    0%   { transform:scale(1);   filter:brightness(1); }
    6%   { transform:scale(1.03); filter:brightness(1.1); }
    12%  { transform:scale(1);   filter:brightness(1); }
    100% { transform:scale(1);   filter:brightness(1); }
}
}

/* PARALLAX IMAGE */
.parallax-wrapper { position:relative; overflow:visible; }

.hero-image {
    width:100%;
    max-width:480px;
    margin-top:-400px;
    margin-left:750px;
    transition:transform 0.35s ease;
    	animation:heroPulse 7s ease-in-out infinite;
    }
/* Puls alle 7 Sekunden */
@keyframes heroPulse {
    0%   { transform:scale(1);   filter:brightness(1); }
    6%   { transform:scale(1.03); filter:brightness(1.1); }
    12%  { transform:scale(1);   filter:brightness(1); }
    100% { transform:scale(1);   filter:brightness(1); }
}
.hero-image:hover { transform:translateY(-12px) scale(1.03); }

/* PARALLAX RESPONSIVE */
@media (max-width:1024px) {
    .hero { padding:60px 20px 20px; }
    .section { padding:30px 20px; }
    .hero-image {
        margin-top:0;
        margin-left:auto;
        margin-right:auto;
        max-width:320px;
    }
	header img { height:65px; }
}

/* BUTTON */
.btn-primary {
    display:inline-block;
    padding:18px 40px;
    background:#39B423;
    color:#fff;
    font-size:20px;
    font-weight:700;
    border-radius:8px;
    text-decoration:none;
    transition:0.25s;
}
.btn-primary:hover { background:#2f9a1d; transform: scale(1.06) translateY(-1px);}

/* BUTTON ATTENTION */
@keyframes buttonPulse {
    0% { transform:scale(1); }
    30% { transform:scale(1.12); }
    60% { transform:scale(0.95); }
    100% { transform:scale(1); }
}
.btn-attention { animation:buttonPulse 0.6s ease-in-out; }
.quote-box {
    padding: 20px;
    /*background: #f5f5f5;*/
    border-left: 5px solid #d4af37;
    font-style: italic;
    border-radius: 4px;
}


/* SECTION */
.section {
    max-width:900px;
    margin:0 auto;
    padding:30px 20px;
}
.section h2 {
    font-size: 1.5em;
    color:#d4af37;
    margin-bottom:30px;
    text-transform:uppercase;
}

/* KACHEL-GRID */
.kachel-grid {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:25px;
}
.kachel {
    background:#3a368f;
    padding:25px;
    border-radius:14px;
    border-left:4px solid #d4af37;
    display:flex;
    gap:20px;
    transition:0.25s;
}
.kachel:hover { background:#4a46a5; }
.kachel-icon svg { width:60px; height:60px; }
.kachel-text { font-size:18px; line-height:1.6; }

.lazy-kachel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-kachel.visible {
    opacity: 1;
    transform: translateY(0);
}


/* KACHEL MOBILE */
@media (max-width:768px) {
    .kachel-grid { grid-template-columns:1fr; gap:20px; }
    .kachel { padding:20px; }
    .kachel-icon svg { width:48px; height:48px; }
    .kachel-text { font-size:16px; }
}

/* PREMIUM COUNTER */
.premium-counter { text-align:center; margin-top:40px; }
.countdown-wrapper {
    background: rgba(255,255,255,0.05);
    border: 2px solid #d4af37;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin:0 auto;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(212,175,55,0.25);
}
.counter-box {
    background:#3a368f;
    padding:40px 30px;
    border-radius:20px;
    border:3px solid #d4af37;
    /*max-width:600px;*/
    margin:0 auto;
    box-shadow:0 0 25px rgba(212,175,55,0.35);
    animation:glowPulse 4s infinite ease-in-out;
}
@keyframes glowPulse {
    0% { box-shadow:0 0 15px rgba(212,175,55,0.25); }
    50% { box-shadow:0 0 35px rgba(212,175,55,0.55); }
    100% { box-shadow:0 0 15px rgba(212,175,55,0.25); }
}

.cd-box {
    background: rgba(255,255,255,0.08);
    padding: 12px 10px;
    border-radius: 8px;
    width: 70px;
    text-align: center;
}

.cd-number {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}

.cd-label {
    font-size: 11px;
    color: #ccc;
    margin-top: 4px;
}


/* Dein bestehender Counter */
.counter-icon {
    background:#2d2980;
    padding:20px;
    border-radius:100%;
    width:110px;
    height:110px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 0 20px rgba(212,175,55,0.4);
}


/* Beide Zeiger drehen um die Mitte */
.counter-icon svg line {
    transform-origin: 30px 30px;
}

/* Stundenzeiger – langsamer */
.hour-hand {
    animation: rotateHour 12s linear infinite;
}

/* Minutenzeiger – schneller */
.minute-hand {
    animation: rotateMinute 4s linear infinite;
}

/* Keyframes */
@keyframes rotateHour {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes rotateMinute {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


.counter-title {
    color:#d4af37;
    font-size:28px;
    margin-bottom:15px;
    text-transform:uppercase;
}

.countdown-display {
    font-size:1.3em;
    font-weight:700;
    letter-spacing:2px;
}

.countdown-date {
    color:#ffffff;
    font-size:18px;
}

@media (min-width:550px) {
    section .countdown-wrapper {
        width: 70% !important;
    }
}


.zoom-hinweis {
    margin-top:15px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    opacity:0.85;
    font-size:14px;
    color:#d4af37;
}

.zoom-logo {
    width:90px;
    opacity:0.9;
}

.zoom-link {
    color:#d4af37;
    font-weight:600;
    text-decoration:none;
    border-bottom:1px solid rgba(212,175,55,0.4);
    padding-bottom:2px;
}

.zoom-link:hover {
    opacity:1;
    border-bottom-color:#d4af37;
}


/* GRID */
.next-dates-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:12px;
    margin:20px 0;
}

@media (max-width: 550px) {
    .next-dates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* WRAPPER hält die Größe stabil */
.next-date-wrapper {
    position: relative;
    overflow: visible;
}

/* TILE */
.next-date-tile {
    background:#ffffff10;
    border:1px solid #d4af3740;
    padding:12px;
    border-radius:10px;
    text-align:center;
    font-size:clamp(0.75rem, 1.5vw, 0.95rem);
    color:#e5e5e5;
    backdrop-filter:blur(4px);

    /* Hover-Animation wie btn-primary */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
    transform-origin: center center;
    will-change: transform;
    position: relative;
    z-index: 1;
}

/* TEXT */
.next-date-tile strong {
    color:#d4af37;
    font-size:0.95rem;
}

/* HINT */
.next-dates-hint {
    margin-top:10px;
    font-size:clamp(0.75rem, 1.4vw, 0.9rem);
    opacity:0.85;
    line-height:1.3;
}

/* HOVER — exakt wie btn-primary pulse-btn open-form */
.next-date-tile:hover {
    transform: scale(1.06) translateY(-1px);
    border: 2px solid #d4af37;
    box-shadow: 0 8px 18px rgba(212,175,55,0.35);
    z-index: 5;

}


/* LIVE BADGE – Gold + Glow Pulse */
.live-badge {
    position:absolute;
    top:-15px;
    right:-15px;
    background:#d4af37;
    color:#0b0b0b;
    font-weight:700;
    font-size:14px;
    padding:6px 12px;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:8px;
    box-shadow:0 0 15px rgba(212,175,55,0.5);
    animation:liveGlow 1.6s infinite ease-in-out;
}

/* Gold Glow Animation */
@keyframes liveGlow {
    0%   { box-shadow:0 0 10px rgba(212,175,55,0.3); transform:scale(1); }
    50%  { box-shadow:0 0 28px rgba(212,175,55,0.8); transform:scale(1.06); }
    100% { box-shadow:0 0 10px rgba(212,175,55,0.3); transform:scale(1); }
}

/* Pulsierender roter Kreis */
.live-dot {
    width:12px;
    height:12px;
    background:#ff0000;
    border-radius:50%;
    display:inline-block;
    animation:pulseDot 1.2s infinite ease-in-out;
}

/* Dot Pulse Animation */
@keyframes pulseDot {
    0%   { transform:scale(1); opacity:1; }
    50%  { transform:scale(1.8); opacity:0.4; }
    100% { transform:scale(1); opacity:1; }
}


/* ACCORDION */
.accordion {
    background:#3a368f;
    border-left:4px solid #d4af37;
    border-radius:10px;
    margin-bottom:20px;
}
.accordion-header {
    padding:20px;
    font-size:19px;
    font-weight:600;
    cursor:pointer;
    position:relative;
}
.accordion-header::after {
    content:"+";
    position:absolute;
    right:20px;
    font-size:24px;
    transition:0.3s;
}
.accordion.open .accordion-header::after { transform:rotate(45deg); }

.accordion-content {
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows 0.35s ease;
    background:#3f3aa0;
}
.accordion.open .accordion-content { grid-template-rows:1fr; }

.accordion-inner {
    overflow:hidden;
    padding:0 20px;
    font-size:18px;
    line-height:1.7;
}
.accordion.open .accordion-inner {
    padding:20px 20px 30px 30px;
}
/* DIGITALE VISITENKARTE */
.business-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 20px;
}

.business-card-inner {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: #3a368f;
    padding: 50px;
    border-radius: 22px;
    border-left: 6px solid #d4af37;
    box-shadow: 0 0 35px rgba(0,0,0,0.35);
}

/* Bild */
.bc-image {
    width: 240px;
    height: 240px;
    border-radius: 100%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(212,175,55,0.4);
}

/* Titel */
.bc-title {
    color: #d4af37;
    font-size: 1.25em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.bc-name {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Rollen & Qualifikationen */
.bc-role p {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.bc-center {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikal zentriert */
    align-items: center;     /* horizontal zentriert */
    text-align: center;      /* Text ebenfalls zentriert */
}

/* Kontakt */
.bc-contact {
    margin-top: 20px;
    margin-bottom: 25px;
}

.bc-contact p {
    font-size: 17px;
    margin-bottom: 6px;
}

/* Button */
.bc-button {
    display: inline-block;
    padding: 14px 28px;
    background: #39B423;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s;
}

.bc-button:hover {
    background: #2f9a1d;
    transform: scale(1.06) translateY(-1px);
}

/* QR-Code */
.bc-qr-box {
    text-align: center;
}

.bc-qr {
    width: 200px;
    height: 200px;
    border: 15px solid;
	border-radius: 10px;
}

.bc-qr-hint {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.85;
}

/* MOBILE */
@media (max-width: 900px) {
    .business-card-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bc-image {
        margin: 0 auto;
    }

    .bc-qr-box {
        margin-top: 20px;
    }
}
/* FOOTER */
footer {
    background:#2b2770;
    text-align:center;
    padding:40px 20px;
    color:#cfcfcf;
    border-top:3px solid #4a46a5;
}

/* BACK TO TOP */
.back-to-top {
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    background:#d4af37;
    color:#2d2980;
    font-size:32px;
    font-weight:900;
    border-radius:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 0 20px rgba(212,175,55,0.55);
    transition:0.3s;
    opacity:0;
    pointer-events:none;
    z-index:9999;
}
.back-to-top:hover {
    transform:scale(1.12);
    box-shadow:0 0 35px rgba(212,175,55,0.85);
}