/* Konstante definieren */
:root {
    --sophistes-White: #FFFFFF;
    --sophistes-Blue: #1A2744;
    --sophistes-Blue-Light: #8D93A2;
    --sophistes-Gray: #444444;
    --sophistes-Gray-Light: #C0C0C0;
    --sophistes-Background: #F0F0F0;

    --debug-Red: #FF0000;
}

.text-2-columns {
    column-count: 2;
    column-gap: 40px;
}

@media (max-width: 600px) {
    /* Mobile */
    .text-2-columns {
        column-count: 1;
    }
}

/* textcolor ---------------------------------------------------------------------------------------------*/
.textcolor-white{
    color: var(--sophistes-White);
}

.textcolor-blue{
    color: var(--sophistes-Blue);
}

.textcolor-gray{
    color: var(--sophistes-Gray);
}

.textcolor-gray-light{
    color: var(--sophistes-Gray-Light);
}

/* backgroundcolor ---------------------------------------------------------------------------------------------*/
.backgroundcolor-white{
    background-color: var(--sophistes-White);
}

.backgroundcolor-blue{
    background-color: var(--sophistes-Blue);
}

.backgroundcolor-blue-light{
    background-color: var(--sophistes-Blue-Light);
}

.backgroundcolor-gray{
    background-color: var(--sophistes-Gray);
}

.backgroundcolor-gray-light{
    background-color: var(--sophistes-Gray-Light);
}

.backgroundcolor-debug-red{
    background-color: var(--debug-Red);
}

/* Display Flag ---------------------------------------------------------------------------------------------*/
/* Sichtbar / Unsichtbar abhängig ob es die mobile oder desktop Darstellung ist                              */
.display-desktop{
    display: inline;
}

.display-mobile{
    display: none;
}

/* Mobile */
@media (max-width: 1000px) {
    .display-desktop{
        display: none;
    }

    .display-mobile{
        display: inline;
    }
}

/* HTML ---------------------------------------------------------------------------------------------*/
html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Body ---------------------------------------------------------------------------------------------*/
body {
    background-color: var(--sophistes-White);  
    font-family: "akzidenz-grotesk-next-pro", sans-serif;  
    margin: 0;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Zitat ---------------------------------------------------------------------------------------------*/
.zitat_text {
    font-family: "akzidenz-grotesk-next-pro", sans-serif;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.zitat_urheber {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: right;
}

/* box-head ---------------------------------------------------------------------------------------------*/
.box-head {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 20px;
    position: relative;
    left: -40px;
    top: -10px;
}

/* Mobile */
@media (max-width: 1000px) {
    .box-head {
        left: -10px;
    }
}

/* P Head ---------------------------------------------------------------------------------------------*/
.head {
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: 0.05em;
    text-align: left;
    margin-top: 0;    
    margin-bottom: 0; 
}

/* P Small ---------------------------------------------------------------------------------------------*/
.small {
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-align: left;
    margin-top: 0;
    margin-bottom: 1.0em;
}

.small:last-child {
    margin-bottom: 0;
}

/* a ---------------------------------------------------------------------------------------------*/
a {
    font-weight: normal;
    text-decoration: underline;
}

/* Logo ---------------------------------------------------------------------------------------------*/
.logo-image {
    max-height: 40px;  
    max-width: 60vw;    
    height: auto;       
    width: auto;        
    display: block;
    padding-bottom: 14px;
}

/* Menu ---------------------------------------------------------------------------------------------*/
.menu {
    background-color: var(--sophistes-Background);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-inner {
    background-color: var(--sophistes-Blue);
    max-width: 1000px; 
    margin: 0 auto;    
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; 
}

.menu-links {
    display: flex;
    padding-top: 14px;
    padding-bottom: 0;
}

.menu-links a {
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
    color: var(--sophistes-White);
    letter-spacing: 2px;
}

@media(min-width: 1000px){  
    .menu-links a:nth-last-child(n+4)::after {
        content: "|";
        margin: 0 10px;
        color: #FFFFFF;
    }
}

.menu-links a:hover {
    color: var(--sophistes-White);
}

@media (max-width: 1000px){ /* Mobile */
    .menu-links {
        display: none;
    }
    
    .menu-links a{
        text-decoration: none;
        font-size: 22px;
        font-weight: normal;
        color: var(--sophistes-Blue);
        margin-bottom: 1.2em;
    }

    .menu-links a:hover {
        color: var(--sophistes-Blue);
    }

    .menu-links.open {
        display: flex;
        background-color: var(--sophistes-Background);
        position: absolute;
        top: 91px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px); /* ← MAGIC */
        max-width: 960px;
        padding: 30px 50px 10px 50px;
        box-sizing: border-box;
        flex-direction: column;
        font-size: 20px;
        font-weight: normal;
        border-left: 2px solid var(--sophistes-Blue);
        border-right: 2px solid var(--sophistes-Blue);
        border-bottom: 2px solid var(--sophistes-Blue);
        border-radius: 0 0 20px 20px;
    }
}

/* Burgermenu ---------------------------------------------------------------------------------------------*/
.burger {
    display: none;
}

.burger div {
    width: 40px;
    height: 5px;
    background-color: var(--sophistes-White);
}

/* Mobile */
@media (max-width: 1000px){  
    .burger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        margin-bottom: 10px;
    }
}

/* Main ---------------------------------------------------------------------------------------------*/
main {
    background-color: var(--sophistes-Background);
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    position: relative;
    left: 0;
    right: 0;
    overflow-y: visible;
    padding: 0;
}

/* Menuline ---------------------------------------------------------------------------------------------*/
.boxMenuLine
{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    box-sizing: border-box;
    padding: 0 20px 0 20px;
    height: 10px;
}

.menuLine {
    width: 100%;
    max-width: 1000px;
    height: 1px;
    padding: 0;
    align-self: stretch;
}

/* Menuine ---------------------------------------------------------------------------------------------*/
.boxShortline
{
    width: 100%;
    max-width: 1000px;
    padding: 0;
    height: 60px;
    display: flex;            
    align-items: center;      
    justify-content: center;
}

.shortline {
    height: 1px;
    width: 100%;
    max-width: 1000px;
    padding: 0;
    align-self: center;
    justify-self: center;
}

/* Box ---------------------------------------------------------------------------------------------*/
.box {
    width: 100%;
    max-width: 1000px;
    align-items: normal;
    box-sizing: border-box;
    padding: 20px 60px 60px 60px;
}

@media (max-width: 1000px) {
    /* Mobile */
    .box {
        padding: 20px 30px 60px 30px;
    }
}

.box-columns{
    display: flex;
    flex-wrap: wrap;  
    row-gap: 10px;
    column-gap: 40px;
}
.box-columns-gap-withhead{
    row-gap: 10px;
    column-gap: 80px;
}

.box-2-boxes-Inside {
    flex: 1 1 400px;     /*darf wachsen, schrumpfen mindestgröße */
    box-sizing: border-box;
    padding: 0;
}

.box-3-boxes-Inside {
    flex: 1 1 200px;     /*darf wachsen, schrumpfen mindestgröße */
    box-sizing: border-box;
    padding: 0;
}

/* BoxZitat ---------------------------------------------------------------------------------------------*/
.boxZitat {
    max-width: 666px;
    width: 100%;
    align-items: normal;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Footer ---------------------------------------------------------------------------------------------*/
.footer {
    height: 80px;
    padding: 0;
    align-items: center;
    text-align: right;
    margin-top: 10px;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--sophistes-Background);
}

.footer-inner {
    background-color: var(--sophistes-Blue-Light);
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;   
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    width: 100%;       
}

.footer-image{
    height: 35px;
    width: auto;
    margin: 0;
    padding: 0;
    display: block;       
}

.footer-links{
    display: flex;         
    align-items: center;     
    gap: 0;               
}

.footer-links a {
    color: white;
    vertical-align: text-bottom;
    text-decoration: none;
    font-weight: normal;
    margin: 0 10px;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    text-decoration: none;
    display:inline;
    align-items:center;
}

.footer-links span {
    color: #FFFFFF;
    margin: 0 5px;
}