/* Zeichencodierung */
@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  color: rgba(45, 45, 45, 1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
}

:root {
	--primary: rgba(135, 206, 250, 1);
	--weiß: rgba(255, 255, 255, 1);
	--blau: rgba(51, 131, 255, 1);
	--dunkelblau: rgba(0, 51, 153, 1);
	--himmelblau: rgba(135, 206, 250, 1);
	--schwarz: rgba(0, 0, 0, 1);
	--grau: rgba(102, 102, 102, 1);
	--rot: rgba(128, 0, 0, 1);
}

@keyframes verticalBreathing {
	0% { background-position: 0% 0%; }
	25% { background-position: 40% 40%; }
	50% { background-position: 80% 80%; }
	75% { background-position: 20% 60%; }
	100% { background-position: 0% 0%; }
}

/* BerlinTypeWeb-Regular */
@font-face {
    font-family: 'BerlinType-Regular';
    src: url('schriften/BerlinTypeWeb-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

/* BerlinTypeWeb-Bold */
@font-face {
    font-family: 'BerlinType-Bold';
    src: url('schriften/BerlinTypeWeb-Bold.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

html {
	/* background-image: radial-gradient(circle 248px at center, #16d9e3 0%, #30c7ec 47%, #46aef7 100%); */
	/* background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0 20px, rgba(252, 250, 252, 1) 0 40px); */
	background: linear-gradient(-20deg, var(--himmelblau) 0%, var(--weiß) 100%);
	background-attachment: fixed;
	/* background-size: 200% 200%; */
	/* animation: verticalBreathing 15s ease infinite; */
	scroll-behavior: smooth;
}

body {
	font-family: "BerlinType-Regular", Georgia, monospace;
	font-variant-numeric: tabular-nums; /* Ziffern gleiche Breite */
  font-size: 18px !important;
	font-smooth: always;
	font-kerning: none;
  -webkit-font-smoothing: antialiased; /* Safari, Chrome */
  margin: 0;
	padding: 0;
  display: flex;
	height: 100vh;
  flex-direction: column;
	line-height: 1.6;
	color: var(--grau);
	cursor: default;
	overflow-y: scroll;
	hyphens: auto; /* Worttrennung */
	word-wrap: break-word;
	white-space: normal;
}
a, a:link, a:visited {
	text-decoration: none;
	cursor: pointer;
	color: var(--dunkelblau);
  transition: color .5s;
}
a:hover { color: var(--rot); }
h1, h2, h3, h4, h5, h6 { color: var(--grau); }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 12px; }
h5 { font-size: 11px; }
h6 { font-size: 8px; }
ul { list-style-type: none; }
p { color: var(--grau); }
/* FORMULARFELDER */
/* Spezifische Stile für Checkboxen */
input, textarea, select {
	font-family: "BerlinType-Regular", Georgia, monospace;
	font-size: 16px;
	font-weight: normal;
	font-smooth: always;
  -webkit-font-smoothing: antialiased; /* Safari, Chrome */
	color: rgba(0, 0, 0, 1);
	background-color: rgba(200, 225, 250, 1);
	border: 1px solid var(--blau);
	border-radius: 5px;
	margin: 5px 0;
	padding: 0 10px;
	width: 100%;
	height: 40px;
	color: rgba(0, 0, 0, 1);
}
input:focus, textarea:focus, select:focus {	
	border: 1px solid var(--dunkelblau);
	border-radius: 5px;
}
input[type="checkbox"], input[type="radio"] {
	width: 14px;
	height: 14px;
	color: rgba(204, 204, 204, 1);
}
input[type="submit"] {
	width: calc(100%);
	color: var(--schwarz);
	background-color: rgba(135, 206, 250, 1);
}

textarea {
	padding: 10px;
	height: 30px;
	min-height: 100px;
	width: 100%;
}

img {
	object-fit: cover;
	user-select: none;
}

header {
	background-color: var(--blau) !important;
	position: fixed;
	font-family: "BerlinType-Regular", Georgia, monospace;
	font-size: 18px;
	color: var(--weiß);
	text-shadow: none;
	box-shadow: 0px 0px 14px rgb(0, 0, 0, 0.8);
	min-height: 50px;
	width: 100%;
	top: 0;
	z-index: 999;
}
header a, header a:link, header a:visited { color: var(--weiß); }
header a:hover { color: var(--weiß); }

.logo {
	font-family: "BerlinType-Bold", Georgia, sans-serif;
	font-size: 30px !important;
	font-weight: 100;
	font-smooth: always;
  -webkit-font-smoothing: antialiased; /* Safari, Chrome */
	color: var(--weiß);
	text-shadow: none;
	text-decoration: none;
	padding-left: 5px;
	margin: 5px 0px;
	width: 180px;
}
.logo a:hover { color: var(--weiß); }

nav li {
	padding: 0;
}
nav li:last-child {
	margin-right: 0;
}
nav li a {
	font-size: 18px;
	display: block;
	padding: 10px;
	color: var(--weiß) !important;
	text-shadow: none;
	box-shadow: none;
}
nav ul li a:hover {
  color: var(--weiß);
	text-shadow: none;
}

main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 10px 80px auto;
	margin-top: 100px;
}

article {
	flex: 1;
	padding: 10px;
	padding-right: 30px;
	margin: 10px;
	/* border-left: 10px solid var(--blau);	*/
  /* transition: border-color .5s; */
  text-align: justify;
	min-width: 339px;
}
article summary {
	padding: 5px 10px 5px 5px;
	color: rgba(120, 120, 120, 1);
	font-size: 14px;
}
article.impressum, article.kontakt, article.start {
	min-width: 339px;
	max-width: 50%;
}
article.kalender {
	min-width: 80%;
	max-width: 80%;
	width: 80%;
}
article.start h2 {
	margin-top: 100px;
	font-size: 30px;	
	font-weight: 400;
}
article:hover {
	flex: 1;
	/* border-left: 10px solid var(--dunkelblau); */
}
/* MEDIATHEK */
article.mediathek {
	min-width: 339px;
	max-width: 339px;
	position: relative;
	margin: 10px;
	border: 0;
}
article.mediathek img {
	max-width: 339px;
	height: auto;
	filter: blur(0);
	transition: filter 0.3s ease-in-out;
	border-radius: 5px;
}
article.mediathek .overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 10px;
	right: -20px;
	color: var(--schwarz) !important;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
article.mediathek span, article.mediathek:hover span { font-size: 12px; }
article.mediathek:hover p, article.mediathek:hover h2 { color: var(--schwarz); }
article.mediathek:hover img { filter: blur(2px); /* Ändere den Blur-Effekt nach deinen Wünschen */ }
article.mediathek .overlay:hover { opacity: 1; color: var(--schwarz) !important; }
/* Kontaktformular */
article.kontakt {
	position: relative;
	margin: 10px;
	border: 0;
}
/* Flexbox-Container für die Eingabefelder */
article.kontakt div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
/* Eingabefelder */
article.kontakt button[type="submit"],
article.kontakt input[type="text"],
article.kontakt input[type="date"],
article.kontakt input[type="time"],
article.kontakt input[type="email"],
article.kontakt input[type="password"],
article.kontakt textarea {
	flex: 1;
	width: 100%;
	min-width: 339px;
	max-width: 100%;
}

/* Letztes Eingabefeld in einer Reihe sollte keinen rechten Rand haben */
article.kontakt div:last-child input[type="text"] {
	margin-left: 10px;
}

/* Captcha-Image */
article.kontakt img {
	border-radius: 5px;
	border: 1px solid rgba(204, 204, 204, 1);
	margin-right: 10px;
}

/* Entfernen des rechten Rands beim letzten Element */
article.kontakt div input:last-child {
	margin-right: 0;
}

/* Anpassung der Submit-Taste */
article.kontakt input[type="submit"] {
	width: 100%;
	padding: 10px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

/* Hover-Effekt für die Submit-Taste */
article.kontakt input[type="submit"]:hover {
	background-color: #45a049;
}

th.zelle1, td.zelle1 { width: 100px; }
th.zelle2, td.zelle2 { width: 150px; }
th.zelle3, td.zelle3 { width: 200px; }

/* Zeitlinie zur Biografie */
.zeitstrahl {
	width: 80%;
	padding: 50px 0;
	margin: 0px auto;
	position: relative;
	overflow: hidden;
	border: 0;
}
.zeitstrahl:before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -1px;
	width: 1px;
	height: 100%;
	background: var(--grau);
	z-index: 1
}
.zeitstrahl-block {
	width: -webkit-calc(50% + 10px);
	width: -moz-calc(50% + 10px);
	width: calc(50% + 10px);
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-moz-box-pack: justify;
	justify-content: space-between;
	clear: both;
}
.zeitstrahl-block .marker {
	width: 20px;
	min-width: 20px;
	max-width: 20px;
	height: 20px;
	min-height: 20px;
	max-height: 20px;
	border-radius: 50%;
	background: var(--blau);
	transition: background 1s;
	margin-top: 10px;
	z-index: 1;
}
.zeitstrahl-block:hover .marker {
	background: var(--dunkelblau);
}
.zeitstrahl-feld:nth-child(even) {
	float: right;
	direction: ltr;
}
.zeitstrahl-feld:nth-child(odd) {
	float: left;
	direction: rtl;
}
.zeitstrahl-feld:nth-child(odd) .zeitstrahl-inhalt {
	direction: ltr;
	float: right;
	text-align: right;
}
.zeitstrahl-inhalt {
	width: 95%;
	padding: 0 15px;
	color: rgba(102, 102, 102, 1);
}
.zeitstrahl-inhalt h2 {
	margin-top: 5px;
	margin-bottom: 5px;
}
.zeitstrahl-inhalt span { color: rgba(136, 136, 136, 1); }
.zeitstrahl-inhalt p { text-align: justify; }



/* TABELLEN */
table {
	font-family: "BerlinType-Regular", Georgia, monospace;
	font-variant-numeric: tabular-nums; /* Ziffern gleiche Breite */
	width: 100%;
	border-collapse: collapse;
	margin: 5px 0 5px 0;
	padding: 15px;
}
table.erfolge tbody tr:last-child {
    border-bottom: none; /* Oder eine andere Farbe/Stil/Linie, die du bevorzugst */
}
@media screen and (min-width: 769px) {
	tr { transition: background-color 1s; }
	tr:hover { background-color: rgba(135, 206, 235, 1); }
	tr a { transition: color 1s; }
	tr:hover a:hover { color: rgba(128, 0, 0, 1); }
	.erfolge th.normal { font-weight: 100; }
}
th, td {
	padding: 5px;
	text-align: left;
  border-bottom: 0.2px solid rgba(255, 255, 255, 1);
}
td.pt, th.pt {
	width: 5px;
	min-width: 5px;
	flex: 0 0 5px;
}
	
td.pt0, th.pt0 {
	width: 25px;
	min-width: 25px;
	flex: 0 0 25px;
}
td.pt1, th.pt1 {
	width: 50px;
	min-width: 50px;
	flex: 0 0 50px;
}
td.pt2, th.pt2 {
	width: 100px;
	max-width: 100px;
	min-width: 100px;
	flex: 0 0 100px;
}
td.pt3, th.pt3 {
	width: 150px;
	max-width: 150px;
	min-width: 150px;
	flex: 0 0 150px;
}
td.pt4, th.pt4 {
	width: 250px;
	max-width: 150px;
	min-width: 150px;
	flex: 0 0 150px;
}
tbody { margin-bottom: 20px; }

/* FOOTER */
footer {
	padding: 10px;
	margin-top: auto;
	font-size: 12px;
}
footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	margin-bottom: 5px;
}
footer a {
	color: rgba(0, 0, 0, 1);
	transition: color 0.5s;
}
footer a:hover { color: rgba(128, 0, 0, 1); }
footer p {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	color: rgba(103, 103, 103, 1);
	transition: color 0.5s;
}
footer li { margin-right: 10px; }

#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--blau) !important;
	color: var(--weiß);
	padding: 15px;
	text-align: center;
	z-index: 1000;
	display: none;
	box-shadow: 0px 0px 14px rgb(0, 0, 0, 0.8);
}
#cookie-banner a {
	color: var(--weiß);
	text-decoration: none;
}
#cookie-banner button {
	background-color: var(--blau) !important;
	color: var(--dunkelblau);
	border: none;
	padding: 10px;
	margin-left: 20px;
	cursor: pointer;
}

/* MEDIAPLAYER */
/* Audio-Controls anpassen */
audio, video { 
	min-width: 339px;
	max-width: 339px;
	height: auto;
}
/* Fortschrittsleiste anpassen */
audio::-webkit-media-controls-progress-bar, audio::-moz-range-progress {
	background-color: var(--himmelblau); /* Hintergrundfarbe ändern */
	display: none;
	visibility: hidden;
}
audio::-ms-fill-lower {
	background-color: var(--himmelblau); /* Hintergrundfarbe ändern */
	display: none;
	visibility: hidden;
}
/* Lautstärkeleiste anpassen */
audio::-webkit-media-controls-volume-slider, audio::-moz-range-thumb, audio::-ms-thumb { background-color: rgba(0, 0, 0, 1); /* Hintergrundfarbe ändern */ }
/* Buttons anpassen */
audio::-webkit-media-controls-play-button, audio::-moz-focus-inner, audio::-moz-range-thumb, audio::-webkit-media-controls-pause-button, audio::-webkit-media-controls-mute-button, audio::-moz-mutebutton { color: rgba(0, 0, 0, 1); /* Farbe ändern */ }
audio::-ms-playbutton, audio::-ms-pausebutton, audio::-ms-mutebutton { color: rgba(0, 0, 0, 1); /* Farbe ändern */ }
audio::-webkit-media-controls-volume-down-button, audio::-webkit-media-controls-volume-up-button, audio::-ms-volume-down, audio::-ms-volume-up { color: rgba(0, 0, 0, 1); /* Farbe ändern */ }

/* Container für die Balken */
.bar-container {
	margin: 10px 0;
	position: relative;
	height: 30px;
	background-color: #f0f0f0;
	border-radius: 5px;
	overflow: hidden;
}
/* Balken im Diagramm */
.bar {
	height: 100%;
	background-color: var(--himmelblau);
	text-align: right;
	color: white;
	line-height: 30px; /* Vertikale Ausrichtung des Textes */
	padding-right: 10px;
	box-sizing: border-box;
	transition: width 0.5s;
}

/* Label neben dem Balken */
.label {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #333;
	font-weight: lighter;
}


/***** PORTFOLIO *****/
article.portfolio, article.biografie {
	min-width: 80%;
	max-width: 80%;
	width: 80%;
}
.portfolio-item {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	padding: 15px 0 15px 0;
}
.portfolio-header {
	border-bottom: 2px dotted var(--himmelblau);
	padding: 0;
	margin: 0;
}
.portfolio-details {
	display: flex;
	flex-direction: column;
}
.portfolio-detail {
	display: flex;
	flex-direction: row;
	padding: 10px;
	transition: background-color 1.5s;
}
.portfolio-detail:hover {
	background-color: rgba(135, 206, 235, 1);
}
.portfolio-detail:not(:last-child) {
	border-bottom: 1px solid var(--himmelblau);
}
.detail-name {
	font-weight: bold;
	flex: 2;
	min-width: 0; /* Erlaubt es dem flex-item, kleiner als der Inhalt zu werden */
	text-align: left; /* Links ausgerichteter Text */
}
.detail-beschreibung {
	flex: 8;
	padding: 0 20px 0 20px;
}
.detail-bewertung {
	display: flex;
	align-items: center;
	justify-content: flex-end; /* Rechtsbündig */
	flex: 1;
}
.detail-bewertung img {
	vertical-align: middle;
	text-align: right;
}

table.portfolio ,table.biografie { {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table.portfolio th, table.portfolio td, table.biografie th, table.biografie td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
table.portfolio thead, table.biografie thead {
    display: table-header-group;
}
table.portfolio tbody tr, table.biografie tbody tr {
    display: table-row;
}
table.portfolio tbody td, table.biografie tbody td {
    display: table-cell;
    position: relative;
}
table.portfolio .actions img, table.biografie .actions img {
    vertical-align: middle;
}

/* PDF-Datei richtig anzeigen */
/* Standardgröße für Desktops und größere Bildschirme */
.pdf-viewer {
	width: 100%;
	height: 600px; /* Standardhöhe für größere Bildschirme */
	border: none;
}