:root {
    --lightblue: #d6f5ff;
    --blue: #009af7;
    --font: poppins;
    --nav-width: min(1200px, calc(100% - 2rem));
    --nav-right-offset: calc((100% - var(--nav-width)) / 2 + 0.75rem);
}

* {
    padding: 0;
    margin: 0;
}

html {
    background-color: var(--blue);
}

body {
    background-color: var(--lightblue);
    min-height: 100vh;
    padding-top: 110px;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

#navbar {
    background-color: var(--lightblue);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
}

#main {
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: center;
}

#spider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
}

.spider-content {
    width: min(1200px, calc(100% - 2rem));
    display: flex;
    justify-content: center;
}

.spider-content img {
    width: min(80vw, 640px);
    height: auto;
    display: block;
}

#themen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
}

#meinung {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
}

#footer {
    background-color: var(--blue);
    color: var(--lightblue);
    padding: 3rem 1.5rem;
}

#impressum-main {
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.impressum-inner {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--blue);
    font-family: var(--font), sans-serif;
}

.impressum-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
}

.impressum-info {
    text-align: left;
}

.impressum-label {
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: lowercase;
}

.impressum-text,
.impressum-info a {
    color: var(--blue);
    font-weight: 400;
    text-decoration: none;
}

.impressum-section {
    text-align: left;
    line-height: 1.6;
}

.impressum-section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.impressum-section p {
    margin-bottom: 0.75rem;
}

.impressum-section p:last-child {
    margin-bottom: 0;
}

#impressum-main {
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.impressum-inner {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--blue);
    font-family: var(--font), sans-serif;
}

.impressum-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
}

.impressum-info {
    text-align: left;
}

.impressum-label {
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: lowercase;
}

.impressum-text,
.impressum-info a {
    color: var(--blue);
    font-weight: 400;
    text-decoration: none;
}

.impressum-section {
    text-align: left;
    line-height: 1.6;
}

.impressum-section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.impressum-section p {
    margin-bottom: 0.75rem;
}

.impressum-section p:last-child {
    margin-bottom: 0;
}

#engagements-main {
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.engagements-layout {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
    text-align: left;
}

.engagements-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.engagements-right {
    display: flex;
    justify-content: center;
}

.engagements-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.engagements-gallery img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

.engagements-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
    margin: 0;
}

.engagements-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    padding-left: 0.5rem;
    align-items: flex-start;
    width: 100%;
}

.engagements-timeline::before {
    content: "";
    position: absolute;
    left: var(--engagement-line-left, 12px);
    top: var(--engagement-line-top, 12px);
    bottom: var(--engagement-line-bottom, 12px);
    width: 2.5px;
    background-color: var(--blue);
    transform: translateX(-50%);
}

.engagement-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

.engagement-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0.25rem;
}

.engagement-marker span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--blue);
    position: relative;
}

.engagement-marker::after {
    display: none;
}

.engagement-text {
    font-family: var(--font), sans-serif;
    color: var(--blue);
    line-height: 1.5;
}

.engagement-date {
    font-weight: 700;
    margin: 0 0 0.25rem;
    text-transform: lowercase;
}

.engagement-text p {
    margin: 0;
    text-transform: lowercase;
}

#work,
#hobby,
#werte {
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.about-work {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.about-work-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-work-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
}

.timeline {
    --timeline-gap: 1.5rem;
    --timeline-point: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: calc(var(--timeline-point) / 2);
    top: calc(var(--timeline-point) / 2);
    bottom: calc(var(--timeline-point) / 2);
    width: 2.5px;
    background-color: var(--blue);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: var(--timeline-point) 1fr;
    column-gap: 1rem;
    align-items: flex-start;
    padding-top: 0.3rem;
    padding-bottom: var(--timeline-gap);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: var(--timeline-point);
    height: var(--timeline-point);
    border-radius: 50%;
    background-color: var(--blue);
}

.timeline-text {
    font-family: var(--font), sans-serif;
    color: var(--blue);
    margin-top: -6px;
}

.timeline-date {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.timeline-text p {
    margin: 0;
    line-height: 1.4;
}

.about-work-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 4rem;
}

.about-work-image img {
    width: 85%;
    max-width: 420px;
    height: auto;
    display: block;
}

.about-hobby {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-hobby-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: left;
}

.about-hobby-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
    margin: 0;
    text-align: left;
}

.about-hobby-list {
    list-style: disc;
    padding-left: 1.5rem;
    font-family: var(--font), sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--blue);
    line-height: 1.6;
}

.about-hobby-image {
    display: flex;
    justify-content: center;
}

.about-hobby-image img {
    width: 110%;
    max-width: 540px;
    height: auto;
    display: block;
}

.about-werte {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-werte-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-werte-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
    margin: 0;
}

.about-werte-text p {
    font-family: var(--font), sans-serif;
    color: var(--blue);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.about-werte-image {
    display: flex;
    justify-content: center;
}

.about-werte-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

@media (max-width: 650px) {
    .about-work,
    .about-hobby,
    .about-werte {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-work-image {
        order: -1;
        width: 100%;
        justify-content: center;
        padding-top: 0;
        margin-bottom: 1.5rem;
    }

    .about-hobby-image,
    .about-werte-image {
        order: -1;
        width: 100%;
        justify-content: center;
        padding-top: 0;
        margin-bottom: 1.5rem;
    }

    .about-work-image img,
    .about-hobby-image img,
    .about-werte-image img {
        width: 100%;
        max-width: 100%;
    }

    .about-work-content,
    .about-hobby-content,
    .about-werte-content {
        align-items: center;
    }

    .themen-title-inner {
        flex-direction: column;
        text-align: center;
    }

    .themen-image {
        grid-column: 1 / -1;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .themen-image img {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 900px) {
    .engagements-layout {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }

    .engagements-left {
        align-items: center;
    }

    .engagements-right {
        order: -1;
    }

    .engagements-gallery {
        align-items: center;
    }

    .engagements-gallery img {
        max-width: 100%;
    }

    .engagements-timeline {
        align-items: center;
    }

    .engagement-item {
        width: clamp(260px, 70%, 420px);
    }

    .engagement-text {
        text-align: center;
    }
}
.themen-grid {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.themen-image {
    grid-column: 1 / 2;
    display: flex;
    justify-content: right;
}

.themen-image img {
    width: 80%;
    max-width: 420px;
    height: auto;
    display: block;
}

.themen-title {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    margin-top: 4rem;
    width: 100%;
}

.themen-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
}

.themen-title-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.themen-title-image {
    display: flex;
    justify-content: center;
}

.themen-title-image img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

.themen-title-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}

.themen-title-heading {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    margin: 0;
    text-transform: lowercase;
}

.themen-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.themen-text {
    padding-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.themen-text-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font), sans-serif;
    color: var(--blue);
    line-height: 1.6;
    padding: 2.5rem 1rem 0;
}

.themen-text-heading {
    font-weight: 900;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    text-transform: lowercase;
    margin-bottom: 1rem;
}

.themen-text-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.themen-text-list li {
    margin: 0.35rem 0;
}

.themen-content:first-of-type {
    grid-column: 3 / 4;
}

.themen-content:last-of-type {
    grid-column: 4 / 5;
}

.themen-card {
    width: 100%;
    display: flex;
    justify-content: center;
}

.themen-card a {
    display: inline-flex;
    justify-content: center;
}

.themen-card img {
    width: 80%;
    max-width: 180px;
    height: auto;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.themen-card a:hover img {
    transform: scale(1.05);
}

.meinung-grid {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.meinung-text {
    grid-column: 1 / 3;
    font-family: var(--font), sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: var(--blue);
    line-height: 1.6;
    text-align: center;
}

.meinung-text p + p {
    margin-top: 1rem;
}

.meinung-text a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

.meinung-text a:hover {
    text-decoration: underline;
}

.meinung-title {
    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meinung-title p {
    font-family: var(--font), sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--blue);
    text-transform: lowercase;
}

.meinung-image {
    grid-column: 4 / 5;
    display: flex;
    justify-content: center;
}

.meinung-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-content {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.footer-logo img {
    width: 100%;
    max-width: 200px;
    display: block;
}

.footer-info {
    text-align: center;
    font-family: var(--font), sans-serif;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.footer-info a {
    color: var(--lightblue);
    text-decoration: none;
    font-weight: 600;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.footer-links img {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 800px) {
    #footer {
        padding-top: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-logo {
        display: none;
    }

    .footer-links {
        justify-content: center;
        order: 1;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        order: 2;
    }

    .footer-info p:first-child {
        display: none;
    }
}
.main-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.main-text {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-text p {
    font-family: var(--font), sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--blue);
    line-height: 1.3;
}

.main-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
}

.main-nav {
    width: 100%;
    padding: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    font-family: var(--font), sans-serif;
    font-size: 1.1rem;
    color: var(--blue);
    text-decoration: none;
    text-transform: lowercase;
}

.nav-links a:hover {
    color: var(--blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.45rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 3.5px;
    background-color: var(--blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--blue);
    color: var(--lightblue);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    z-index: 1200;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-content {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-transform: lowercase;
    font-family: var(--font), sans-serif;
    font-size: 1.5rem;
    padding: 0 1rem;
}

.mobile-menu-content a {
    color: var(--lightblue);
    text-decoration: none;
    font-weight: 600;
}

.mobile-menu-content a:hover {
    text-decoration: underline;
}

.mobile-close {
    position: fixed;
    top: calc(1rem + 0.5rem);
    right: var(--nav-right-offset);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-close span {
    position: absolute;
    width: 36px;
    height: 4px;
    background-color: var(--lightblue);
    border-radius: 2px;
    transition: opacity 0.2s ease;
}

.mobile-close span:first-child {
    transform: rotate(45deg);
}

.mobile-close span:last-child {
    transform: rotate(-45deg);
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        padding: 1rem;
    }
}

@media (max-width: 650px) {
    .main-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-text,
    .main-image {
        width: 100%;
    }

    .main-text p {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    #themen {
        padding-top: 2rem;
    }

    .themen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        align-items: start;
    }

    .themen-image {
        display: none;
    }

    .themen-title {
        grid-column: 1 / -1;
        justify-content: center;
        text-align: center;
    }

    .themen-title p {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .themen-content {
        width: 100%;
        align-items: stretch;
    }

    .themen-content:first-of-type {
        grid-column: 1 / 2;
    }

    .themen-content:last-of-type {
        grid-column: 2 / 3;
    }

    .themen-card {
        width: 100%;
    }

    .themen-card img {
        width: 85%;
        max-width: none;
        margin: 0 auto;
    }

    .meinung-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .meinung-title {
        order: 1;
        text-align: center;
    }

    .meinung-text {
        order: 2;
        text-align: center;
    }

    .meinung-image {
        order: 3;
        display: none;
    }
}
