

@font-face {
    font-family: 'museo-sans';
    src: url('../fonts/MuseoSans_100.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'museo-sans';
    src: url('../fonts/MuseoSans_300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'museo-sans';
    src: url('../fonts/MuseoSans_500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'museo-sans';
    src: url('../fonts/MuseoSans_700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'museo-sans';
    src: url('../fonts/MuseoSans_900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'eloquent';
    src: url('../fonts/EloquentJF-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


:root {
    --atz-blau: #04305e;
    --weiss: #ffffff;
    --atz-gelb: #ffed00;
    --atz-hell-blau: #E6EBEF;
    --atz-grau: #575756;
    --atz-dunkel-gelb: #ffed00;
    --verlauf-kreis: radial-gradient(circle, rgba(4,48,94,1) 0%, rgba(3,35,69,1) 67%, rgba(1,22,44,1) 100%);
}

::selection {
    color: var(--atz-grau);
    background: var(--atz-gelb);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--atz-blau);
  }

::-webkit-scrollbar-thumb {
    background: var(--atz-gelb);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--atz-dunkel-gelb);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'museo-sans';
}

body {
    background: var(--atz-blau);
    transition: background 1s ease-in-out;
    margin: 0 auto;
    overflow-x: hidden;
}

h1 {
    font-size: 7rem;
    line-height: 6.7rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

h2 {
    font-size: 3.052rem;
    line-height: 2.441rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

h3 {
    font-size: 2.441rem;
    line-height: 1.953rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

h4 {
    font-size: 1.953rem;
    line-height: 1.563rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

h5 {
    font-size: 1.563rem;
    line-height: 1.25rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

h6 {
    font-size: 1.25rem;
    line-height: 1rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

p {
    font-size: 1.2rem;
    line-height: 1.45rem;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--weiss);
}

.section-headline {
    font-size: 1.6rem;
    font-family: "eloquent-jf-pro", serif;
    line-height: 4.8rem;
    color: var(--atz-blau);
}


/* --------------- Sections --------------- */

section {
    margin: 0 auto;
    display: flex;
    width: 100%;
}


/*-------------------- Header AUFPASSEN BEI STYLE UPDATE - IST BEREITS IN NEW-STYLE.CSS DRIN --------------------*/

header {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 130px;
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: min(720px, 68vw);
}

.header-logo img {
    width: 100%;
    max-width: 110px;
}

.header-tagline {
    font-family: "museo-sans", sans-serif;
    font-size: clamp(0.75rem, 1.35vw, 1.15rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--weiss);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
    .header-tagline {
        display: none;
    }
}

.button-header {
    all: unset;
    cursor: pointer;
}

.icon {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    margin-right: -10px;
    aspect-ratio: 1;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 1002;
}

.burger-menu {
    position: fixed;
    right: 30px;
    top: 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgba(4, 48, 94, 0.5), rgba(4, 48, 94, 0.6));
    border-radius: 50px;
    outline: rgba(255, 255, 255, 0.2) 2px solid;
    /* ANFANG DER ÄNDERUNGEN */
    width: 80px;
    /* Von max-width zu width geändert */
    height: 80px;
    /* Von max-height zu height geändert */
    max-width: 600px;
    /* NEU: Feste Obergrenze */
    max-height: 800px;
    /* NEU: Feste Obergrenze */
    /* ENDE DER ÄNDERUNGEN */
    z-index: 1001;
    cursor: pointer;
    aspect-ratio: 1;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.burger-menu.open {
    cursor: default;
}

.burger-menu.open .icon {
    cursor: pointer;
}

nav {
    position: absolute;
    /* GEÄNDERT: Zurück zu 'absolute' */
    opacity: 0;
    visibility: hidden;
    width: 100%;
    padding: 60px 40px 0;
    top: 0;
    /* NEU: Positioniert am oberen Rand des Containers */
    left: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4;
}

nav ul li {
    font-size: 2.441rem;
    color: white;
    text-transform: uppercase;
}

nav ul li a {
    display: inline-block;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

nav ul li a::before {
    content: "";
    position: absolute;
    top: calc(50% + 2px);
    transform: translate(0%, -50%);
    width: 17px;
    height: 17px;
    display: inline-block;
    background-color: yellow;
    border-radius: 20px;
    margin-left: -40px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out;
}

nav ul li a:hover::before {
    margin-left: -30px;
    opacity: 1;
    transition-delay: 0.3s;
}

nav ul li a:hover {
    transform: translateX(30px);
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* NEU: Initiales Ausblenden der Link-Container */
.header-social-links,
.header-footer-links {
    display: flex;
    flex-direction: row;
    position: absolute;
    /* NEU: Nimmt Elemente aus dem Layout-Fluss */
    opacity: 0;
    visibility: hidden;
    width: 100%;
    padding: 0 40px;
    left: 0;
    bottom: 0;
}

/* NEU: Layout und Styling der Footer Links */
.header-footer-links {
    bottom: 30px;
    gap: 40px;
}

.header-social-links {
    bottom: 80px;
    gap: 80px;
}

.header-social-links svg {
    width: 25px;
    height: auto;
    aspect-ratio: 1/1;
    fill: white;
    transition: scale 0.3s;
}

.header-social-links svg:hover {
    scale: 1.25;
}

.header-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.header-footer-links a {
    font-size: 1rem;
}

.header-footer-links a:hover {
    color: white;
}

.sprachen-menu {
    position: absolute;
    z-index: 2100;
    top: 0;
	right: 135px;
    margin-top: 2px;
}

.sprachen-menu a {
    font-size: 1rem;
    padding: 0.4rem;
    text-decoration: underline;
}

.sprachen-menu a:hover {
    transform: scale(3.2);
}

.sprachen-menu a,
.sprachen-menu a:visited,
.sprachen-menu a:hover,
.sprachen-menu a:active {
  color: white; 
}

@media (max-width: 768px) {

    nav ul {
        gap: 20px;
    }

    nav ul li {
        font-size: 1.563rem;
        color: white;
        text-transform: uppercase;
    }

    .header-social-links,
    .header-footer-links {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 5px;
    }

    .header-footer-links a {
        font-size: 16px;
    }

    .header-footer-links {
        display: none;
        bottom: 30px;
        gap: 0px;
        column-gap: 10px;
    }

    .header-social-links {
        bottom: 30px;
        column-gap: 35px;
    }
}

/* --------------- Scroll to top --------------- */

.scroll-to-top {
    width: 50px;
    height: 50px;
    position: fixed;
    background: var(--atz-blau);
    right: 50px;
    bottom: 50px;
    background: var();
    z-index: 990;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 40px rgba(1,22,44,0.7);
}

.scroll-to-top svg {
    width: 30px;
    height: 30px;
    fill: var(--weiss);
}

/* --------------- Contact Scroll --------------- */

.contact-scroll {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 995;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--atz-blau);
    padding: 24px;
    border-radius: 10px 0px 0px 10px;
    gap: 20px;
}

.contact-scroll svg {
    height: 28px;
    width: 28px;
    transition: scale 0.3s ease-in-out;
}

.contact-scroll svg:hover {
    scale: 1.2;
}

/* --------------- Cursor and Hover Animation --------------- */

.cursor, .hand {
    position: fixed;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    transition: transform .1s;
}

.cursor {
    background: var(--atz-gelb);
    top: 0;
    width: 20px;
    height: 20px;
    z-index: 999;
}

.hand {
    top: 15%; /* ändern für eine andere höhe des Pfeils */
    width: 400px;
    height: 400px;
    z-index: 9999;
    display: grid;
    place-content: center;
    transform: rotate(45deg);
    opacity: 0;
}

.arrow {
    width: 500px;
}

.h1-hover a,
.h1-hover#contact-button-large,
#contact-button-large {
    font-weight: 900;
    font-size: clamp(0rem, 15vw , 15rem);
    line-height: 15rem;
    -webkit-text-stroke: 3px var(--atz-blau);
    color: rgba(0, 0, 0, 0%);
    transition: color 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
    margin: 0;
}

.h1-hover a {
    cursor: pointer;
}

.h1-hover a:hover {
    color: var(--atz-blau);
}

.sprachen a {
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
}

.sprachen a:hover {
    font-family: "museo-sans", sans-serif;
    font-weight: 900;
}

#active-nav {
    font-weight: 900;
}

.sprachen-menu {
    color: var(--weiss);
    position: absolute;
    z-index: 100;
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
    top: 0;
	right: 135px;
	padding: 40px;
	font-size: 1.3rem;
	cursor: pointer;
}

.sprachen-menu a,
.sprachen-menu a:visited,
.sprachen-menu a:hover,
.sprachen-menu a:active {
  color: var(--weiss);
  text-decoration: none;
}



/* --------------- BUTTON --------------- */

button {
    color: var(--atz-blau);
  }
  
  .button {
    margin-top: 30px;
    align-items: center;
    background: 0 0;
    border: none;
    border-radius: 6.25rem;
    color: var(--atz-blau);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 600;
    gap: 0.363636em;
    justify-content: center;
    letter-spacing: -0.01em;
    line-height: 1.04545;
    overflow: hidden;
    padding: 0.9375rem 3.5rem;
    position: relative;
    text-decoration: none;
    word-break: break-word;
    text-decoration: none;
    height: 75px;
  }

  .button:hover .button__label {
    color: var(--weiss);
  }
  
  @media (hover: hover) {
    .button.button--stroke:hover {
      color: var(--atz-blau);
      text-decoration: none;
    }
  }
  
  .button--stroke:after {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .button--stroke:after {
    border: 0.125rem solid var(--atz-blau);
    border-radius: 6.25rem;
    content: "";
    pointer-events: none;
  }
  
  .button__label {
    position: relative;
    text-align: center;
    transition: color 50ms var(--atz-blau);
  }

  .button__label span {
    color: var(--atz-blau);
  }
  
  .button--stroke:hover .button__label {
    transition: color 0.15s var(--atz-blau);
  }
  
  .button__flair {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .button--stroke .button__flair {
    transform: scale(0);
    transform-origin: 0 0;
    will-change: transform;
  }
  
  .button__flair:before {
    aspect-ratio: 1/1;
    background-color: var(--atz-blau);
    border-radius: 50%;
    content: "";
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 170%;
  }

  .button svg {
    z-index: 2;
    width: 1em;
    height: 1em;
    color: var(--atz-blau);
    margin-right: 0.6em;
  }

  .button:hover svg path {
    fill: var(--weiss);
  }

  #button-socials {
    margin: 0;
    padding: 2.7rem;
  }


  #button-career {
    color: var(--weiss);
    height: auto;
    min-height: 75px;
    padding: 0.95rem 2.4rem;
    white-space: normal;
    text-align: center;
  }

  #button-career:hover .button__label {
    color: var(--atz-grau);
  }

  #button-career:after {
    border: 0.125rem solid var(--atz-gelb);
  }
  
  #button-career .button__flair:before {
    background-color: var(--atz-gelb);
  }

  #button-career:hover svg path {
    fill: var(--weiss);
  }


/* --------------- Background Change --------------- */

.color-switch {
    &[data-bg="yellow"] { color: #333; }
}

/* --------------- Footer --------------- */

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    margin-top: -75px;
    padding: 0 40px;
}

footer a {
    color: var(--atz-blau);
    text-decoration: none;
    font-size: 1rem;
}

footer p {
    color: var(--atz-blau);
    font-size: 1rem;
}

.section-kontakt {
    flex-direction: column;
    background: var(--atz-hell-blau);
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    padding: 80px 6vw;
    box-sizing: border-box;
    background-image: url("../img/contact-picture2.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.section-kontakt h3 {
    margin: 60px 0px 30px 0px;
    color: var(--atz-blau);
}

.contact-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.contact-potential {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    width: 100%;
    margin-top: 40px;
    gap: 18px;
}

.contact-potential p {
    margin: 0;
    color: var(--atz-blau);
    font-family: "museo-sans", sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.5;
}

.contact-potential .button {
    margin-top: 0;
    height: 62px;
    padding: 0.85rem 2.2rem;
    font-size: 1.05rem;
}

#potential-analysis-button {
    color: var(--atz-blau);
}

#potential-analysis-button:after {
    border: 0.125rem solid var(--atz-blau);
}

#potential-analysis-button .button__flair:before {
    background-color: var(--atz-blau);
}

#potential-analysis-button:hover .button__label {
    color: var(--weiss);
}

#potential-analysis-button:hover svg path {
    fill: var(--weiss);
}

.contact-buttons {
    display: flex;
    flex-direction: row;
}

.contact-buttons .button {
    margin-top: 0px;
}

.contact-buttons .button svg {
    width: 25px;
    height: auto;
}

.links-footer {
    display: flex;
    width: 18%;
    justify-content: space-between;
}

.social-icons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.social-icons img {
    transition: transform 0.3s;
    width: 20px;
    height: auto;
    z-index: 100;
}

.section-company {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--verlauf-kreis);
    padding: 200px 6vw 200px 6vw;
}

.company {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    gap: 20px;
}

.company a {
    color: var(--weiss);
}

.company ul {
    padding-left: 40px;
}

.company li {
    color: var(--weiss);
}

.company h2 {
    padding-top: 80px;
}

.company h3 {
    padding-top: 20px;
}

.company p {
    padding-left: 20px;
}

.company a {
    overflow-wrap: break-word; /* Alternativ: word-wrap: break-word; */
    /* Optional: */
    word-break: break-all; /* Erzwingt den Umbruch auch mitten im Wort, falls nötig */
}


@media (min-width: 2400px) {
    .menu__item-link {
        font-size: clamp(0px, 8vw, 100px);
        margin-bottom: clamp(0px, 3vh, 60px);
    }
}

@media (min-width: 768px) and (max-width:1024px) {

.h1-hover a,
.h1-hover#contact-button-large,
#contact-button-large {
    font-weight: 900;
    font-size: 18vw;
    line-height: 18vw;
    -webkit-text-stroke: 0.3vw var(--atz-blau);
    color: rgba(0, 0, 0, 0%);
    transition: color 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
    margin: 0;
}

.h1-hover a {
    cursor: pointer;
}

}


@media (max-width: 767px) {

    p {
        font-size: 1rem;
        line-height: 1.25rem;
    }

    .h1-hover a,
    .h1-hover#contact-button-large,
    #contact-button-large {
        font-weight: 900;
        font-size: 18vw;
        line-height: 18vw;
        -webkit-text-stroke: 0.4vw var(--atz-blau);
        color: rgba(0, 0, 0, 0%);
        transition: color 0.3s ease-in-out;
        display: inline-block;
        text-decoration: none;
        margin: 0;
    }

    .h1-hover a {
        cursor: pointer;
    }
    
    .h1-hover a:hover {
        color: var(--atz-blau);
    }

    .cursor {
        display: none;
    }

    .social-medias {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10%;
    }
    
    .social-medias img {
        width: 30px;
    }

    footer {
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    .links-footer {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .first-section {
        padding: 80px 10vw 50px 10vw;
    }

    h1 {
        font-size: 8.1vw;
        line-height: 8.3vw;
    }

    h2 {
        font-size: 6.1vw;
        line-height: 7vw;
    }

    h3 {
        font-size: 5.1vw;
        line-height: 6vw;
    }

    h4 {
        font-size: 4vw;
        line-height: 5vw;
    }

    .first-section-column h1 .detail-img {
        display: none;
    }

    br {
        display: none;
    }

    .logo {
        position: absolute;
        width: 100px;
    }

    .button {
        font-size: 1rem;
    }

    .hand {
        display: none;
    }

    .contact-div {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
    }

    .contact-potential {
        margin-top: 28px;
        padding: 0 10px;
    }

    .contact-potential .button {
        height: auto;
        min-height: 54px;
        padding: 0.85rem 1.4rem;
        font-size: 0.95rem;
    }

    .section-kontakt h3 {
        display: none;
    }

    footer {
        flex-direction: column!;
    }

    .social-icons {
        margin-top: -40px;
    }

    .intro-img-responsive {
        display: none;
    }

    .weg {
        display: none !important;
    }

    .nav-container .socials a {
        font-size: 12px;
    }

    .socials {
        display: flex;
        flex-direction: column;
    }

    .privacy-links {
        display: flex;
        gap: 30px;
    }

    .scroll-to-top {
        right: 15px;
        bottom: 40px;
    }

    .ccm-settings-summoner {
        bottom: 40px !important;
    }

    .sprachen-menu {
        right: 80px;
    }

}

/* CCM19 + Lenis: Scrollen im Cookie-/Settings-Dialog erlauben */
[data-lenis-prevent] {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

html.ccm19-dialog-open [data-lenis-prevent],
html.lenis-stopped [data-lenis-prevent] {
    overflow: auto !important;
    touch-action: pan-y;
}
