:root {
	--container-color: #2b2b2b;
	--container-h1-color: #0b3954;
}

[data-theme="dark"] {
	--container-color: #e7e7dc;
	--container-h1-color: #1479b6;
}

.container a {
	color: #3295ff;
	text-decoration: none;
	transition: 0.2s ease;
}

.container a:hover {
	color: #5661ff;
	text-decoration: underline;
}

main {
	position: relative;
	/*background: linear-gradient(190deg, rgba(180, 128, 252, 0.3), rgba(160, 165, 255, 1));*/
	z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transition: all 1s ease;
  /*background: url('../assets/source-a/image_large_29d65016-afaf-45d2-88c0-9262943716f022clear.jpeg');*/
  background-size: cover;
  background-position: top;
  opacity: 0.3; /* Bild wirkt als subtile Fläche */
  z-index: -1;
}

.bar-background {
	/*background: linear-gradient(to bottom, rgba(162, 165, 221, 1), rgba(153, 149, 239, 1));*/
}

.content-title-wrapper {
	text-align: center;
	position: relative;
}

.content-title-wrapper p {
	margin-top: 0;
}

/*ZURÜCK BUTTON */

.back-button {
	position: absolute;
	left: 0;
	bottom: 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 1rem;
}

.back-button a {
	display: inline-flex;
	max-width: 7.5rem;
	text-decoration: none;
	color: white;
	font-size: calc(1.5rem + var(--font-size-larger));
	font-weight: 500;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: 0.3rem;
	background: linear-gradient(to right, rgba(71, 187, 239, 0.8), rgba(100, 181, 235, 0.6));
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	transition: color 0.2s ease, background 0.3s ease, transform 0.3s ease;
	position: relative;
}

.back-button a span {
	z-index: 2;
	position: relative;
}

.back-button a:hover {
	color: #fffef3;
	transform: scale(1.01);
}

.back-button a::after {
	content: "";
	opacity: 0;
	left: 0;
	top: 0;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.3s ease;
	background: linear-gradient(to right, rgba(106, 187, 241, 0.8), rgba(115, 166, 229, 0.5));
}

.back-button a:hover::after {
	opacity: 1;
	transform: scale(1.01);
}

/* Intro */

.intro-container {
	position: relative;
	padding: 2rem 3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
}

.intro-container-text {
	flex: 2;
}

.intro-container-image {
	flex: 1;
}

/* CONTENT */

.container {
  padding: 2rem 3rem;
  font-family: 'Segoe UI', sans-serif;
  color: var(--container-color);
  line-height: 1.5;
  border-radius: 1rem;
  transition: box-shadow 0.3s ease;
}

.container:hover {

}

.container h1 {
  font-size: calc(1.7rem + var(--font-size-larger));
  color: var(--container-h1-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 5px solid #1e90ff;
  padding-left: 0.75rem;
}

.container p {
	margin-bottom: 1.5rem;
}

@media screen and (max-width: 600px) {
  .container {
    padding: 2rem;
  }

  .container h1 {
    font-size: calc(1.3rem + var(--font-size-larger));
  }
}