:root {
	--navbar-height: 60px;
	--title-color: #D4AF37;
	--background-color: #2d4a72;
	--bs-body-font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	--border-radius: 1rem;

	--timeline-primary-color: #2d4a72;
    --timeline-secondary-color: #f8f9fc;
    --timeline-width: 4px;
}
red, .red { color: red; }
redb, .redb { color: red; font-weight: bold; }
blue, .blue { color: blue; }
blueb, .blueb { color: blue; font-weight: bold; }

.cursor-pointer {
    cursor: pointer;
}

.opacity-90 { opacity: 0.9; }

.w-90 { width: 90%; }

html {
	scroll-behavior: smooth;
}

body { 
	padding-top: var(--navbar-height);
	padding-left: 16px;
	padding-right: 16px;
	background-color: #2d4a72;
	color: whitesmoke; 
}

section[id] {
	scroll-margin-top: var(--navbar-height);
}

[id^="event"], [id^="gallery"], [id^="history"] {
	scroll-margin-top: calc(var(--navbar-height) + 25px);
}

[id^="event"]:target .card-header { background-color:#afdda8; }
[id^="history"]:target .timeline-date { background-color:#4d9438; }
[id^="gallery"]:target .card-title { color: red; }

.hr {
	border-bottom: 1px solid var(--title-color);
	height: 10px;
	margin-bottom: 10px;
	width: 95%;
}

.gallery-body {
  background-image: url("../images/TW-20240214-1300.jpg");
  background-size: cover; /* oder 'contain', je nach gewünschtem Effekt */
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* Macht den Hintergrund "fixiert" */
}

/****************************/
/*     Navbar Fixed-Top     */
/****************************/

.navbar-mobil-grid {
	width: 100%;
	display: grid; 
	grid-template-columns: min-content auto min-content; 
	align-items: center; 
	justify-items: center;
}

.navbar-desktop-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 80px 1fr auto 1fr 80px;
	align-items: center;
}

@media (min-width: 992px) {
	.navbar-desktop-grid {
		display: grid !important;
	}
}

/****************************/
/*       Menue Footer       */
/****************************/

.navbar-footer {
	color: white;
	padding: 10px;
	min-height: 200px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	margin-bottom: 20px;
}

.footer-brand .hr {
	border-color: rgba(var(--bs-dark-rgb));
}

.menu-title, .copyright, .club, .section-title, .site-title, .nav-link {
	color: var(--title-color) !important ;  
}

.menu-title {
	display: grid;
}

.menu-title, .menu-entry {
	text-align: start;
}

.copyright {
	text-align: center;
	padding: 10px;
	font-size: 0.8em;
}

@media (max-width: 768px) {
	.footer-brand .menu-title, .footer-brand .hr {
		display: none;
	}
	.navbar-footer .row div:nth-of-type(3) .d-grid { justify-content: center; }
}

/****************************/
/*     Section Slider       */
/****************************/

.slider-contatiner {
	width: 100%;
	height: 540px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.slider-contatiner img {
	width: 100%;
	height: 540px;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border-radius: var(--border-radius);
}

.slider-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

/****************************/
/*      Section Team        */
/****************************/

.team {
	background: #2d4a72;
	color: white;
	padding: 25px;
	margin: 20px auto;
	border-radius: var(--border-radius);
}

.team h1 {
	text-align: center;
}

.team .card-group {
	gap: 12px;
}

.team .card {
	background: white;
	border-radius: var(--border-radius);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	padding: 16px;
	transition: transform 0.3s ease;
	min-width: 300.5px;
	max-width: 300.5px;
}

.team .card-image img { 
	border-radius: 100%; 
	padding: 16px; 
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team .card-title {
	line-height: 1.5;
	min-height: calc(2 * 1.5em);
	max-height: calc(2 * 1.5em);
	overflow: hidden;
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 15px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.team .card-text {
	font-size: 1.2em;
	text-align: justify;
	text-wrap: balance;
	hyphens: auto;
}

/* 4 Karten/Zeile (nur wenn genug Platz) */
@media (min-width: 1400px) {
	.team .card {
		min-width: calc(25% - 12px); /* 12px = gap */
	}
}

/* 3 Karten/Zeile */
@media (max-width: 1399.98px) and (min-width: 1200px) {
	.team .card {
		/* min-width: calc(33.33% - 12px); */
		min-width: calc(50% - 12px);
	}

	.team .card:nth-child(3n) {
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
	}

	.team .card:nth-child(3n+1) {
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
	}
}

/* 2 Karten/Zeile */
@media (max-width: 1199.98px) and (min-width: 768px) {
	.team .card {
		min-width: calc(50% - 12px);
	}

	.team .card:nth-child(2n) {
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
	}

	.team .card:nth-child(2n+1) {
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
	}
}

/* 1 Karte/Zeile */
@media (max-width: 767.98px) {
	.team .card {
		min-width: 100%;
		border-radius: var(--border-radius) !important;
	}

	.menu-entry, .menu-title { 
		text-align: center !important; 
	}
}

/****************************/
/*    Section Sponsoren     */
/****************************/

#sponsoren {
	background: #3b3b3b;
	margin-top: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	padding-bottom: 10px;
}

.sponsoren-grid-container .card { 
	max-width: 500px; 
	margin: 0.25em 1.0em;
}

.sponsoren {
	background: #3b3b3b;
	padding: 10px;

}

#sponsoren h1 {
	text-align: center;
	color: white;
}
		
.sponsor-slider-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.sponsor-track {
	display: flex;
	gap: 100px;
}

.sponsoren, .sponsor-slider-container, .sponsor-track {
	border-radius: 50px;
}

.sponsor-item {
	flex: 0 0 150px;
	height: 144px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	filter: grayscale(85%);
	background-color: aliceblue;
	border-radius: 100%;
}

.sponsor-item:hover {
	filter: grayscale(0%);
	transition: filter 0.3s ease;
}

.sponsor-item img {
	max-width: 100%;
	max-height: 100%;
	border-radius: var(--border-radius);
	object-fit: contain;
}


@media (max-width: 768px) {
	.sponsoren-grid-container .card {
    	max-width: 360px;
		margin: .25em auto;
	}

	.sponsoren-grid-container .card img {
    	max-width: 180px;
	}
	.sponsor-item {
		flex: 0 0 125px;
		height: 120px;
	}
}

/* Duplikate für nahtlosen Loop */
.clone {
	animation: none !important;
}

/****************************/
/*    Section Membership    */
/****************************/
.membership-body {
	background-image: url('../images/TW-20250306-1240.jpg') ;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

/****************************/
/*     Section Impressum    */
/****************************/
.legal-body{
	background: #F9FAFA url('../images/legal-background.jpg') right top no-repeat fixed;
	background-size: cover;
}

.impressum, .satzung {
	color: #313437;
	background-color: rgba(249, 250, 250, 0.85);
	margin-top: 40px;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-radius: var(--border-radius);
}

.impressum article p {
	margin-left: 8px;
}

.impressum article p a {
	color: #7d8285;
	text-decoration: none;
}

.impressum article address p {
	color: black;
}

.impressum p, .satzung p {
	margin-bottom: 0.5rem;
	color: #7d8285;
}

.impressum h1, .satzung h1 {
	font-weight: bold;
	margin-bottom: 40px;
	padding-top: 40px;
	color: inherit;
}

.satzung h4 {
	text-align: center;
	font-weight: 600;
	font-style: italic;
	margin-bottom: 40px;
	padding-top: 40px;
}

.impressum h1 svg, .satzung h1 svg{
	width: 58px;
	height: 58px;
	color: #465765;
}

@media (max-width:767px) {
	.impressum h1, .satzung h1 {
		margin-bottom: 25px;
		padding-top: 25px;
		font-size: 24px;
	}
}

.impressum article, .satzung article {
	border-radius: var(--border-radius);
	-webkit-box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.42);
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.42);

	border: 1px solid rgba(163, 171, 178, 0.8);
	padding: 10px;
}

/****************************/
/*     Section Satzung      */
/****************************/

.para {
	list-style-type: none;
	padding-left: 10px; 
	margin-bottom: 15px;;
}

.para span {
	font-weight: bold;
	padding-bottom: 5px;;
}

.bgi-fix-cover {
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

.bgi-konfetti {
	background-image: linear-gradient(180deg,rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.75) 100%),url(../images/background-5-1600x1080.jpg) !important;
}

.bgi-konfetti-0 {
	background-image: url(../images/background-5-1600x1080.jpg) !important;
}

.bgi-door-ballon {
	background-image: linear-gradient(180deg,rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.75) 100%),url(../images/background-2-1600x1080.jpg) !important;
}

.bgi-door-ballon-0 {
	background-image: url(../images/background-2-1600x1080.jpg) !important;
}

/****************************/
/*   Section Simple Block   */
/****************************/

.simple-block, #counter {
	border-radius: var(--border-radius);
	padding-top: 5vw;
	padding-bottom: 5vw;
}

.simple-block div, .simple-block-1 {
	display: grid;
	gap: 4px;
	color: black;
	background-color: white;
	justify-content: center;
	align-items: center;
	border-radius: var(--border-radius);
	padding: 20px;
	width: 90%;
	margin: auto;
}

.simple-block-1, .simple-block-1 div {
	min-width: 90%;
}

.simple-block-title {
	font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
	font-size: clamp(36px, calc(20px + 2vw), 64px);
	font-weight: 500;
	padding-bottom: 10px;
	color: #0e0c19 !important;
	line-height: 1.15em;
}

.simple-block-button .btn {
	background-color: var(--background-color);
	color: white;
}

.simple-block-image, .simple-block-image img {
	border-radius: var(--border-radius);
}

.simple-block-sub-info {
	font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
	line-height: 1.75em;
	word-wrap: break-word;
	text-align: center;
}

/****************************/
/*       Contacts-Form      */
/****************************/

.contact-form-body { background-image: url(images/pexels-pixabay-50594.jpg);}

@media (max-width: 768px) {
	.contact-form-title { font-size: calc(1.475rem + 2.7vw); }
	.contact-form-container { width: 100%; padding-left: 5px !important; padding-right: 5px !important; margin: 0 !important;}
}
/****************************/
/*          Events          */
/****************************/

.events-body {
	background-image: url("../images/TW-20250305-0816.jpg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;	
}

.ev-day {
	min-width: 60px;
}

.ev-image {
	max-height: 120px;
	object-fit: cover;
}

.event {
	border: 1px solid #ccc;
	border-radius: var(--border-radius);
	padding: 10px;
	margin-bottom: 10px;
}

.cal-day { min-width: 120px;}

/****************************/
/*       Retro Clock        */
/****************************/

.retroClockBody{ 
	background-color: #fe6ea3;
	padding: 20px;
	border-radius: var(--border-radius);
	margin-top: 10px;
}

.retroClockContainer { 
	background-color: #fe6ea3;
	padding: 15px;

}

.agenda-carnaval-internacional, .retroClockContainer {
	max-width: 640px;
	border-radius: var(--border-radius);
}

.agenda-carnaval-internacional img {
	border-radius: var(--border-radius);
	width: 640px;
}

.tw-shadow {
	box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

.fb-icon { color: #3b5998; }

.insta-icon {
	background: linear-gradient(115deg, rgb(249, 206, 52), rgb(238, 42, 123), rgb(98, 40, 215)); 
	background-clip: text; 
	color: transparent;
}

@media (max-width: 768px) {
	.retroClockContainer,  .agenda-carnaval-internacional img{ max-width: 420px; }

	.retroClockContainer h3 { font-size: medium; }

	.retroClockBody {
		padding: 14px 10px 18px;
	}
}

/*******************************/
/* Big Title with Immage Clock */
/*******************************/

.btwi-with-image-modul {
	background-color: white;
	border-radius: var(--border-radius);
}

.btwi-title, .faq-title, .contact-form-title {
	font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
	font-size: clamp(2rem, 3vw + 1.4rem, 5rem);
	font-weight: 500;
	padding-bottom: 10px;
	color: #0e0c19 !important;
	line-height: 1.15em;
}

.btwi-subtitle {
	text-transform: uppercase;
	font-size: 1em;
	font-weight: 400;
	color: #1d3557 !important;
	letter-spacing: 1px;
	line-height: 1.4em;
}

.btwi-description, .faq-description, .simple-block-content {
	position: relative;
	font-size: 1em;
	font-weight: 400;
	color: #3c3a47 !important;
	text-align: left;
	line-height: 1.25em;
	word-wrap: break-word;
}

.btwi-image {
	border-radius: var(--border-radius);
	height: auto;
	width: 100%;
	max-width: 400px;
	min-width: 400px;
}

@media (max-width: 991.98px) {
	.btwi-image {
		max-width: 300px;
		min-width: 300px;
	}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
	body, .contact-form-container { 
		padding-left: 0px !important;
		padding-right: 0px !important;
	}

	.contact-form-container .container, section div.container-fluid {
		--bs-gutter-x: 0;
	}

	.btwi-subtitle {
		font-size: 0.8em; 
	}

	.btwi-image {
		margin-top: 10px ;
		max-width: 250px;
		min-width: 250px;
	}
}

.container-90 {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 1199.98px) { 
	.container-90 { 
		width: 100%;
	}
}

@media (max-width: 768px) {
	.container-90 { 
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;

		border-bottom: solid 2px gainsboro;
		border-radius: 0px;
	}
}

/****************************/
/*   Timeline (Historie)    */
/****************************/

.timeline-body {
    background-image: url("../images/TW-20250305-1155.jpg");
    background-attachment: fixed;
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    color: var(--timeline-primary-color);
}

.timeline::before {
    content: '';
    position: absolute;
    width: var(--timeline-width);
    background-color: var(--timeline-primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content div img { cursor: pointer; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--timeline-primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-date {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--timeline-primary-color);
	transition: background-color 3.5s ease; /* Animation vorbereiten */
    color: white;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-icon {
    position: absolute;
    top: 15px;
    color: white;
    z-index: 2;
    font-size: 12px;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

#modalImage { max-height: 480px; }

.timeline-inline-image {
  display: inline-flex;
  margin: 15px auto;
  justify-content: center;
  border: solid 1px gainsboro;
  border-radius: var(--border-radius);
  padding: 15px 15px 15px 20px;
  width: 100%;
}

.timeline-inline-image div {
  position: relative;
  display: inline-block;
  width: 75%;
}

.timeline-inline-image div img {
  width: 100%;
  border-radius: var(--border-radius);
  display: block;
}

.timeline-inline-image div span {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2px 5px;
  font-size: 0.8em;
  border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .timeline-icon {
        left: 8px !important;
        right: auto !important;
    }
	.timeline-inline-image div {
		width: 100%;
	}
}

/****************************/
/*         NewsPosts        */
/****************************/

.news-body {
  background-color: #fff;
    background-image: url("../images/newspaper-full.png");
    background-attachment: fixed;
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-body2 {
  background-color: #fff;
  background-image:
    url("../images/newspaper-left.png"),
    url("../images/newspaper-right.png");
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
  background-size: auto 100vh, auto 100vh;  /* skaliert auf Bildschirmhöhe */
}

.news-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news-grid .card {
	border-radius: var(--border-radius);
}

.news-image {
	max-height: 64px; 
	width: auto;
}

.card-content img {
  /*max-width: min(100%, 1120px);*/
  /*width: 90%;*/
  height: auto;
  display: block;
  margin: 0 auto; /* optional: zentriert das Bild */
  border-radius: 10px;
}

/****************************/
/*    News PROMO Posts      */
/****************************/
.promo-popup {
	position: fixed;
	z-index: 2000;
	background: rgba(0,0,0,0.7);
	top: 0; left: 0;
	width: 90%; height: 90%;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease;
	padding-top: 20px;
}

.promo-img {
	max-height: 80px;
	width: auto;
}

.promo-close {
	position: absolute;
	top: 10px;
	right: 14px;
	font-size: 1.5rem;
	color: #999;
	cursor: pointer;
}

.promo-btn {
	/* background-image: linear-gradient(to right, #c21500 0%, #ffc500  51%, #c21500  100%); */
	border-radius: 0.75em;
}

.promo-btn {
	padding: 15px 30px;
	text-align: center;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 20px #eee;
	display: block;
}

.promobtn:hover {
	background-position: right center;
	color: #fff;
	text-decoration: none;
}

@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
	.promo-img {
    max-height: 128px;
  }
}

/****************************/
/*          SHOP            */
/****************************/
.zoom-img {
	cursor: zoom-in;
	transition: transform 0.2s ease;
}
.zoom-img:hover {
	transform: scale(1.03);
}
.trash-btn {
	cursor: pointer;
	color: red;
}

/****************************/
/* Beitrittserklärung Hilfe */
/****************************/

.mitgliedsantrag-hilfe {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #333;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.mitgliedsantrag-hilfe h3 {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-top: 0;
}

.mitgliedsantrag-hilfe p {
  margin-bottom: 15px;
}

.beispiel {
  background-color: white;
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid #3498db;
  margin: 20px 0;
}

.beispiel img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.zugangshinweis {
  background-color: #e8f4fc;
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
}

.zugangshinweis ul {
  padding-left: 20px;
}

.zugangshinweis li {
  margin-bottom: 8px;
}

.zugangshinweis code {
  background-color: #f1f1f1;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.zugangshinweis em {
  color: #666;
  font-size: 0.9em;
}

/*************************************/
/* Wetter Anzeige für Puerto und Dus */
/*************************************/

.weather-card {
  color: white;
  padding: 20px;
  border-radius: 15px;
  min-height: 260px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);

  background-size: cover;
}

.forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.forecast div {
  text-align: center;
  background: rgba(255,255,255,0.4);
  padding: 8px;
  border-radius: 8px;
  width: 22%;
}

/* Standardfarbe für alle Wetter-Icons */
.weather-icon {
    color: white;
    font-size: 1.5rem;
}

.weather-img {
	width: 40px;
	height: 40px;
	object-fit: cover;
}

/* Sonnige Tage: gelb-orange */
.weather-icon.sun {
    color: #FFC500; /* Orange */
}

.weather {
	margin: 25px auto;
	padding: 25px;
	background-color: whitesmoke;
	color: var(--title-color);
	border-radius: var(--border-radius);
}