:root {
    /*--contentWidth: 1000px; */
    --primaryColor: #19418c;
    --secondaryColor: #656565;
    --white: #ffffff;
    --black: #333333;
    --contentWidth: 88%;
    --headerHeight: 80px;
    --footerHeight: 72px;
    --headerBg: var(--white);
}

* {
    box-sizing: border-box;
}

html {
    font-family: Calibri, sans-serif;
    font-variation-settings: "wght" 375;
    word-break: break-word;
    white-space: normal;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

h1 {
    font-size: 2.5rem;
}

.space-head {
    padding-top: var(--headerHeight);
}

.space-b-1 {
    padding-bottom: 1rem;
}

.space-b-2 {
    padding-bottom: 2rem;
}

.space-b-3 {
    padding-bottom: 3rem;
}

.space-b-4 {
    padding-bottom: 4rem;
}

.space-b-5 {
    padding-bottom: 5rem;
}

.space-y-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.space-y-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.space-y-3 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.space-y-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.space-y-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-primary {
    color: var(--primaryColor);
}

.text-secondary {
    color: var(--secondaryColor);
}

.text-white {
    color: var(--white);
}

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

.bg-primary {
    background-color: var(--primaryColor);
}

.bg-secondary {
    background-color: var(--secondaryColor);
}

img {
    font-family: inherit; /* Stellt sicher, dass der ALT-Text die Schriftart der Seite verwendet */
}

.bgImage {
    display: flex;
    border-bottom: 3px solid black;
}

.bgImage img {
    width: 100%;
    max-height: 40vh;
    object-fit: cover;
    /* object-position: center -420px; */
}

.profileImage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20vh;
}

.profileImage .imageWrapper {
    position: absolute;
    color: inherit;
    bottom: 0;
    width: 25vh;
    height: 25vh;
    border-radius: 50%;
    border: 5px solid var(--primaryColor);
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-size: 5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
}

.profileImage img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.profileContent {
    text-align: center;
}

.profileContent h2 {
    line-height: 1.2;
}

.profileText {
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0 auto;
    text-align: center;
}

.profileAds {
    text-align: left;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.profileAds li {
    position: relative;
    margin-bottom: 0.5rem;
    font-style: italic;
    padding-left: 1rem; /* Einrückung für den Text */
}

.profileAds li:before {
    font-family: "fontello";
    content: "\e809";
    font-size: 0.5rem;
    color: var(--primaryColor);
    display: inline-block; /* wichtig für die korrekte Positionierung */
    width: 1rem; /* feste Breite für das Icon */
    margin-left: -1rem; /* gleicht das padding-left des li aus */
    top: -0.05rem;
    position: relative;
}

.profileContact {
    font-size: 1.125rem;
    width: 100%;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.profileContact li {
    margin-bottom: 0.5rem;
}

.profileContact li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: var(--white);
}

.profileContact li a:hover {
    text-decoration: underline;
}

.profileContact li a i {
    margin-right: 0.25rem;
}

.column {
    flex-direction: column;
}

.container {
    width: var(--contentWidth);
    margin: 0 auto;
    display: flex;
}

.container a {
    display: inline-flex;
}

.bgContainer {
    display: flex;
    position: relative;
}

.bgContainer .layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 85%, rgba(0,0,0,0.7) 100%);
}

.bgContainer .bgImage {
    width: 100%;
}

.icon-down-open {
    padding-top: 0.25rem;
}

.content {
    padding: 3rem 0 2rem;
}

.text p:first-of-type {
    margin-top: 0;
}

.text p:last-of-type {
    margin-bottom: 0;
}

.imgGray {
    filter: grayscale(100%);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

