/* Basis-Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1e2a47;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #052e54;
    position: sticky;
    top: 0;
    z-index: 10;
    gap: 30px;
    width: 100%;
}

.left-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-grow: 1;
}

.right-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

/* Animations */
h1.storno {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 30px;
    animation: fadeInText 1.5s ease-out, slideInText 1s ease-out;
}

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInText {
    from { transform: translateX(-50px); }
    to { transform: translateX(0); }
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInForm 1s ease-out, slideUpForm 1.5s ease-out;
}

@keyframes fadeInForm {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpForm {
    from { transform: translateY(50px); }
    to { transform: translateY(0); }
}

input[type="text"] {
    width: 100%;
    max-width: 450px;
    padding: 18px;
    font-size: 18px;
    border: 2px solid #bdc3c7;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #34495e;
    transition: all 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus {
    border-color: #1abc9c;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
    outline: none;
    transform: scale(1.05);
    animation: pulseInput 1s ease-in-out infinite;
}

@keyframes pulseInput {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1.05); }
}

button.storno-button {
    background-color: #3498db;
    color: #ffffff;
    padding: 18px 36px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 25px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

button.storno-button:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
    filter: brightness(1.1);
}

button.storno-button:active {
    transform: translateY(3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

button.storno-button span {
    position: relative;
    z-index: 1;
}

.stornoaccept, .stornoerror {
    font-size: 22px;
    text-align: center;
    font-weight: 600;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInFeedback 1s ease-out forwards, bounceFeedback 1s ease-in-out forwards;
}

.stornoaccept { color: #2ecc71; }
.stornoerror { color: #e74c3c; }

@keyframes fadeInFeedback {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceFeedback {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.container p {
    color: #555;
    font-size: 14px;
    margin-top: 20px;
    font-style: italic;
    transition: color 0.3s ease;
}

input[type="text"]:hover, button.storno-button:hover {
    transform: scale(1.05);
}

input[type="text"]:focus, button.storno-button:active {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar a {
        font-size: 16px;
        margin-right: 20px;
    }

    .container {
        margin: 30px 10px;
        padding: 25px;
    }

    h1.storno {
        font-size: 32px;
    }

    input[type="text"] {
        max-width: 100%;
    }

    button.storno-button {
        padding: 14px 30px;
    }

    .container p {
        font-size: 12px;
    }
}

footer {
    background-color: #1e2a47;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links a, .footer-social a {
    color: #b0b7c2;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
    color: #38bdf8;
}

.footer-social i {
    font-size: 20px;
}

.hockey-stick {
    display: inline-block;
    margin-left: 15px;
}

.hockey-stick i {
    font-size: 40px;
    vertical-align: middle;
    color: #000;
}

.impressum-section {
    padding: 30px 20px;
    background-color: #f1f1f1;
    color: #444;
}

.impressum-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.impressum-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.6;
}

.impressum-content p {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #4FD1C5;
    transform: scale(1.1);
}

.social-icon.tiktok {
    background-color: #000;
}

.social-icon.instagram {
    background-color: #E4405F;
}