/* --- LOKALE SCHRIFTARTEN DEFINITION (DSGVO-konform) --- */

/* 1. CORINTHIA (Regular & Bold) */

@font-face {
    font-family: 'Corinthia';
    src: url('fonts/corinthia/Corinthia-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Corinthia';
    src: url('fonts/corinthia/Corinthia-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* 2. OUTFIT (Variable Font für alle Stärken 100-900) */

@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Definiert alle Stärken von Thin bis Black */
    font-style: normal;
    font-display: swap; /* Verbessert das Laden */
}

/* 2b. OUTFIT (Zusätzliche statische Dateien für volle Kompatibilität und Fallback) */

@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit/static/Outfit-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit/static/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit/static/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: outfit, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ededed;
	overflow-x: hidden;
	/* NEU für Sticky Footer: */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content-wrapper {
    flex-grow: 1;
}

.banner-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 110px;
    position: relative;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: #4d2252;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    gap: 40px;
    padding: 20px 50px;
    height: 50px;
    background-color: #4d2252;
	box-sizing: border-box; 
}

.banner-image-section {
    height: 200px;
    width: 100%;
    background-image: url('media/images/background.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.banner-text-section {
    font-family: Corinthia, cursive;
    color: #ecf0f1;
    background-color: #4d2252;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px; 
}


.header-logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.banner-container h1 {
    font-size: 2.5em;
    margin: 0;
}

.hamburger-menu {
    display: none; 
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 60px;
    height: 7px;
    background-color: white;
    margin: 15px 0;
}

.banner-nav-section {
    height: 40px;
    background-color: #4d2252;
    padding: 10px 0;
}

.main-nav {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap; 
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
	flex-shrink: 0;
}

.main-nav a:hover {
    background-color: #34495e;
}

#scroll-to-top, #scroll-to-next, #scroll-to-prev {
    display: none; 
    position: fixed; 
    z-index: 99; 
    border: none;
    outline: none;
    background-color: #333333; 
    color: white;
    cursor: pointer;
    height: 60px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center; 
    line-height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
    opacity: 1; 
}

#scroll-to-top:hover, #scroll-to-next:hover, #scroll-to-prev:hover {
    background-color: #b82758; 
    transform: scale(1.05); 
    opacity: 1;
}

.fixed-nav-button {
    left: calc(50% - 600px - 80px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#scroll-to-top {
    width: 60px;
    border-radius: 50%; 
    padding: 0;
    bottom: 20px;
	left: auto;
    right: 20px;
    font-size: 1.2rem;
    z-index: 100;
}

#scroll-to-next, #scroll-to-prev {
    width: auto;
    padding: 0 15px;
    border-radius: 12px;
	left: auto;
	right: 20px;
}

#scroll-to-next {
    bottom: 90px; 
    right: 20px;
}

#scroll-to-prev {
    bottom: 160px; 
    right: 20px;
}

@keyframes pulse-once {
    0% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
    15% { transform: scale(1.15); box-shadow: 0 0 15px rgba(225, 48, 108, 0.8), 0 6px 12px rgba(0, 0, 0, 0.5); }
    33% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
    50% { transform: scale(1.15); box-shadow: 0 0 15px rgba(225, 48, 108, 0.8), 0 6px 12px rgba(0, 0, 0, 0.5); }
    66% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
    80% { transform: scale(1.1); box-shadow: 0 0 15px rgba(225, 48, 108, 0.8), 0 6px 12px rgba(0, 0, 0, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
}

.social-media-box {
    position: fixed; 
    left: 0;
    top: 550px;
    transform: translateY(-50%);
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.social-media-box a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 8px;
    text-align: center;
}

.social-link.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.social-link.bluesky:hover {
    background-color: #1081f6;
    color: white;
}

.social-link.instagram:hover {
    background-color: #e1306c;
    color: white;
}


.inline-art-image {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 250px;
    height: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding: 8px;
    background-color: #fff;
    border-radius: 5px;
}

.full-width-section-odd {
    width: 100%;
    background-color: #ededed;
    padding: 10px 0;
	overflow: hidden; 
}

.full-width-section-even {
    width: 100%;
    background-color: #a073a8;
    padding: 10px 0;
	overflow: hidden; 
}

.box-row {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.full-width-section-odd .box-row {
    transform: translateX(-100px);
}

.full-width-section-even .box-row {
    transform: translateX(100px);
}


@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.is-visible {
    animation: slideInLeft 1.2s ease-out forwards;
    opacity: 1;
}

.full-width-section-even .is-visible {
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 1;
}

.box-0001 {
    background-color: transparent;
    font-size: 20px;
    color: #161616;
    padding: 20px;
    text-align: justify;
    flex: 1;
    max-width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
	box-sizing: border-box; 
}

.box-0001 h1 {
	text-align: left;
	font-size: 1.5em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.box-row.aboutme-layout {
    display: block; 
    max-width: 1200px; 
    margin: 0 auto; 
    opacity: 0; 
    transform: translateX(0);
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.2s;
}

.box-0001.box-full-width {
    flex: none;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 20px auto; 
    padding: 20px;
}

.box-full-width {
    height: auto; 
    min-height: 200px;
    display: block;
}

.box-full-width p, 
.box-full-width h1,
.box-full-width h2,
.box-full-width ul { 
    margin-left: auto;
    margin-right: auto;
}

.box-full-width p {
    text-align: justify; 
    margin-bottom: 20px; 
}

.box-full-width h1 {
    text-align: left; 
    margin-top: 20px;
    margin-bottom: 20px;
	font-size: 1.5em;
}

.box-full-width a {
    text-decoration: none;
    color: black;
	display: block;
    padding: 5px 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.box-full-width a:hover {
    color: white;
	background-color: #4d2252;
    font-weight: bold;
}

.aboutme-image-wrapper {
    display: block; 
    justify-content: none; 
    align-items: none;
    padding: 20px 0; 
    max-width: 1000px;
    margin: 0 auto; 
    gap: 0;
    flex-wrap: nowrap;
}

.box-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.aboutme-image {
	max-width: 100%;       
    max-height: 870px;
    width: auto;       
    height: auto;      
    object-fit: contain; 
    display: block;    
    cursor: pointer;   
    margin: 10px auto;
    flex-shrink: 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}

.box-0001 img {
    padding: 0;
}

.image-with-caption {
    max-width: 900px; 
    margin: 15px auto 40px auto; 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); 
    padding: 15px 15px 10px 15px;
    background-color: #fff;
    display: block;
}

.image-caption {
    display: block;
    text-align: center;
    font-family: Outfit, sans-serif;
    font-size: 1rem;
    color: #333333;
    padding: 10px 0;
}


.publication-entry-box {
	font-size: 20px;
    flex: none; 
    max-width: 100%; 
    width: 100%; 
    margin: 0 auto 20px auto; 
    padding: 20px;
    background-color: transparent; 
    box-sizing: border-box; 
    box-shadow: none; 
    min-height: 200px;
}


.event-entry-box {
	font-size: 16px;
    flex: none; 
    max-width: 100%; 
    width: 100%; 
    margin: 0 auto 20px auto; 
    padding: 20px;
    background-color: transparent; 
    box-sizing: border-box; 
    box-shadow: none; 
    min-height: 200px;
}


.pub-text-content {
    text-align: justify;
    margin-bottom: 20px; 
    float: left; 
    width: calc(100% - 300px);
    overflow: visible;
    margin-right: 0;
}

.pub-images-float-right {
    float: right;
    width: 100%;
    max-width: 250px;
    margin: 0 0 20px 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pub-image-wrapper {
    width: 100%; 
}

.media-box {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    padding: 10px;
    box-sizing: border-box;
}

.pub-image {
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    box-shadow: none;
    transition: none; 
}

.pub-image:hover {
    transform: none;
}

.pub-text {
    text-align: justify; 
    margin-bottom: 20px; 
}


.publication-entry-box h1 {
	text-align: left;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.publication-entry-box p {
    margin-bottom: 20px;
    text-align: justify;
}

.publication-entry-box a {
    text-decoration: underline;
    color: black;
    padding: 2px 2px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.publication-entry-box a:hover {
    color: white;
	background-color: #4d2252;
    font-weight: bold;
}


.event-entry-box h1 {
	text-align: left;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.event-entry-box p {
    margin-bottom: 20px;
    text-align: justify;
}

.event-entry-box a {
    text-decoration: underline;
    color: black;
    padding: 2px 2px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.event-entry-box a:hover {
    color: white;
	background-color: #4d2252;
    font-weight: bold;
}

.event-sidebar-float {
    float: left;
    width: 80px; 
    margin: 20px 30px 20px 0; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}


.calendar-icon-container {
    line-height: 1; 
    color: #000000;
    margin-bottom: 0;
}

.calendar-icon {
    width: 40px !important; 
    height: 40px !important;
    display: block;
}


.event-date-line {
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 20px;
    color: #4d2252;
}


.event-location-link {
    font-size: 1em;
    line-height: 1.4;
    margin-top: 20px;
    font-weight: bold;
}


.event-content-main {
    overflow: hidden; 
    width: auto;
}

.event-images-float-right {
    float: right;
    width: 220px; 
    margin: 0 0 20px 20px; 
    box-sizing: border-box;
    display: flex; 
    flex-direction: column;
    gap: 15px; 
}


.event-image {
    max-width: 200px;
    height: auto;
    display: block;
    box-shadow: none; 
    transition: transform 0.3s ease-in-out; 
}

.event-image:hover {
    transform: scale(1.1); 
    z-index: 10; 
}

.publication-entry-box.event-past {
    color: #523056; 
}

.publication-entry-box.event-past h1,
.publication-entry-box.event-past h2 {
    color: #523056 !important;
}

.publication-entry-box.event-past .calendar-icon-container,
.publication-entry-box.event-past .event-date-line strong {
    color: #523056;
}

.publication-entry-box.event-past .event-location-link a {
    color: #523056;
}
.publication-entry-box.event-past .event-location-link a:hover {
    color: #523056;
}


.publication-entry-box.event-past .event-image {
    filter: grayscale(40%);
    opacity: 0.8;
}

.footer-legal {
    width: 100%;
    background-color: #2c3e50; /* Sehr dunkles Grau/Anthrazit */
    color: #ecf0f1; /* Helle Textfarbe */
    padding: 15px 50px; /* Vertikaler und horizontaler Abstand */
    text-align: center;
    box-sizing: border-box;
    margin-top: 40px; /* Abstand zum Inhalt darüber */
    font-size: 1.1em;
	flex-shrink: 0;
}

.footer-legal a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #b82758; /* Hover-Farbe passend zu deinem aktuellen Design */
    text-decoration: underline;
}

.footer-legal .separator {
    color: #7f8c8d; /* Trenner in einem etwas helleren Grau */
    margin: 0 5px;
}


/* ---------------------------------------------------------------- */
/* MEDIA QUERIES */
/* ---------------------------------------------------------------- */


@media (min-width: 1001px) {
    .full-width-section-even .box-row {
        flex-direction: row-reverse;
    }
}

@media (max-width: 1000px) {
	
    #scroll-to-top, #scroll-to-next, #scroll-to-prev {
        height: 90px;
		width: 180px;
        line-height: 90px;
        font-size: 1.5rem;
    }


    #scroll-to-top {
        width: 120px;
		height: 120px;
        bottom: 15px;
        right: 15px;
    }


    #scroll-to-next, #scroll-to-prev {
        padding: 0 10px;
        border-radius: 10px;
    }
    
    #scroll-to-next {
        bottom: 175px; 
        right: 15px;
    }
    
    #scroll-to-prev {
        bottom: 300px; 
        right: 15px;
    }
	
	.event-sidebar-float {
        float: none;
        width: 100%;
        margin: 10px 0 20px 0;
        flex-direction: row; 
        justify-content: flex-start; 
        gap: 10px;
        align-items: flex-start;
        text-align: left;
    }
    
	.calendar-icon-container {
        margin-bottom: 0;
        flex-shrink: 0; 
    }
	
	.calendar-icon {
        width: 40px;
        height: 40px;
    }
    
    .event-info-box {
        width: auto;
    }
    
    .event-content-main {
        overflow: visible;
    }
    
    .event-images-float-right {
        float: none;
        width: 100%;
        margin: 10px 0;
    }
    
    .event-image {
        max-width: 100%;
    }
	
	.event-entry-box {
	font-size: 20px;
	}
	
	.event-entry-box h1 {
    font-size: 2em;
	}
	
	.event-entry-box p {
    font-size: 1.5em;
	}

	.event-date-line {
    font-size: 1.8em;
	}
	
	.pub-images-float-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        display: flex; 
        flex-direction: column;
    }
    
    .pub-text-content {
        overflow: visible; 
        width: 100%;
        margin-right: 0; 
        float: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .social-media-box {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
        background-color: #f4f4f4;
        border: 1px solid #ddd;
        padding: 10px 0;
        border-radius: 0;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transform: none;
        font-size: 3.0rem;
    }
    
    .social-media-box a {
        min-width: 80px;
        display: block;
        padding: 8px 12px;
        text-align: center;
        text-decoration: none;
        color: #333;
    }
    

    .banner-nav-section {
        height: auto;
        padding: 0;
    }

    .main-nav {
        display: flex; 
        flex-direction: column;
        width: 400px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        background-color: #a073a8;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        transition: all 400ms cubic-bezier(.9, 0, .33, 1);
        z-index: 1000;
        transform: translateX(-100%);
        padding-top: 150px;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 40px;
    }

    .main-nav a {
        font-size: 2.0rem;
        padding: 20px 20px;
        width: 100%;
    }
    
    .box-row {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
    
    .is-visible {
        animation: none !important;
    }
    
    .banner-container {
        position: static;
        height: 150px;
    }

    .main-content {
        margin-top: 0px;
    }
    
    .banner-content {
        justify-content: center;
        align-items: center;
        height: 150px;
        padding: 0 10px;
        position: relative;
		width: 100%;
    }

    .banner-text-section {
        font-size: 1.5rem;
        padding-left: 20px;
    }
    
    .header-logo {
        height: 80px;
    }

    .banner-image-section {
        height: 0;
        padding: 0;
        overflow: hidden;
    }

    .close-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

    .close-btn span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }
    
    .close-btn span:first-child {
        transform: rotate(45deg) translate(0px, 5px);
    }

    .close-btn span:last-child {
        transform: rotate(-45deg) translate(0px, -6px);
    }
    
    .box-row {
        flex-direction: column;
        gap: 0;
    }
	
	.box-row.aboutme-layout {
        gap: 0;
        align-items: center; 
    }

    .box-0001 {
        max-width: 100%;
        height: auto;
        margin: 0 auto 20px auto;
        padding: 15px;
    }
    
    .box-0001 p,
	.box-0001 ul {
        font-size: 2rem;
    }
	
	.box-0001 h1 {
		font-size: 3rem;
	}

	.image-with-caption {
        max-width: 90%;
        margin: 10px auto 20px auto;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
	
	.aboutme-image-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: flex;
        max-width: 100%;
    }
    
    .aboutme-image {
		width: 100%;
		height: auto;
        max-height: none;
		max-width: none;
		margin: 0 auto 5px auto;
    }
	
	.image-caption {
        font-size: 0.9rem;
    }
	
	.publication-entry-box h1 {
        font-size: 2em;
    }
	
    .publication-entry-box p {
        font-size: 2rem;
    }
	
	
	.footer-legal {
        padding: 20px 15px;
        font-size: 1.5rem; /* Größere Schrift auf Mobilgeräten */
        margin-top: 20px;
    }
	
}


.modal {
    display: none; 
    position: fixed;
    z-index: 2000; 
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 90%; 
    object-fit: contain; 
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}