/* STHupo Lokale Schriftart-Definition */
@font-face {
    font-family: "STHupo";
    src: url('fonts/STHupo.woff2') format('woff2'),
         url('fonts/STHupo.woff') format('woff'),
         url('fonts/STHupo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "STHupo", 'Helvetica Neue', 'Arial', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container for blocks */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Block */
.header-block {
    padding: 20px;
    text-align: right;
    position: relative;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Welcome Block */
.welcome-block {
    text-align: center;
    padding: 20px 20px;
    margin-top: 20px;
    position: relative;
    z-index: 100;
}

.welcome-title {
    font-size: 32px;
    font-weight: bold;
    color: #00ffcc;
    text-transform: none;
    margin-bottom: 60px;
    position: relative;
    z-index: 101;
}

/* Logo Block */
.logo-block {
    text-align: center;
    padding: 20px 20px;
    margin-bottom: 30px;
    margin-top: -20px;
}

.main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Rotating Background */
.rotating-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -10;
    width: 450px;
    height: 450px;
    pointer-events: none;
}

.background-reel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotate-clockwise 20s linear infinite;
    opacity: 0.3;
}

/* Rotation Animation */
@keyframes rotate-clockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-image {
    position: relative;
    z-index: 2;
}

.wolf-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(0, 255, 204, 0.8));
}

.logo-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.intro-text {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.brand-name {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-transform: capitalize;
}

/* Countdown Block */
.countdown-block {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 60px;
}

.countdown-intro {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    background: linear-gradient(135deg, #f0f0f0, #cccccc);
    color: #000000;
    font-size: 48px;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    min-width: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.time-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

.countdown-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.calendar-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 200px;
}

.calendar-link:hover {
    opacity: 0.8;
}

.calendar-info,
.follow-info {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.calendar-label,
.follow-label {
    color: #00ffcc;
    font-weight: bold;
}

.calendar-detail,
.follow-detail {
    color: #cccccc;
    font-size: 14px;
}

/* Quote Block */
.quote-block {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 60px;
}

.main-quote {
    font-size: 18px;
    color: #ffffff;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-subtitle {
    font-size: 24px;
    color: #00ffcc;
    font-weight: bold;
}

/* Contact Block */
.contact-block {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.contact-intro,
.contact-question {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}

.contact-name,
.contact-email,
.contact-write {
    margin-bottom: 10px;
}

.email-label,
.write-label {
    color: #ffffff;
    font-weight: bold;
}

.email-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Email Form Styles */
.email-form {
    margin: 20px auto;
    max-width: 280px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    text-align: center;
}

.form-input {
    width: 100%;
    max-width: 280px;
    padding: 12px;
    border: 2px solid #333333;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: "STHupo", 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.form-input::placeholder {
    color: #666666;
}

.form-submit {
    background: linear-gradient(135deg, #00ffcc, #00ccaa);
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: "STHupo", 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    margin-top: 10px;
    box-sizing: border-box;
}

.form-submit:hover {
    background: linear-gradient(135deg, #00ccaa, #009988);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    background: #333333;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Block */
.footer-block {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333333;
}

.footer-text {
    font-size: 14px;
    color: #cccccc;
}

/* Response Overlay */
.response-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.overlay-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #00ffcc;
    border-radius: 15px;
    padding: 30px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
    text-align: center;
}

.overlay-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.2s ease;
}

.overlay-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.overlay-message {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
    padding-right: 30px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Impressum Styles */
.impressum-block {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.impressum-container {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #00ffcc;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.impressum-title {
    font-size: 36px;
    color: #00ffcc;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.impressum-content h2 {
    color: #00ffcc;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333333;
    padding-bottom: 5px;
}

.impressum-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #cccccc;
}

.external-link,
.email-link {
    color: #00ffcc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.external-link:hover,
.email-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

.back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.back-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #00ffcc, #00ccaa);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.4);
}

/* Footer Links */
.footer-links {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333333;
}

.footer-link {
    color: #00ffcc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    margin: 0 15px;
}

.footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 28px;
    }
    
    .brand-name {
        font-size: 28px;
    }
    
    .time-number {
        font-size: 36px;
        padding: 15px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .countdown-details {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-block {
        flex-direction: column;
        text-align: center;
    }
    
    .main-quote {
        font-size: 16px;
    }
    
    .quote-subtitle {
        font-size: 20px;
    }
    
    .overlay-content {
        padding: 20px;
        margin: 20px;
    }
    
    .overlay-message {
        font-size: 14px;
        padding-right: 20px;
    }
    
    .impressum-block {
        padding: 20px 15px;
    }
    
    .impressum-container {
        padding: 25px;
    }
    
    .impressum-title {
        font-size: 28px;
    }
    
    .impressum-content h2 {
        font-size: 18px;
    }
    
    .impressum-content p {
        font-size: 14px;
    }
    
    .footer-links {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .footer-link {
        display: block;
        margin: 5px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .time-number {
        font-size: 24px;
        padding: 10px;
        min-width: 60px;
        min-height: 60px;
    }
    
    .time-label {
        font-size: 12px;
    }
    
    .wolf-logo {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }
}

/* Animation for countdown */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.time-number {
    animation: pulse 2s infinite;
}

/* Glow effect for accent color */
.welcome-title,
.quote-subtitle,
.email-link {
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}
