html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #FFFFFF;  /*#04164D;*/
    background-image: url('../Images/Sophistes-Himmel-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    font-family: "akzidenz-grotesk-next-pro", sans-serif;
    color: white;
}

/* H1 ---------------------------------------------------------------------------------------------*/
h1 {
    font-size: 56px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.h1Small{
    font-size: 36px;
}

@media (max-width: 1000px) {
    h1{
        font-size: clamp(28px, 5.6vw, 56px);
    }
    .h1Small{
        font-size: clamp(18px, 3.6vw, 36px);
    }
}

/* H2 ---------------------------------------------------------------------------------------------*/

h2 {
    font-size: 44px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.h2Small{
    font-size: 36px;
    letter-spacing: 0.05em;
}

@media (max-width: 1000px) {
    h2{
        font-size: clamp(22px, 4.4vw, 44px);
    }
    .h2Small{
        font-size: clamp(18px, 3.6vw, 36px);
    }
}

/* H3 ---------------------------------------------------------------------------------------------*/

h3 {
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

@media (max-width: 1000px) {
    h3{
        font-size: clamp(18px, 3vw, 30px);
    }
}

/* P ---------------------------------------------------------------------------------------------*/

p{
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.small {
    font-size: 30px;
}

.pList {
    margin: 0;
}

@media (max-width: 1000px) {
    P{
        font-size: clamp(18px, 3.6vw, 36px);
    }
    .small {
        font-size: clamp(18px, 3vw, 30px);
    }
}

/* ul ---------------------------------------------------------------------------------------------*/

ul {
    margin: 0;
}

/* li ---------------------------------------------------------------------------------------------*/

li {
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.small {
    font-size: 30px;
}

@media (max-width: 1000px) {
    li {
      font-size: clamp(18px, 3vw, 30px);
  }
  .small {
      font-size: clamp(18px, 3vw, 30px);
  }
}

/* a ---------------------------------------------------------------------------------------------*/

a {
    font-weight: normal;
    color: #FFFFFF;
    text-decoration: underline;
}

/* Logo ---------------------------------------------------------------------------------------------*/

.logo-image {
    max-height: 40px;   /* nie höher als 40px */
    max-width: 60vw;    /* nie breiter als 60% der Viewportbreite */
    height: auto;       /* Höhe passt sich an die Breite an */
    width: auto;        /* Breite bleibt im Seitenverhältnis */
    display: block;
    padding-bottom: 14px;
}

/* Menu ---------------------------------------------------------------------------------------------*/

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.menu-inner {
    max-width: 1000px; /* exakt wie deine .box */
    margin: 0 auto;    /* zentriert */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;       /* wichtig, damit flex funktioniert */
}

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

.menu-links a {
    font-size: 20px;
    text-decoration: none;
    font-weight: normal;
    color: #FFFFFF;
    letter-spacing: 2px;
}

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

.menu-links a:hover {
    color: #FFFFFF;
}

/* Burgermenu ---------------------------------------------------------------------------------------------*/

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-bottom: 10px;
}

.burger div {
    width: 40px;
    height: 5px;
    background-color: #FFFFFF;
}

@media (max-width: 1000px) {
    .menu-links {
        position: absolute;
        background-image: url('../Images/Sophistes-Himmel-2.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom right;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #04164D;
        flex-direction: column;
        display: none;
        font-size: 36px;
        font-weight: normal;
    }

    .menu-links a{
        text-decoration: none;
        font-weight: normal;
        color: #FFFFFF;
        font-size: 26px;
        padding-left: 40px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .menu-links.open {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

/* Main ---------------------------------------------------------------------------------------------*/

main {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 130px;    
    bottom: 150px; 
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 0 20px;
}

/* Box ---------------------------------------------------------------------------------------------*/

.box {
    max-width: 1000px;
    width: 100%;
    align-items: normal;
    margin-bottom: 100px;
    box-sizing: border-box;
    padding: 0;
}

/* Footer ---------------------------------------------------------------------------------------------*/

.footer {
    height: 80px;
    padding: 10px 10px;
    text-align: right;
    margin-top: 10px;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-image: url('../Images/Sophistes-Wasser.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.footer-inner {
    max-width: 1000px; /* exakt wie deine .box */
    margin: 0 auto;    /* zentriert */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;       /* wichtig, damit flex funktioniert */
}

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

.footer-links a:hover {
    text-decoration: none;
}

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

@media (max-width: 1000px) {
    .footer-inner {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    .footer {
        text-align: center;
    }

    .footer-links a {
        font-size: clamp(9px, 1.8vw, 18px);
    }
}

/* Circle ---------------------------------------------------------------------------------------------*/

.circle {
    width: 200px;
    height: 200px;
    border: 12px solid white;
    border-radius: 50%;        /* macht ihn rund */
    background-color: transparent; /* innen durchsichtig */
    display: flex;             /* zum Zentrieren der Zahl */
    justify-content: center;
    align-items: center;
    color: white;              /* Textfarbe */
    font-size: 140px;         /* Zahlengröße */
    font-weight: normal;
    box-sizing: border-box;    /* damit der Rand im Durchmesser enthalten ist */
}

@media (max-width: 1000px) {
    .circle {
        width: clamp(100px, 20vw, 200px);
        height: clamp(100px, 20vw, 200px);
        border: clamp(6px, 1.2vw, 12px) solid white;
        font-size: clamp(70px, 14vw, 140px);        
    }
}

/* Circle ---------------------------------------------------------------------------------------------*/

.circleSmall {
    width: 50px;
    height: 50px;
    border: 4px solid white;
    border-radius: 50%;        /* macht ihn rund */
    background-color: transparent; /* innen durchsichtig */
    display: flex;             /* zum Zentrieren der Zahl */
    justify-content: center;
    align-items: center;
    color: #FFFFFF;              /* Textfarbe */
    font-size: 30px;          /* Zahlengröße */
    font-weight: normal;
    box-sizing: border-box;    /* damit der Rand im Durchmesser enthalten ist */
}

@media (max-width: 1000px) {
    .circleSmall {
        width: clamp(25px, 5vw, 50px);
        height: clamp(25px, 5vw, 50px);
        border: clamp(2px, 0.4vw, 4px) solid white;
        font-size: clamp(15px, 3vw, 30px);          /* Zahlengröße */
    }
}

/* circle-row ---------------------------------------------------------------------------------------------*/

.circle-row {
    display: flex;
    flex-direction: row;   /* nebeneinander */
    align-items: center;   /* vertikal mittig */
    gap: 20px;             /* Abstand zwischen Kreis und Text */
    position: relative;    /* für stabile Platzierung */
    z-index: 1;            /* sicher über dem Hintergrund */
    margin-bottom: 8px;
}

.circle-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.circle-text{
    padding: 0;
    margin: 0;
}

.circleTextSmall{
    padding: 0;
    margin: 0;
}


@media (max-width: 1000px) {
    .circle-row {
        gap: clamp(10px, 2vw, 20px);        
        margin-bottom: clamp(4px, 0.8vw, 8px);
    }
}