/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background:#2d2980;
    color:#fff;
    font-family:"Segoe UI", Arial, sans-serif;
}

a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

/* HEADER */
header {
    background:#3a368f;
    padding:30px 40px;
    border-bottom:3px solid #4a46a5;
    text-align:center;
}
header img { height:85px; }


.kachel {
    background:#3a368f;
    padding:25px;
    border-radius:14px;
    border-left:4px solid #d4af37;
    display:flex;
    gap:20px;
    transition:0.25s;
}
.kachel-text {
    font-size:18px;
    line-height:1.6;
}


/* 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-product {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 1em;
}


/* 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; }
.hero-container {
        height: auto !important;
    }
    .hero-product {
        max-width: 100%;
        height: auto !important;
    }

}
@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: 15px; /* statt 30px */
    text-transform:uppercase;
}

.section ul {
    margin-top: 0;
    margin-bottom: 35px;
    padding-left: 22px;
}

.section ul li {
    margin-bottom: 10px;
}


/* 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;
    }
}
/* FORMULAR – LEAD PAGE */
#kontakt {
    max-width: 800px;
    margin: 0 auto;
}

.lead-form {
    max-width: 600px;
    margin: 30px auto 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Labels */
.lead-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Inputs & Textarea */
.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: #0099ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,153,255,0.15);
    outline: none;
}

.lead-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Checkbox */
.lead-form label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.2);
}

/* Submit Button */
.lead-form button.btn {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #0099ff;
    color: #fff;
    transition: background 0.2s ease, transform 0.1s ease;
}

.lead-form button.btn:hover {
    background: #007acc;
}

.lead-form button.btn:active {
    transform: scale(0.98);
}

/* MOBILE OPTIMIERUNG */
@media (max-width: 600px) {
    .lead-form {
        padding: 20px;
    }

    .lead-form button.btn {
        font-size: 16px;
    }
}



/* FOOTER */
footer {
    background:#2b2770;
    text-align:center;
    padding:40px 20px;
    color:#cfcfcf;
    border-top:3px solid #4a46a5;
}

/* Footer */
.fa-fw {
    font-size: clamp(1.45rem, 1.4rem + 0.3vw, 1.55rem);
}
div#footertext {
    font-size: smaller;
}
	#footer .inner {
		padding: 5em 0 3em 0 ;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-direction: row;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-moz-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin: 0 auto;
		width: 55em;
	}
		#footer .inner > * {
			width: 100%;
		}
		/*
		#footer .inner form {
			margin: 0 3em 0 0;
			width: calc(50% - 1.5em);
		}
		#footer .inner .contact {
			width: calc(50% - 1.5em);
		}
		*/
		#footer .inner .copyright {
			border-top: solid 2px rgba(255, 255, 255, 0.25);
			list-style: none;
			margin: 4em 0 2em 0;
			padding: 2em 0 0 0;
			width: 100%;
		}
			#footer .inner .copyright li {
				color: rgba(255, 255, 255, 0.85);
				display: inline-block;
				font-size: 1.0em;
				line-height: 1;
				margin-left: 1em;
				padding: 0;
				padding-left: 1em;
			}
				#footer .inner .copyright li:first-child {
					border-left: 0;
					margin-left: 0;
					padding-left: 0;
					vertical-align: middle;
				}
				#footer .inner .copyright li a {
					color: inherit;
					text-decoration: none;
				}
				#footer .inner .copyright li a:hover {
					color: inherit;
					text-decoration: none;
				}
	@media screen and (max-width: 1280px) {
		#footer {
			background-color: #2d2980;
		/*background-image: linear-gradient(to top, rgba(45, 41, 128, 0.8), rgba(45, 41, 128, 0.8)), url("../../images/bg.jpg");*/
			background-size: auto, cover;
			background-position: center, center;
			margin-top: -6.5em;
			padding-top: 6.5em;
		}
	}
	@media screen and (max-width: 980px) {
		#footer {
			margin-top: -4.75em;
			padding-top: 4.75em;
		}
			#footer .inner {
				padding: 3em 3em 1em 3em ;
				display: block;
				width: 100%;
			}
				#footer .inner form {
					width: 100%;
					margin: 0 0 4em 0;
				}
				#footer .inner .contact {
					width: 100%;
					margin: 0 0 4em 0;
				}
				#footer .inner .copyright {
					margin: 4em 0 2em 0;
				}
	}
	@media screen and (max-width: 736px) {
		#footer {
			margin-top: -2.5em;
			padding-top: 2.5em;
		}
			#footer .inner {
				padding: 2em 2em 0.1em 2em ;
			}
				#footer .inner form {
					margin: 0 0 3em 0;
				}
				#footer .inner .contact {
					margin: 0 0 3em 0;
				}
	}
	@media screen and (max-width: 480px) {
		#footer .inner .copyright li {
			border-left: 0;
			display: block;
			margin: 1em 0 0 0;
			padding-left: 0;
		}
			#footer .inner .copyright li:first-child {
				margin-top: 0;
			}
	}
	@media screen and (max-width: 360px) {
		#footer .inner {
			padding: 2em 1.5em 0.1em 1.5em ;
		}
	}


/* 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);
}
.headerundercover { background-position: center;
  background-repeat: no-repeat;
  background-size: cover; background-image: url("https://michaelkraus.at/media/bg_blue.jpg?_t=1707907532");
	  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; color: #fff !important; padding-bottom: 20px; padding-top:10px;}


