/*
    CSS file - Moderne design for Jakob Rohde
*/

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

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

#header {
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    font-style: italic;
}

#nav {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

#menu {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    max-width: 1200px;
    display: flex;
}

.menuPunkt {
    flex: 1;
}

.menuPunkt a {
    display: block;
    color: #333;
    text-align: center;
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.menuPunkt a:hover {
    background-color: #e8f0fe;
    border-bottom-color: #2a5298;
    color: #2a5298;
}

.menuPunkt a.active {
    background-color: #e8f0fe;
    border-bottom-color: #2a5298;
    color: #2a5298;
}

#main-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 30px;
}

#section {
    flex: 2;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#section h2 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
}

#section h3 {
    color: #2a5298;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.3em;
}

#section p {
    text-align: justify;
    margin-bottom: 15px;
    color: #555;
}

#aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aside-box {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-box {
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
}

.info-box h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #ddd;
}

.info-box li:last-child {
    border-bottom: none;
}

#kontakt-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 40px auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

#kontakt-section h2 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

#kontakt-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(30, 60, 114, 0.3);
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 60, 114, 0.4);
}

#footer {
    width: 100%;
    margin-top: 0;
    padding: 25px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

#footer a {
    color: #b3d9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: white;
}

/* Responsivt design til mobil */
@media screen and (max-width: 768px) {
    #header h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 0.9em;
    }

    #menu {
        flex-wrap: wrap;
    }

    .menuPunkt {
        flex: 1 0 50%;
    }

    #main-container {
        flex-direction: column;
        gap: 20px;
        width: 95%;
    }

    #section {
        padding: 20px;
    }

    #section h2 {
        font-size: 1.5em;
    }

    #section h3 {
        font-size: 1.1em;
    }
}
