:root {
  --kontakt-container-shadow: 0 5px 15px rgba(0,0,0,0.05);
  --bg-gradient-before-start: #356bb2;
  --bg-gradient-start: #2c5391;
  --bg-gradient-start-main: #2c5391; 
  --bg-gradient-middle: #80abdf;
  --bg-gradient-end: #f19ab7;
  
  --other-main-text-color: black;
  --inner-main-text-color: black;
  --outer-main-text-color: black;
  --kontakt-text-color: black;
  
  --h-text-color-1: #080f38;
  --h-text-color-2: #154555;
  --h-text-color-3: #083813;
  --h-red-text-color: #5d070a;
  --h-text-hover-color: #8294ff;
  
  --h2-font-size: 1.2rem;
}

[data-theme="dark"] {
  --kontakt-container-shadow: 0 5px 15px rgba(250,240,240,0.05);
  --other-main-text-color: #ccccc;
  --inner-main-text-color: #ccccc;
  --outer-main-text-color: #ccccc;
  --kontakt-text-color: #ccccc;
  
  --h-text-color-1: #a1aeff;
  --h-text-color-2: #74c3dd;
  --h-text-color-3: #29c74d;
  --h-red-text-color: #ff646a;
  --h-text-hover-color: #ffffe2;
}

[data-font-size="large"] {
  --h2-font-size: 1.4rem;
}

/* Body */

body {
	/*background: #356bb2;*/
}

/* Templates */

.bar-background {
	/*background: linear-gradient(to bottom, var(--bg-gradient-before-start), var(--bg-gradient-start));*/
}

/* MAIN */

main > *:first-child {
  margin-top: 0 !important;
}

body {
  
}

main {
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: 2rem;
  margin-top: 0;
  color: var(--text-color);
  /*background: linear-gradient(to bottom, var(--bg-gradient-start-main), var(--bg-gradient-middle), var(--bg-gradient-middle), var(--bg-gradient-middle), var(--bg-gradient-end));
*/}

.main-wrapper {

}

/* === EXPOSITION TEXT === */

.exposition {
  position: relative;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.5s ease, background 0.3s ease, opacity 1s ease;
  border-radius: 8px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  outline: 1px solid #304b7c;
  cursor: default;
  animation: fadeOut 0.5s ease;
  box-shadow: 0 -4px 6px -4px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
  overflow: hidden;
}

.exposition::before {
  position: absolute;
  content: '';
  inset: 0;
  background-image: var(--exposition-before-image);
  background-position: center;
  background-size: cover;
  transition: transform 0.65s ease-in-out;
  z-index: 0;
}

.exposition.hovering::before {
  transform: scale(1.01);
}

.exposition > * {
  position: relative;
  z-index: 1; /* Damit der Content über dem ::before liegt */
}

@keyframes fadeOut {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.exposition-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center; /* horizontal */
  align-items: center;
  transition: color 0.5s ease;
}

.exposition-wrapper h1 {
  margin-bottom: 5px;
  color: black;
  text-shadow: -1px -1px 0 #ffffe2, 1px  1px 0 #ffffe2;
}

.exposition-wrapper h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: black;
  font-size: var(--h2-font-size);
  text-shadow: -0.5px -0.5px 0 #ffffe2, 0.5px  0.5px 0 #ffffe2;
}

.exposition-wrapper p {
  margin-top: 5px;
  color: #ffffe2;
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(21, 40, 79, 0.5);
}

.exp-button-wrapper {
  display: flex;
  justify-content: space-between;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  position: relative;
  margin-bottom: 1rem;
}

/*.button-buttons {
  width: 75%
}

.a-buttons {
  width: 25%;
  display: flex;
  justify-content: center;
  gap: 5%;
}

@media (max-width: 1175px) {
  .button-buttons,
  .a-buttons {
    width: auto;
  }
}
*/

.exp-button-wrapper a {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.1s ease, transform 0.2s ease;
  background: linear-gradient(to right, rgba(175, 101, 149, 0.9), rgba(132, 117, 173, 0.9));
  border-radius: 8px;
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.exp-button-wrapper a::after {
  content: "";
  opacity: 0;
  left: 0;
  top: 0;
  border-radius: 8px;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(48, 75, 124, 0.9), rgba(87, 117, 169, 0.9));
  transition: opacity 0.3s ease, background 0.3s ease;
  will-change: transform, opacity;
  z-index: 0;
}

.exp-button-wrapper a:hover::after {
  opacity: 1;
  animation: opacityslide 0.2s ease;
}

.exp-button-wrapper a:hover {
  transform: scale(1.02);
}

.exp-button-wrapper a span {
  position: relative;
  z-index: 1;
}

.exp-button-wrapper button {
  all: unset;
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.1s ease, transform 0.2s ease;
  background: linear-gradient(to right, rgba(175, 101, 149, 0.9), rgba(132, 117, 173, 0.9));
  border-radius: 8px;
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.exp-button-wrapper button::after {
  content: "";
  opacity: 0;
  left: 0;
  top: 0;
  border-radius: 8px;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(48, 75, 124, 0.9), rgba(87, 117, 169, 0.9));
  transition: opacity 0.3s ease, background 0.3s ease;
  will-change: transform, opacity;
  z-index: 0;
}

.exp-button-wrapper button:hover::after {
  opacity: 1;
  animation: opacityslide 0.2s ease;
}

.exp-button-wrapper button:hover {
  transform: scale(1.02);
}

.exp-button-wrapper button span {
  position: relative;
  z-index: 1;
}

@keyframes opacityslide {
  0% {
	  transform: translateX(-100%);
	  opacity: 0.2;
  }
  50% {
	  transform: translateX(0%);
	  opacity: 0.2;
  }
  100% {
	  transform: translateX(0%);
	  opacity: 1;
  }
}

/* === MAIN INHALT === */

/* = Einleitung Outer Content = */

.einleitung-nav {
  text-align: left;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.3rem;
}

.einleitung-nav-a {
  all: unset;
  font-weight: bold;
  display: inline-block;
  box-sizing: border-box;
  color: white !important;
  padding: 8px 16px;
  background: rgba(48, 75, 124, 0.85);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.einleitung-nav-a.active {
  background: linear-gradient(to left, rgba(46, 48, 118, 0.85), rgba(51, 94, 169, 0.85));
  color: #ffffe2 !important;
}

.einleitung-nav a:hover {
  background: linear-gradient(to left, rgba(48, 75, 124, 0.8), rgba(87, 117, 169, 0.8));
  transform: scale(0.98);
  color: #ffffe2;
}

.einleitung-nav button:hover {
  background: linear-gradient(to left, rgba(48, 75, 124, 0.8), rgba(87, 117, 169, 0.8));
  transform: scale(0.98);
  color: #ffffe2;
}

.einleitung-nav-a.active:hover {
  background: linear-gradient(to left, rgba(53, 55, 137, 0.8), rgba(97, 99, 196, 0.85));
  transform: scale(0.98);
  color: #ffffe2
}


/* Einleitung scroll-id-margins */

#grund {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

#entlastung {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

#kontakt {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

/* == Outer Content Inhalt == */

.outer-main-content {
  padding: 1rem 2.5rem;
  padding-bottom: 2rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32, 82, 180, 0.2), rgba(29, 58, 114, 0.1), rgba(59, 100, 180, 0.2));
  color: var(--outer-main-text-color);
}

.hidden {
	display: none;
}

#outer-main-content,
#hidden-id {
  display: none;
}

html[data-status="false"] #outer-main-content {
  display: block;
}

html[data-status="true"] #hidden-id {
  display: block;
}

.outer-main-content-wrapper {
  display: flex;
  gap: 45px;
}

.outer-text {
  flex: 3;
  position: relative;
  animation: fadeIn 0.5s ease;
}

.outer-text a {
  text-decoration: none;
  color: var(--h-text-color-3);
}

.letter {
	display: inline-block;
	transform: translateY(-0.2rem);
}

.outer-text a:hover .letter {
	animation: bounceLetter 0.4s ease;
}

@keyframes bounceLetter {
	0% {
		transform: translateY(-0.2rem);
	}
	25% {
		transform: translateY(-0.3rem);
	}
	66% {
		transform: translateY(-0.15rem);
	}
	100% {
		transform: translateY(-0.2rem);
	}
}

.underline {
  text-decoration: underline;
  display: inline-block;
  transition: all 0.1s ease;
}

.underline:hover {
  text-decoration: none;
  color: green;
}

.outer-text p, .outer-text li {
	font-size: calc(1.05rem + var(--font-size-larger));
	margin: 0;
}

.outer-text p {
  margin-top: 0;
}

.outer-text h2 {
  margin-top: 2rem;
  font-size: calc(1.5rem + var(--font-size-larger));
  color: var(--h-text-color-3);
  cursor: default;
  display: inline-block;
}

/* In outer-content */

.mark-h2 a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.mark-h2-text {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.mark-h2-text:hover {
  transform: scale(1.02);
  color: #ffffe2;
}

.mark-h2:hover .mark-h2-text{
  color: var(--h-text-hover-color);
}

.mark {
  display: inline-block;
}

.outer-text h2:hover .mark {
  animation: scaleBounce 0.6s ease-in-out forwards;
}

@keyframes scaleBounce {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.04); }   /* weicher Einstieg */
  35%  { transform: scale(1.08); }   /* Höhepunkt früher */
  55%  { transform: scale(0.97); }   /* Rückfederung unter 1 */
  70%  { transform: scale(1.04); }   /* leichtes Überschwingen */
  85%  { transform: scale(1.015); }  /* Dämpfung */
  100% { transform: scale(1); }
}

.intro {
  display: inline-block;
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 500;
  color: var(--other-main-text-color);
}

.h2-with-intro {
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.h2-with-intro a {
  text-decoration: none;
  color: var(--h-text-color-1);
  border-radius: 8px;
  transition: color 0.3s ease;
}

.h2-with-intro button {
  all: unset;
  color: var(--h-text-color-2);
  transition: color 0.3s ease;
  cursor: pointer;
}

.outer-text-title-a {
  display: inline-block;
  transition: transform 0.3s ease;
  will-change: transform;
}

.outer-text-title-a:hover {
  transform: scale(1.02);
}

.h2-with-intro span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.h2-with-intro a:hover .cyclone {
  transform: rotate(-180deg) translateY(-3px);
}

.h2-with-intro a:hover {
  color: var(--h-text-hover-color);
  text-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.2);
}


.h2-with-intro button:hover {
  color: var(--h-text-hover-color);
  text-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.h2-with-intro button:hover .lense {
  animation: smoothCircleBottomSmall 0.6s linear;
  transform: scale(1.1);
}

@keyframes smoothCircleBottomSmall {
  0%     { transform: translate(0px, 0px) scale(1.0); }
  12.5%  { transform: translate(-1px, 0.5px) scale(1.1); }
  25%    { transform: translate(-1.5px, 1.5px) scale(1.1); }
  37.5%  { transform: translate(-1px, 2.5px) scale(1.1); }
  50%    { transform: translate(0px, 3px) scale(1.1); }
  62.5%  { transform: translate(1px, 2.5px) scale(1.1); }
  75%    { transform: translate(1.5px, 1.5px) scale(1.1); }
  87.5%  { transform: translate(1px, 0.5px) scale(1.1); }
  100%   { transform: translate(0px, 0px) scale(1.1); }
}

.outer-text ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.outer-text ol li {
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.last-p {
  padding-bottom: 4.5rem;
}

.to-bt-button {
  all: unset;
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  left: 50%;
  font-weight: bold;
  display: inline-block;
  box-sizing: border-box;
  color: white;
  padding: 8px 16px;
  margin-top: 1rem;
  background: rgba(48, 75, 124, 0.85);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.to-bt-button:hover {
  background: linear-gradient(to left, rgba(48, 75, 124, 0.8), rgba(87, 117, 169, 0.8));
  transform: translateX(-50%) scale(0.98);
}


/* Outer-Content right */

.outer-pic {
  flex: 1;
  padding-top: 2rem;
  animation: fadeIn 0.5s ease;
  min-width: 50px;
}

.outer-pic-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  align-self: flex-start; /* verhindert vertikales Strecken */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 2.5s ease;
  z-index: 0;
}

.outer-pic-wrapper {
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid black;
  z-index: 1;
}

.pic-line {
  position: absolute;
  opacity: 0;
  left: 48%;
  top: 39%;
  transform: translateX(-52%) translateY(-61%);
  z-index: 2;
  color: #ffffe2;
  text-shadow: -1px -1px 0 black, 1px  1px 0 black;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
}

@keyframes opacityDelay {
  0% {
	  opacity: 0;
  }
  20% {
	  opacity: 0;
  }
  40% {
	  opacity: 0;
  }
  60% {
	  opacity: 0;
  }
  100% {
	  opacity: 1;
  }
}

.outer-pic-wrapper img:hover {
  transform: scale(3.5) translateY(15%) translateX(-9.5%);
}

.outer-pic-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(0.98);
}

.outer-pic-wrapper:hover .pic-line {
  animation: opacityDelay 3.5s ease;
  opacity: 1;
}

/* === Inner Main Text === */

/* Scroll-id-margins */

#definition {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

#angebote {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

#preise {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

#kalender {
  scroll-margin-top: 100px; /* oder z.B. 20px, je nach gewünschtem Abstand */
}

/* == Inner Main Content == */

.bt-main-content {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  background: linear-gradient(180deg, rgba(32, 82, 180, 0.2), rgba(29, 58, 114, 0.1), rgba(59, 100, 180, 0.2));
  color: var(--other-main-text-color);
  border-radius: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.inner-main-content-wrapper {
  display: flex;
  gap: 45px;
}

.bt-main-text { 
  opacity: 0;
  flex: 3;
  min-width: 0;
  color: var(--inner-main-text-color);
  transition: transform 0.9s ease, opacity 1s ease;
  transform: translateY(25px);
  animation: fadeIn 0.5s ease;
}

.bt-main-text.visible { 
  opacity: 1;
  transform: translateY(0);
}

#definition {
	color: #16c60c;
	/*text-shadow: -0.5px -0.5px 0 black, 0.5px  0.5px 0 black;*/
}

#angebote {
	color: var(--h-text-color-1);
}

#important {
	color: var(--h-red-text-color);
}

#preise {
}

.bt-main-text button {
  all: unset;
  font-weight: bold;
  display: inline-block;
  box-sizing: border-box;
  color: white;
  padding: 8px 16px;
  background: rgba(48, 75, 124, 0.85);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.bt-main-text button:hover {
  background: linear-gradient(to left, rgba(48, 75, 124, 0.8), rgba(87, 117, 169, 0.8));
  transform: scale(0.98);
}

.font-bold {
	font-weight: bold !important;
}

.bt-main-text h3 {
	font-weight: 600;
}

.bt-main-text a {
  color: #085305;
  text-decoration: underline;
  transition: color 0.1s ease;
}

.bt-main-text a:hover {
  color: #35db42;
  text-decoration: none;
}


/* Bild NEBEN Main Text */

.bt-main-contentbox {
  opacity: 0;
  flex: 1; /* Bilder-Container nimmt 3 Teile des verfügbaren Raums ein */
  min-width: 0;
  transition: transform 0.9s ease, opacity 0.9s ease;
  transform: translateY(25px);
  margin-top: 2rem;
  animation: fadeIn 0.5s ease;
}

.bt-main-contentbox.visible { 
  opacity: 1;
  transform: translateY(0);
}

.sticky-wrapper {
  position: sticky;
  top: 6rem;
  transition: background 0.5s ease;
  border-radius: 8px;
}

.sticky-wrapper:hover img {
  transform: scale(0.98);
}

.sticky-wrapper:hover {
  border: 0.5px solid rgba(20, 2, 174, 0.3);
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(34, 66, 121, 0.9), rgba(94, 99, 153, 0.1));
}

.sticky-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  align-self: flex-start; /* verhindert vertikales Strecken */
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pic-nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.3s ease;
  align-items: stretch;
}

.pic-nav span {
  display: block;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
}

.pic-nav a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  transition: transform 0.3s ease;
  font-weight: bold;
  position: relative;
}

.pic-nav a:nth-child(1) {
  margin-top: 2px;
}

.pic-nav a:last-child {
	border-radius: 0 0 8px 8px;
}

.pic-nav a:hover {
  color: #3add48;
  background: linear-gradient(to right, rgba(200, 200, 200, 0.5), rgba(60, 52, 32, 0.4));
}

.pic-nav a:hover span {
  transform: scale(1.05) translateX(5px);
}

.sticky-wrapper:hover .pic-nav {
  opacity: 1;
  position: relative;
  margin-top: -0.2rem;
}

.sticky-wrapper:not(:hover) .pic-nav {
  transition: opacity 0s ease, transform 0s ease;
}

.bt-main-contentbox video {
  height: 100%;
  width: 100%;
  border-radius: 8px;
}

/* === TITEL PREIS TABLE === */

.wrapper-title-preis-table {
  display: flex;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.wrapper-title-preis-table.visible {
  opacity: 1;
}

.title-preis-table {
  flex: 3;
  margin-bottom: 0;
  margin-top: 0;
  min-width: 0;
  font-size: 1.8em;
  color: #333;
  text-align: center;
}

.title-preis-table h3 {
  margin-bottom: 0;
  margin-top: 0;
}

.right-title-preis-table {
  flex: 1;
  min-width: 0;
}

/* === PREIS TABLE === */

.preis {
  display: flex;
  min-width: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  margin-right: 35px;
  margin-left: 35px;
}

.preis.visible {
  opacity: 1;
}

.preis-table {
  display: flex;
  flex: 3;
  padding: 30px;
  min-width: 0;
  border-radius: 16px;
  text-align: center;
  gap: 20px;
}

.preis-table p {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 0.7rem;
}

table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 1.1em;
}

th, td {
  border: 1px solid #ddd;
  padding: 16px;
}

th {
  background-color: rgba(200, 200, 200, 0.5);
  font-weight: bold;
}

td {
  background-color: rgba(200, 200, 200, 0.7);
}

tr:hover td {
  background-color: rgba(200, 200, 200, 0.4);
}

.neben-preis {
  flex: 1;
  min-width: 0;
}

/* === KALENDER === */

.kalender {
  max-width: 1500px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 16px;
  /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);*/
  opacity: 0;
  transition: opacity 1s ease;
  background: linear-gradient(45deg, rgba(81, 130, 202, 0), rgba(48, 100, 176, 0), rgba(67, 129, 219, 0));
}

.kalender.visible {
  opacity: 1;
}

.kalender h3 {
  margin-bottom: 5px;
  margin-top: 0;
  text-align: center;
}

.kalender p {
  font-size: calc(0.9rem + var(--font-size-larger));
  margin-bottom: 0;
  margin-top: 5px;
  text-align: center;
}

.kalender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}


.tag-box {
  display: inline-block;
  color: rgba(0, 0, 0, 1);
  border-radius: 12px;
  background: rgba(217, 230, 242, 1);
  outline: 0.5px solid rgba(0, 40, 40, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
  align-content: center;
  cursor: default;
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
}

.tag-box:hover{
  background: rgba(10, 143, 27, 0.9);
  transform: translateY(4px);
}

.nicht-verfuegbar {
  color: rgba(62, 6, 6, 1);
  background: rgba(229, 105, 105, 0.8);
  border: 1px solid #ff6b6b;
}

.nicht-verfuegbar:hover {
  background: rgba(217, 25, 28, 0.85);
}

.red-cross-icon {
  position: absolute;
  margin-bottom: 0;
  margin-left: 0.3rem;
  font-size: 24px;
  color: #ff4d4d;
  margin-top: 9px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.beschreibung {
  margin-top: 6px;
  font-size: calc(1rem + var(--font-size-larger));
  background: #e5a1a5;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ffdada;
  min-height: 20px;
  min-width: 20px;
}

/* === KONTAKT CONTAINER === */

.kontakt-input {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 2rem;
  margin-bottom: 1rem;
  color: var(--kontakt-text-color);
  opacity: 0;
  transition: opacity 0.6s ease;
  background: linear-gradient(180deg, rgba(59, 100, 180, 0.2), rgba(48, 100, 176, 0.1), rgba(219, 67, 122, 0.1));
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}

.kontakt-input.visible {
  opacity: 1;
}

.kontakt-container {
  flex: 3;
  min-width: 0;
  align-self: center;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 12px;
  /*box-shadow: var(--kontakt-container-shadow);*/
}

.kontakt-container h1 {
  text-align: center;
  margin-bottom: 1.5em;
}

.kontakt-container svg {
	fill: var(--text-color);
}

.form-group {
  margin-bottom: 1.2em;
}

.form-group p {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: calc(0.7rem + var(--font-size-larger));
}

.form-group-extra label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
}

.form-group-extra input,
.form-group-extra textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.kontakt-container textarea {
  resize: vertical;
  min-height: 100px;
}

.datenschutz {
	margin-bottom: 1.5rem;
	font-size: calc(0.9rem + var(--font-size-larger));
}

.datenschutz a {
	text-decoration: none;
	margin-bottom: 0.2rem;
	color: #0953ae;
	border-bottom: 1px solid #0953ae;
	transition: color 0.1s ease;
	font-weight: 500;
}

.datenschutz a:hover {
	border-bottom: none;
	color: #0475ff;
}

.kontakt-container button {
  width: 100%;
  padding: 0.9em;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kontakt-container button:hover {
  background-color: #0056b3;
}

input[type="email"],
input[type="tel"],
textarea {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #333;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%; /* skaliert gut */
  box-sizing: border-box;
  resize: vertical; /* erlaubt Höhe verändern */
}

#feedback {
  margin-top: 1.2em;
  font-weight: bold;
  text-align: center;
}

/* USER CHECKBOX */

.form-group-check label {
	display: flex;
	gap: 0.25rem;
	padding: 0.15rem 0;
}

.form-group-check label input {
	width: unset;
}

/* Neben Kontakt Box */

.kontakt-nebenbox {
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin-top: 2rem;
  margin-bottom: 3rem;
  margin-right: 2rem;
  border-radius: 8px;
}

.nebenbox-text {
  order: 1;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  outline: 1px solid rgba(0, 0, 0, 1);
  border-radius: 8px;
}

.nebenbox-img {
  order: 2;
  padding-top: 1rem;
  padding-bottom: 0;
}

.nebenbox-img img {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}


/* === MEDIA === */

@media (max-width: 767px) {
	.outer-main-content-wrapper,
	.kontakt-input,
	.inner-main-content-wrapper	{
		flex-direction: column;
	}
}

@media (max-width: 425px) {
	main {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.exposition-wrapper p {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	.exp-button-wrapper {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	.outer-main-content {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
	}
	.mark-h2 a,
	.h2-with-intro a,
	.h2-with-intro button {
		display: flex;
		gap: 0.5rem;
	}
	.lense,
	.mark,
	.cyclone {
		align-content: center;
	}
	.kontakt-nebenbox {
		margin-right: 0 !important;
	}
}