/* Fonts */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 300 800;
    font-stretch: 75% 100%;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    src: url('../fonts/fa-brands-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    background-color: #1d3147;
    color: #ffffff;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover {
    text-decoration-style: dashed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.25rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

h3 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 1rem;
}

h3.hero {
    font-size: 2.0em;
    font-weight: 300;
    line-height: 1.3;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Section Utilities */
.section-header {
    padding-top: 1em;
    padding-bottom: 0;
}

.section-spacing {
    padding-top: 0.7em;
}

.highlighted-section {
    margin-top: 2em;
    background-color: #3a4e65;
    padding: 1.5em 2em;
    border-radius: 8px;
}

.cta-center {
    text-align: center;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 80px);
}

.alignwide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    padding-top: 2em;
    padding-bottom: 1em;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 80px);
}

.logo img {
    width: 200px;
    height: auto;
}

.language-switcher {
    display: flex;
    gap: 10px;
    list-style: none;
}

.language-switcher li {
    display: inline-block;
}

.language-switcher img {
    width: 18px;
    height: 12px;
    border: 1px solid #3a4e65;
}

/* Main Content */
main {
    padding: 1em 0;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 80px);
}

/* Imprint Content */
.imprint-content {
    max-width: 650px;
}

.imprint-content h3 {
    margin-top: 2em;
}

.imprint-content h3:first-child {
    margin-top: 0;
}

/* Two Column Layout */
.two-columns {
    display: flex;
    gap: 2rem;
    margin-top: 1em;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 300px;
}

.column img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Fast Facts Box */


.fast-facts-box ul {
    padding-left: 1.2em;
    margin-bottom: 1.5rem;
    list-style-position: outside;
}

.fast-facts-box ul li {
    margin-bottom: 0.5rem;
}

/* Social Icons */
.social-icons {
    font-size: 2em;
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.social-icons a {
    text-decoration: none;
}
.social-icon {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    font-style: normal;
}

.social-icon.linkedin::before {
    content: '\f08c'; /* LinkedIn icon */
}

.social-icon.xing::before {
    content: '\f168'; /* Xing icon */
}

.social-icon.github::before {
    content: '\f09b'; /* Github icon */
}

.social-icons a img.social-icon-svg {
    width: 1em;
    height: 1em;
    margin-bottom: 7px;
    vertical-align: middle;
    display: inline-block;
}

/* Button */
.button {
    display: inline-block;
    background-color: #ffffff;
    color: #1d3147;
    padding: 0.667em 1.333em;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.button:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* Footer */
footer {
    padding: 4em clamp(1.25rem, 5vw, 80px) 2em;
    max-width: 1000px;
    margin: 0 auto;
}

footer nav {
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Spacing utilities */
.mt-0 { margin-top: 0 !important; }
.mb-3 { margin-bottom: 15px !important; }
.mb-2rem { margin-bottom: 2rem !important; }
.no-top-margin { margin-top: 0 !important; }

/* Responsive */
@media (max-width: 767px) {
    h1 {
        font-size: 2.5rem;
    }

    h3.hero {
        font-size: 1.75em;
    }

    .two-columns {
        flex-direction: column;
    }

    .column {
        min-width: 100%;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
