.content {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    margin-top: 10px;
}

.hero {
    position: relative;
}

.hero-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
}

@media screen and (min-width: 480px) {
    .hero-image {
        aspect-ratio: 3 / 2;
    }
}

@media screen and (min-width: 520px) {
    .hero-image {
        aspect-ratio: 2 / 1;
    }
}

@media screen and (min-width: 640px) {
    .hero-image {
        aspect-ratio: 3/1;
    }
}

.hero .hero-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    padding: 0 2rem 0rem 0;
    font-size: 1.5rem;
}

.hero .hero-title span {
    display: block;
}

@media screen and (min-width: 768px) {
    .hero .hero-title {
        font-size: 2rem;
    }
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    border: 1px solid rgba(122, 122, 122, 0.3);
    background-image: linear-gradient(to bottom, #f5f5f5, white);
    padding: 2rem;
    border-radius: 1rem;
}

@media screen and (min-width: 640px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
}

.item.highlighted {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 1.5rem;
    border: 2px solid #E2031A;
    border-radius: 1rem;
    grid-column-start: 1;
    grid-column-end: 1;
    gap: 1rem;
}

.item.highlighted .textblock {
    flex: 1;
}

.item.highlighted .logo {
    max-width: 8rem;
    max-height: 8rem;
    flex-shrink: 0;
}

.item.highlighted .logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media screen and (min-width: 640px) {
    .item.highlighted {
        grid-column-end: 3;
    }
}

.item.highlighted h3 {
    font-size: 1.01rem;
    margin-bottom: 0.5rem;
}

.item.highlighted ul {
    list-style-type: disc;
    list-style-position: inside;

}

.persons {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2rem;
    row-gap: 4rem;
}

.details {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.person-image {
    border-radius: 9999px;
    aspect-ratio: 1;
    width: 9rem;
}

summary {
    /* Pin the custom marker to the container */
    position: relative;
    /* Register summary as an anchor element */
    anchor-name: --summary;
    cursor: pointer;
    display: inline-block;
    padding-right: 2rem;

    &::marker {
        content: "";
    }

    &::before,
    &::after {
        /* Custom marker dimensions */
        content: "";
        border-block-start: 3px solid #E2031A;
        height: 0;
        width: 1rem;

        transition-duration: 0.3s;

        /* Positions the lines */
        inset-block-start: 50%;
        inset-inline-end: 0;

        /* Anchor the shape to the summary */
        position: absolute;
        position-anchor: --summary;
        position-area: top end;
    }

    /* Rotate just the ::after line to create a "+"" shape */
    &::after {
        transform: rotate(90deg);
        transform-origin: 50%;
    }
}

summary .informations {
    padding-top: 1rem;

}

/* Rotate the line when open */
details[open] summary::after {
    transform: rotate(0deg);
}

@media screen and (min-width: 768px) {
    .persons {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.subtitle {
    font-size: 1.25rem;
}

.subsubtitle {
    font-size: 1.1rem;
}

.bullet-points {
    line-height: 1.5;
    list-style-type: disc;
    list-style-position: inside;
}

.item {
    padding: 10px;
    /* background: #f5f5f5; */
    border-radius: 8px;
}

h3 {
    margin: 0;
}

p {
    margin: 4px 0 0;
}

.dozenten-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dozent {
    flex: 1;
    min-width: 300px;
    max-width: 32%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.versteckt {
    max-height: 3em;
    /* Begrenzung auf ca. 2-3 Zeilen */
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.versteckt.aktiv {
    max-height: 9999px;
    /* Hoch genug für den ganzen Text */
}

.weiterlesen {
    color: #E2031A;
    cursor: pointer;
    display: block;
    margin-top: 4px;
}

.fragen-liste {
    list-style: none;
    /* Entfernt die Standard-Punkte */
    padding-left: 20px;
    /* Platz für eigene Punkte */
    line-height: 1.2rem;
    /* Erhöht den Zeilenabstand */
}

.fragen-liste li::before {
    content: '•';
    /* Punkt als Inhalt */
    color: #E2031A;
    /* Punkt wird rot */
    font-size: 1em;
    /* Größe des Punktes */
    margin-right: 8px;
    /* Abstand zum Text */
}

hr {
    display: block;
    height: 1px;
    border: 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.footer {
    font-size: 1.1rem;
}

.social-media {
    display: inline-flex;
    align-items: baseline;
    color: #E2031A;
}

.social-media .icon {
    height: 1.0rem;
    width: 1.0rem;
    align-self: center;
    margin-right: 0.25rem;
}

@media screen and (max-width: 639px) {
  .item.highlighted {
    display: block;
  }

  .item.highlighted .logo {
    float: right;
    margin: 0 0 1rem 1rem;
    max-width: 8rem;
    max-height: auto;
  }

  .item.highlighted .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
}