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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4f9;
    padding: 0;
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.lang-switch-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0,01);
    transition: all 0.2s ease-in-out;
}

.lang-switch-btn:hover {
    background-color: #dddddd;
    border-color: #999999;
    color: #000000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.lang-switch-btn:active {
    transform: translateY(1px);
}

@media (max-width: 480px) {
    .lang-switch-btn {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

header p .header-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bdc3c7;
}

header p .link {
    color: #bdc3c7;
    text-decoration: none;
    position: relative;
}

header p .link.active {
    color: white;
}

header p .link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;

    background-image: linear-gradient(to right, #bdc3c7 40%, transparent 0%);
    background-size: 6px 2px;
    background-repeat: repeat-x;

    background-image: 
        linear-gradient(to right, #bdc3c7 40%, transparent 0%),
        linear-gradient(to right, #dee3e7, #dee3e7);

    background-size: 6px 2px, 0% 2px;
    background-position: left bottom, center bottom;
    background-repeat: repeat-x, no-repeat;

    transition: background-size 0.4s ease, backgroud-image 0.4s ease;
}

header p .link:hover {
    color: #dee3e7;
}

header p .link:hover::after {
    background-size: 6px 2px, 100% 2px;
    background-image: 
        linear-gradient(to right, rgba(189, 193, 199, 0) 40%, transparent 0%),
        linear-gradient(to right, #dee3e7, #dee3e7);
}

header p .link.active::after {
    background-image: linear-gradient(to right, white, white);
    background-size: 100% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.freelancer {
    margin-left: 5px; 
    margin-right: 5px; 
    letter-spacing: 5px;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.intro-box {
    background-color: #fff;
    padding: 1.5rem;
    border-left: 5px solid #e74c3c;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #3c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}


.card {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    container-type: inline-size;
}

.card h3 {
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.card a {
    display: block;
    font-size: clamp(2px, 7cqw, 17px);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #2c3e50;
    color: #fff;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.quellen {
    padding-left: 5px;
    font-size: 15px;
}

.next {
    text-decoration: none;
    color: blue;
}


.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.email-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 4px 15px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: backgroud-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.email-btn:hover {
    background-color: #af3528;
}

.email-btn:active {
    transform: scale(0.98);
}

.money {
    color: #0671ec;
}

@media (max-width: 400px) {
    header p .link {
        font-size: 10px;
    }

    .freelancer {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .lang-switch-btn {
        font-size: 10px;
        padding: 4px 6px;
    }
}