/* Lokale Fonts laden */
@font-face {
    font-family: 'HelveticaNeueLTStd-LtCn';
    src: url('../img/33BAF1_0_0.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueLTStd-BdCn';
    src: url('../img/33BAF1_1_0.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: HelveticaNeueLTStd-LtCn, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #333333;
    font-size: 18px;
    line-height: 1.5em;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding-top: 85px;
}

/* Header im step one Stil */
.header {
    background: #4b4b4b;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    width: 100%;
    height: 85px;
    padding-top: 20px;
    min-height: 50px;
    border: none;
}

.header-content {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 338px;
}

.nav-links {
    display: flex;
    gap: 25px;
    color: white;
    font-family: HelveticaNeueLTStd-BdCn;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.5em;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #f9ea45;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.hero-section {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 18px;
    color: #6b6b6d;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Quiz Section */
.content-card {
    background: white;
    padding: 60px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.quiz-section {
    display: block;
}

.quiz-section.hidden {
    display: none;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6b6b6d;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 40px;
}

.question h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option {
    padding: 20px;
    background: #f8f8f8;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.option:hover {
    background: #f0f0f0;
    border-color: #f9ea45;
}

.option.selected {
    background: #f9ea45;
    color: #333333;
    border-color: #f9ea45;
}

/* Buttons */
.btn-primary {
    background: #f9ea45;
    color: #333333;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary:hover:not(:disabled) {
    background: #f4e32e;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Professional Wheel Section */
.wheel-section {
    display: none;
}

.wheel-section.active {
    display: block;
}

.wheel-container {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.wheel-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg at 50% 50%, #f9ea45 0deg, transparent 10deg, transparent 20deg);
    opacity: 0.03;
    animation: rotateBackground 60s linear infinite;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-wrapper {
    position: relative;
    margin: 40px auto;
    width: 650px;
    height: 650px;
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
    position: relative;
    z-index: 2;
}

/* Premium Spin Button */
.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #f9ea45 0%, #f4e32e 50%, #eedd1a 100%);
    color: #333333;
    border: 5px solid #333333;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 40px rgba(249, 234, 69, 0.5),
                inset 0 2px 4px rgba(255,255,255,0.5),
                inset 0 -3px 8px rgba(0,0,0,0.2);
}

.spin-button:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    background: linear-gradient(145deg, #fdf24d 0%, #f9ea45 50%, #f4e32e 100%);
    box-shadow: 0 15px 50px rgba(249, 234, 69, 0.7),
                inset 0 2px 4px rgba(255,255,255,0.5),
                inset 0 -3px 8px rgba(0,0,0,0.2);
}

.spin-button:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.95);
}

.spin-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #6b6b6d;
}

/* Professional Arrow Design */
.arrow-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
}

.arrow {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 50px solid #f9ea45;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.arrow::before {
    content: '';
    position: absolute;
    left: -22px;
    top: -47px;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 44px solid #f4e32e;
}

.arrow::after {
    content: '▼';
    position: absolute;
    top: -45px;
    left: -8px;
    color: #333333;
    font-size: 20px;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Decorative Elements */
.wheel-lights {
    display: none;
}

.wheel-light {
    display: none;
}

/* Contact Form */
.contact-form {
    display: none;
    background: white;
    padding: 60px;
    margin-top: 30px;
}

.contact-form.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #f9ea45;
}

/* Messages */
.message {
    background: white;
    border-left: 4px solid #f9ea45;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.message.error {
    border-left-color: #e53e3e;
}

.message.success {
    border-left-color: #38a169;
}

.message.info {
    border-left-color: #3182ce;
}

.date-notice {
    background: #333333;
    color: white;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.date-notice h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

/* Winner Display - Modal/Popup */
.winner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.winner-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.winner-display {
    background: linear-gradient(135deg, #f9ea45 0%, #f4e32e 100%);
    color: #333333;
    padding: 50px 60px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    animation: popIn 0.4s ease 0.2s both;
    position: relative;
}

.winner-display h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.winner-display p {
    font-size: 18px;
    font-weight: 500;
}

.winner-display .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.winner-display .close-btn:hover {
    opacity: 1;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #f9ea45;
    transform: scale(1.1);
}

/* Footer - step one Stil */
.footer {
    background: #4b4b4b;
    color: white;
    margin-top: 80px;
    font-family: HelveticaNeueLTStd-LtCn, sans-serif;
    position: relative;
}

.footer .mapOverlay {
    padding: 30px 0 50px 0px;
    position: relative;
}

.footer .mail-icon {
    position: absolute;
    bottom: 15px;
    left: 37%;
    width: 200px;
    opacity: 1;
    transform: rotate(-11deg);
}

.footer .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer .col {
    padding: 0 15px;
}

.footer .col.address {
    flex: 0 0 300px;
}

.footer .col.social {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-top: 55px;
}

.footer .col.brands {
    flex: 0 0 280px;
}

.footer h2 {
    font-family: HelveticaNeueLTStd-LtCn, sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #f9ea45;
}

.footer .address a.mail {
    text-decoration: underline;
}

.footer .socialmedia_list {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.footer .socialmedia_list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    transition: all 0.2s;
}

.footer .socialmedia_list li a:hover {
    border-color: #f9ea45;
}

.footer .socialmedia_list li a:hover img {
    fill: #f9ea45;
}

.footer .socialmedia_list img {
    width: 80px;
    height: 80px;
}

.footer .brands-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
}

.footer .brand-logo {
    display: block;
    margin-bottom: 20px;
}

.footer .brand-logo img {
    max-height: 40px;
}

.footer .brand-logo.stepone img {
    max-height: 200px;
    width: 170px;
}

.footer .brand-logo.Wutzler img {
    max-height: 200px;
}

.footer .brand-tagline {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

.footer .copy {
    background: #f9ea45;
    padding: 15px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
}

.footer .copy .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer .copy ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer .copy ul a {
    color: #333333;
}

.footer .copy span {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    h1 {
        font-size: 32px;
    }

    .content-card {
        padding: 30px 20px;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .wheel-wrapper {
        width: 320px;
        height: 320px;
    }

    #wheelCanvas {
        transform: scale(0.7);
        transform-origin: center;
    }

    .wheel-container {
        padding: 40px 20px;
    }

    .spin-button {
        width: 90px;
        height: 90px;
        font-size: 14px;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        height: 30px;
    }
}
