@import "fonts.css";
/* @import "print.css"; */


/* --------------------------------------------------------------------------------------------------- */


:root {
  --site-width: 1280px;
  --site-margin: 60px;
  --site-padding: 20px;
  --gallery-gap: 10px;
  --element-gap: 15px;

  /* --header-bg-color: hsla(220, 8%, 20%, 1);
  --footer-bg-color: hsla(220, 8%, 20%, 1); */

  --header-bg-color: hsla(228, 6%, 15%, 1);
  --footer-bg-color: hsla(228, 6%, 15%, 1);

  --button-color: #505259;
  --golden: #c2a770;
  --link-color: #3082d4;
  --gum-red: #cc3300;

  --success-color: #cdff69;
  --error-color: var(--gum-red);

  --main-text-color: rgba(0, 10, 20, 0.7) !important;
  --radius: .2rem;
  --text-gradient: linear-gradient(90deg, #17bed0, #4137cf 52.5%, #fa595d);
  --transition-time: 200ms;
}

html, body {
  margin: 0;
  padding: 0;
  /* height: 100%; */
  color: var(--main-text-color);
}

body {
  /* font: normal 17px/1.6 'Red Hat Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
  /*font-optical-sizing: auto; /* Quicksand */
  /* color: #282e36; */
  /* background: linear-gradient(135deg, hsla(200, 70%, 70%, 0.2) 0%, hsla(240, 70%, 70%, 0.2) 100%); */
  background: #f8f8f8;
  /* overflow-x: hidden; */
  /* max-width: var(--site-width); */
  /* margin: 0 auto; */
  /* padding: var(--site-padding); */
  overflow-y: scroll;
  scrollbar-width: thin;
}

*, *:before, *:after {
  box-sizing: border-box;
  /* font-size: 18px; */
  font: normal clamp(1rem, 1.2vw, 1.15rem)/1.5 'Red Hat Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  /* font-size: clamp(1rem, 1.2vw, 1.1rem); */
  font-size: clamp(1rem, 1.1vw, 1.1rem);
}

/* p, li {
  font: normal clamp(.9rem, 1.1vw, 1rem)/1.5 'Roboto Slab', 'Red Hat Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
} */

/* --------------------------------------------------------------------------------------------------- */


.text-gradient {
  /* background: var(--text-gradient); */
  background-image: var(--text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0,0,0,0);
  width: fit-content;
}


h1 {
  hyphens: auto;
}

h1:first-of-type:not(.swiper h1) {
  font-size: 2.4em;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
  margin-bottom: calc(var(--site-padding) * 2);
}

body.home h1:first-of-type:not(.swiper h1),
body.timeline_body h1:first-of-type:not(.swiper h1),
body.discography h1:first-of-type:not(.swiper h1),
body.news-article h1:first-of-type:not(.swiper h1) {
  /* margin-bottom: var(--site-margin); */
  margin-bottom: calc(var(--site-padding) * 2);
}

body.project h1:first-of-type:not(.swiper h1),
body.projects h1:first-of-type:not(.swiper h1)  {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------------------------------- */


/* Animierter Gold-Schimmer auf der Schrift */
.gold {
  /* text-shadow: 2px 2px 8px rgba(0,0,0,.3); */
  background: linear-gradient(45deg,
  rgba(186,148,62,1) 0%,
  hsl(41, 70%, 80%) 20%,
  rgba(186,148,62,1) 40%,
  rgb(255, 250, 216) 50%,
  rgba(186,148,62,1) 60%,
  hsl(41, 70%, 80%) 80%,
  rgba(186,148,62,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;	
  animation: shine 12s infinite;
  background-size: 400%;
  background-position: +200%;
}

@keyframes shine {
  0% {background-position: +200%}
  100% {background-position: -200%}
}

/* --------------------------------------------------------------------------------------------------- */


a {
  color: var(--link-color);
  /* text-decoration: 2px solid underline; */
  text-decoration-thickness: 2px;
  text-decoration-style: solid;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2.5px;
  transition: all var(--transition-time);
}

a:hover {
  color: var(--main-text-color);
  text-decoration-color: var(--link-color);
}

strong {
  font-weight: 700;
}

ul, ol {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Anfang Liste innerhalb des Contents */
body.home main ul,
body.privacypolicy main ul {
  margin-left: 1rem;
}

body.home main ul li,
body.privacypolicy main ul li {
  position: relative;
  margin: 0 0 1.5cap 0;
}

body.home main ul li::before,
body.privacypolicy main ul li::before {
  position: absolute;
  left: -1rem;
  color: var(--link-color);
  font-weight: 600;
  /* content: '\2022'; */ /* Unicode Character „•“ */
  content: '\002b';
}

main em {
  font-style: italic;
  font-weight: 600;
  color: inherit;
}
/* Ende Liste innerhalb des Contents */

body.privacypolicy h2 {
  color: var(--link-color);
}

body.privacypolicy p + h2 {
  margin-top: 2rem;
}

body.privacypolicy h2 + p {
  margin-top: 2rem;
}

p {
  margin: 0 0 1.5cap 0;
}

sup, sup *,
sub, sub * {
  font-size: 80%;
  font-weight: 600;
  line-height: 1;
}

h2 {
  font-size: 120%;
  margin-top: 0;
  font-weight: 700;
}

h3 {
  font-size: 110%;
  margin-top: 2rem;
  /* margin-bottom: 2.07cap; */
  margin-bottom: 1rem;
  font-weight: 700;
}

.align_center {
  text-align: center;
}

.edit a em {
  color: var(--golden);
  transition: all var(--transition-time);
}

.edit a::before {
  display: inline-block;
  margin-right: .2rem;
  content: '\270E';
  font-size: 95%;
  rotate: 90deg;
}

.edit a:hover em {
  color: rgba(255,255,255,0.8);
}

/* Edit-Link auf Diskografie */
a.edit-project {
  margin: 1rem 0 .5rem 0;
  display: inline-block;
  border-radius: var(--radius);
  background-color: var(--link-color);
  padding: 6px 12px 6px 8px;
  color: white;
  font-size: 80%;
  font-weight: 600;
  line-height: 1;
}

a.edit-project::before {
  display: inline-block;
  margin-right: .2rem;
  content: '\270E';
  font-size: 100%;
  rotate: 90deg;
}

a.edit-project:hover {
  background-color: var(--golden);
  color: white;
  text-decoration-color: transparent;
}

/* --------------------------------------------------------------------------------------------------- */


/* header {
  width: 100%;
} */

.action-bar {
  width: 100%;
  background-color: var(--header-bg-color);
  color: rgba(255,255,255, 0.8);
  /* position: fixed;
  top: 0;
  z-index: 1000; */
}

.action-bar > ul {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: calc(var(--site-padding) / 2) var(--site-padding);
  display: flex;
  justify-content: space-between;
}

/* 3 gleichmäßige Spalten */
/* Durch justify-content: space-between automatische Aufteilung */
/* .action-bar > div > * {
  flex: 1 1 33.33333%;
} */

.action-bar a {
  color: hsl(210, 80%, 70%);
}

.action-bar a:hover {
  color: rgba(255,255,255, 0.9);
  text-decoration-color: hsl(210, 80%, 70%);
  /* text-decoration-color: transparent; */
}

.contact-phone::before,
.contact-fax::before,
.contact-smartphone::before,
.contact-email::before {
  content: '';
  position: relative;
  display: inline-block;
  filter: invert(69%) sepia(28%) saturate(514%) hue-rotate(2deg) brightness(95%) contrast(82%);
  width: 18px;
  height: 18px;
  transition: all var(--transition-time);
}

.contact-phone::before {
  top: 0.1rem;
  background: url('../images/icons/phone.svg') no-repeat center center / contain;
  margin-right: .5rem;
}

.contact-fax::before {
  top: 0.1rem;
  background: url('../images/icons/fax.svg') no-repeat center center / contain;
  margin-right: .5rem;
}

/* <a href="tel:+491724531151" class="contact-smartphone">0172 453 1151</a> */
.contact-smartphone::before {
  top: 0.15rem;
  background: url('../images/icons/smartphone.svg') no-repeat center center / contain;
  margin-right: .5rem;
}

.contact-email::before {
  top: 0.2rem;
  background: url('../images/icons/email.svg') no-repeat center center / contain;
  margin-right: .5rem;
}

footer .address a:hover::before,
.action-bar a:hover::before {
  filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(282deg) brightness(105%) contrast(101%);
}

/* --------------------------------------------------------------------------------------------------- */


@media all and (max-width: 640px) {
  
  .action-bar {
    display: none;
  }

  .action-bar > ul {
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: calc(var(--site-padding) / 2) var(--site-padding);
    display: flex;
    justify-content: space-between;
    flex-flow: column;
  }

}

/* --------------------------------------------------------------------------------------------------- */


.swiper {
  width: 100%;
  height: 560px;
  background-color: var(--header-bg-color); /* Gegen Blitzer an den Rändern */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: no-repeat center center / cover;
  padding-bottom: calc(var(--site-padding) * 2);
}
  
.swiper-headline-wrapper {
  width: 100%;
  max-width: var(--site-width);
  padding: 0 var(--site-padding);
}

.swiper h1 {
  font-weight: 700;
  color: rgba(255,255,255, 0.9);
  display: inline;
  background-color: hsla(228, 10%, 20%, 0.9);
  padding: 0px 1rem 6px .8rem;
  line-height: 2.3cap;
  box-decoration-break: clone;
  border-radius: var(--radius);
  font-size: min(max(24px, 5vw), 40px) !important;
  /* font-size: 2.4em; */
  /* font-size: 240%; */
}

.swiper h1:empty {
  display: none;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--golden) !important;
}

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 767px) {

  .swiper {
    height: 320px;
  }
}

/* --------------------------------------------------------------------------------------------------- */


nav.main-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  /* border: 1px solid greenyellow; */
  background-color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  /* filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); */
}

nav.main-navigation > ul {
  /* width: 100%;
  max-width: calc(var(--site-width) - calc(var(--site-padding) * 2)); */
  display: flex;
  /* justify-content: space-between; */
  /* justify-content: space-around; */
  justify-content: center;
  /* background-color: #f8f8f8; */
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  /* border: 1px solid red; */
  /* background-color: #cbd5e1; */
}

nav.main-navigation > ul li a {
  display: block;
  padding: var(--site-padding) calc(var(--site-padding) * 2);
}

nav.main-navigation > ul li.current a {
  /* background-color: var(--header-bg-color); */
  /*background-color: #f8f8f8; /* Page-BG */
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2.5px;
}

nav.main-navigation > ul li.current a {
  max-width: fit-content;
}

nav.main-navigation > ul li.current a:hover {
  text-decoration-color: transparent;
}

nav.main-navigation > ul li:first-child a {
  border-bottom-left-radius: var(--radius);
}

nav.main-navigation > ul li:last-child a {
  border-bottom-right-radius: var(--radius);
}


/* New Layout/Design */
/* nav.main-navigation {
  position: relative;
  z-index: 5000;
}

nav.main-navigation > ul {
  position: absolute;
  bottom: 0;
  max-width: calc(var(--site-width) + calc(var(--site-padding) * 2));
  background-color: #f8f8f8;
}

nav.main-navigation > ul li a {
  padding: var(--site-padding) calc(var(--site-padding) * 2);
} */

.showhide {
  all: unset;
  min-width: 60px;
  height: 60px;
  /* background: #9acd32; */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden; /* Verhindert kleine Artefakte beim Drehen */
  outline: none; /* Für saubereren Look, aber Barrierefreiheit beachten (z.B. mit :focus-visible nachschärfen) */
}

/* Grundstyling für alle Linien */
.showhide line {
  transition: all var(--transition-time); /* Weiche Animation für alle Änderungen */
}

/* === Animation zum Schließen-Kreuz (getriggert durch [aria-expanded="true"]) === */

.showhide[aria-expanded="true"] line {
  stroke: #9acd32; /* Das gewünschte Gelbgrün */
}

/* Obere Linie: Dreht sich 45° nach rechts, Mittelpunkt ist transform-origin: 3px 6px */
.showhide[aria-expanded="true"] line:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: 3px 6px;
}

/* Mittlere Linie: Wird unsichtbar und schiebt sich nach rechts */
.showhide[aria-expanded="true"] line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

/* Untere Linie: Dreht sich 45° nach links, Mittelpunkt ist transform-origin: 3px 18px */
.showhide[aria-expanded="true"] line:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: 4px 18px;
}

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 767px) {

  nav.main-navigation {
    justify-content: flex-end;
  }

  nav.main-navigation > ul {
    width: 100%;
    flex-flow: column;
    display: none;

    /* display: flex; 
    margin-top: -100%;
    transition: all var(--transition-time); */
  }
  
  nav.main-navigation > ul.is-open {
    display: flex; 
    margin-top: 0;
  }

  nav.main-navigation > ul li/*:not(:last-child)*/ {
    border-bottom: 1px solid rgba(0,0,0,.2);  
  }

  nav.main-navigation > ul li a {
    padding: var(--site-padding) calc(var(--site-padding) * 2);
    padding: var(--site-padding);
  }
}

/* --------------------------------------------------------------------------------------------------- */


@media (min-width: 768px) {

  .showhide {
    display: none;
  }

  nav.main-navigation > ul {
    display: flex;
    width: calc(100% - 100px);
  }
}

/* --------------------------------------------------------------------------------------------------- */


main {
  width: 100%;
}

main p:last-child {
  margin-bottom: 0;
  /* border: 1px solid greenyellow; */
}

main > .section-wrapper > .section-wrapper-content {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: var(--site-margin) var(--site-padding) var(--site-margin) var(--site-padding);
  /* border: 1px solid red; */
}

/* body.home main > .section-wrapper > .section-wrapper-content {
  padding-top: calc(var(--site-margin) * 2);
} */

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 767px) {

  main > .section-wrapper > .section-wrapper-content {
    padding: var(--site-padding) var(--site-padding) var(--site-margin) var(--site-padding);
  }
  
}

/* --------------------------------------------------------------------------------------------------- */


.main-cards {
  display: flex;
  justify-content: space-between;
  gap: var(--site-margin);
  margin-bottom: var(--site-margin);
  /* border: 1px solid red; */
}

/*
.main-cards > a {
  position: relative;
  flex: 1 1 25%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1;
  padding: 24px 30px 20px 30px;
  border-radius: var(--radius);
  background: transparent no-repeat center center / cover;
  transition: all var(--transition-time);
}

.main-cards > a.musiker   {background-image: url('../images/musiker.webp');}
.main-cards > a.produzent {background-image: url('../images/produzent.webp');}
.main-cards > a.visionaer {background-image: url('../images/visionaer.webp');}

.main-cards > a:hover {
  text-decoration-color: transparent;
  background-size: 200% !important;
}
*/

.main-cards > a {
  position: relative;
  z-index: 1;
  flex: 1 1 25%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1;
  /* padding: 24px 30px 20px 30px; */
  padding: 24px 30px 30px 30px;
  border-radius: var(--radius);
  overflow: hidden;
  /* transition: all calc(var(--transition-time) * 2); */
}

.main-cards > a:hover {
  text-decoration-color: transparent;
  /* transform: scale(1.02); */
}

.main-cards > a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 100%);
}

.main-cards > a::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*inset: 0; /* https://developer.mozilla.org/de/docs/Web/CSS/Reference/Properties/inset */
  background: transparent no-repeat center center / cover;
  transition: all var(--transition-time);
}

/* .main-cards > a.musiker::before   { background-image: url('../images/musiker.webp'); } */
.main-cards > a.musiker::before   { background-image: url('../images/musiker.png'); }
/* .main-cards > a.komponist::before { background-image: url('../images/visionaer.webp'); } */
.main-cards > a.komponist::before { background-image: url('../images/komponist.png'); }
/* .main-cards > a.produzent::before { background-image: url('../images/produzent.webp'); } */
.main-cards > a.produzent::before { background-image: url('../images/harry-gutowski-studio.webp'); background-position: top center;}


.main-cards > a:hover::before {
  transform: scale(1.1);
  filter: saturate(1.5);
}

.main-cards h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1rem;
  margin: 0 0 1rem 0;
}

.main-cards p {
  /* display: none; */
  color: white;
}

.main-cards > a span {
  font-weight: 600;
  transition: color var(--transition-time);
}

.main-cards > a:hover span {
  color: white;
}

.main-cards > a h2 {
  transform-origin: left bottom;
  transition: transform var(--transition-time);
}

.main-cards > a:hover h2 {
  transform: scale(1.2);
}

/* Content über den Verlauf bei ::after holen */
/* .main-cards { 
    h2, p, span {
    position: relative;
    z-index: 1;
  }
} */

.main-cards h2,
.main-cards p,
.main-cards span {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------------------------------- */


@media all and (max-width: 767px) {

  .main-cards {
    display: flex;
    justify-content: space-between;
    flex-flow: column;
    gap: var(--site-margin);
    margin-bottom: var(--site-margin);
  }

  .main-cards > a {
    flex: 1 1 100%;
    aspect-ratio: 2 / 1;
    overflow: visible;
  }

  .main-cards > a::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*inset: 0; /* https://developer.mozilla.org/de/docs/Web/CSS/Reference/Properties/inset */
    background: transparent no-repeat center center / cover;
    transition: all var(--transition-time);
  }

  .main-cards > a.musiker::before   { background-position: top center; }
  /* .main-cards > a.produzent::before { background-position: bottom center; } */
  .main-cards > a.produzent::before { background-position: top center; }
  .main-cards > a.komponist::before { background-position: top center; }

  .main-cards > a:hover h2,
  .main-cards > a:hover::before {
    transform: none;
    filter: none;
  }

}

/* --------------------------------------------------------------------------------------------------- */


.columns {
  display: flex;
  gap: var(--site-margin);
}

.columns > *:first-child {
  flex-basis: 70%;
}

.columns > *:last-child {
  flex-basis: 30%;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Wenn nur EINE Spalte in .columns vorhanden ist: */
.columns > *:only-child {
  flex-basis: 100%;
  background-color: transparent;
}

/* ----------------------------------------------- */


body.contact .columns > *:first-child {
  flex-basis: 60%;
}

body.contact .columns > *:last-child {
  flex-basis: 40%;
  /* background-color: rgba(0, 0, 0, 0.05); */
  background-color: transparent;
}

/* ----------------------------------------------- */


/* Rechte Spalte bei project.php */
body.project .columns > .project-links-wrapper {
  /* padding: 24px 30px; */
  background-color: transparent;
  border-left: .076rem dashed rgba(0,0,0,.35);
  padding-left: 60px; /* 30px */
}

/* Verlinkungen unter „Weiterführende Links“ */
ul.project-links li:not(:last-child) {
  margin-bottom: 1rem;
  /* border-bottom: 1px solid red; */
}

/* --------------------------------------------------------------------------------------------------- */


@media all and (max-width: 767px) {
  
  .columns {
    flex-flow: column;
    gap: calc(var(--site-margin) / 2);
  }

  /* Rechte Spalte bei project.php */
  body.project .columns > .project-links-wrapper {
    border-left: none;
    padding-left: 0;
  }

}

/* --------------------------------------------------------------------------------------------------- */


/* News-Spalte auf der Startseite */
body.home .columns > *:last-child,
body.news-article .columns > .news {
  /* padding: 30px; */
  /* border-radius: var(--radius); */

  /* Angleichung an Projekt-Seite */
  background-color: transparent;
  border-left: .076rem dashed rgba(0,0,0,.35);
  padding-left: 30px; /* 30px */
}

.news h2:first-child {
  margin: 0 0 1rem 0;
}

.news h2:first-child a,
body.project *:last-child h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 30px;
  padding: 0;
}

body.project *:last-child h2 {
  /* margin: 0 0 1.87rem 0; */
  margin: 0 0 1.71rem 0;
}

.news article a.news-article {
  display: block;
  padding: 24px 30px 20px 30px;
  /* background-color: rgba(255,255,255, 0.2); */
  transition: all var(--transition-time);
  border-radius: var(--radius);
}

.news article a.news-article:hover {
  background-color: rgba(255,255,255, 0.9);
  text-decoration-color: transparent;
  transform: translateY(-2px);
}

.news article a.news-article:hover .headline,
.news article a.news-article:hover .more {
  color: var(--link-color);
}

.news * {
  /* line-height: 1.4; */
  hyphens: auto;
}

.news .date {
  font-size: 0.88rem;
  margin: 0 0 .5rem 0;
  line-height: 1;
}

.news .date,
.news .headline {
  color: var(--main-text-color);
  font-weight: 650;
}

.news .headline {
  color: inherit;
  margin: 0 0 .2rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.news .teaser {
  color: var(--main-text-color);
  margin: 0 0 .5rem 0;
}

.news .more {
  font-weight: 600;
}

body.news-article .date {
  color: var(--main-text-color);
  font-weight: 600;
}

/* --------------------------------------------------------------------------------------------------- */


@media all and (max-width: 767px) {
  
  .news article a.news-article {
    padding: 24px 30px 20px 30px;
    padding: 0;
    border-radius: 0;
  }

  .news article a.news-article:not(:last-of-type) {
    margin-bottom: calc(var(--site-padding) * 2);
  }

  /* News-Spalte auf der Startseite und auf der Artikel-Seite*/
  body.home .columns > *:last-child,
  body.news-article .columns > .news {
    border-left: none;
    padding-left: 0;
  }

  .news h2:first-child a,
  body.project *:last-child h2 {
    display: inline-block;
    margin: 0 0 1rem 0;
  }
}

/* --------------------------------------------------------------------------------------------------- */


/* Filter-Leiste */
.filter-bar {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: stretch;
  gap: var(--element-gap);
  /* background-color: rgba(0, 10, 20, 0.07); */
  /* Padding nur in Kombination mit Hintergrundfarbe */
  /* padding: 1rem; */
  border-radius: var(--radius);
  /* margin-bottom: calc(var(--site-margin) / 2); */
  margin-bottom: var(--element-gap);
  /* align-items: flex-start; */
}

/* .filter-bar select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.95rem;
  background-color: #fff;
  cursor: pointer;
} */

/* Die einzelnen Filter-Block-Gruppen */
.filter-group {
  margin: 0;
  border: none;
  border-radius: var(--radius);
  padding: 10px calc(var(--element-gap) / 2) calc(var(--element-gap) / 2) calc(var(--element-gap) / 2);
  padding: 10px calc(var(--element-gap) / 2) 3px calc(var(--element-gap) / 2);
  /* padding: 10px var(--element-gap) calc(var(--element-gap) / 2) var(--element-gap); */
  /* display: flex; */
  /*flex-wrap: wrap; /* Pills nebeneinander anordnen */
  /* gap: 8px; */
  /* align-items: flex-start; */
  /* border: .15rem solid rgba(0,0,0,.15); */
  
  /* background-color: rgba(0, 10, 20, 0.07); */
  background: linear-gradient(to bottom, rgba(0,10,20,0) 0%, rgba(0,10,20,0.07) 40%);
}

/* ----------------------------------------------- */


/* Safari iOS since Safari 9 */
/* https://stackoverflow.com/questions/16348489/is-there-a-way-to-apply-styles-to-safari-only */
@supports (font: -apple-system-body) { 
  .filter-group {
    background: rgba(0, 10, 20, 0.06);
    /* background: linear-gradient(to bottom, rgba(0,10,20,0) 0%, rgba(0,10,20,0.07) 100%); */
    /* background: -webkit-linear-gradient(bottom, rgba(0,10,20,0), rgba(0,10,20,0.07) 100%); */
  } 
}

/* ----------------------------------------------- */


.filter-group:first-of-type {
  /* min-width: 200px; */
  min-width: 250px;
}

.filter-group:last-of-type {
  /* min-width: 200px; */
  min-width: 400px;
}

/* min-width macht nur bei wenigen Einträgen optischen Sinn */
.filter-group:first-of-type,
.filter-group:last-of-type {
  min-width: unset;
}

.filter-group:nth-of-type(2) {
  min-width: 235px;
}




/* .filter-group:not(:last-of-type) {
  border: 1px solid red;
} */

/* Überschriften (Genres:, Rollen:, etc.) */
.filter-group legend {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(0, 10, 20, 0.7);
  /* margin-bottom: 10px; */
  /*width: 100%; /* Zwingt die Pills in die Zeile unter die Überschrift */
  /* padding: 0 8px; */
}

/* Natives Checkbox-Kästchen unsichtbar schalten */
.filter-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Styling für deaktivierte Filter-Pills/Checkboxen */
.filter-group label.is-disabled {
  cursor: default;
  opacity: .5;
}

/* .filter-group input[type="checkbox"]:disabled {} */

/* Die Pill-Optik (Unselected State) */
.cell-tag,
.reset-btn,
.filter-group label {
  display: inline-flex;
  align-items: center;
  margin: 0 2px 4px 0;
  padding: 6px 8px 7px 8px;
  border-radius: calc(var(--radius) / 2);
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all var(--transition-time);

  /* background-color: hsla(210, 0%, 0%, 0.2);
  color: rgba(255,255,255, 0.9); */

  background-color: hsla(210, 0%, 0%, 0.3);
  color: rgba(255,255,255, 1);
}

.project-table .cell-tag {
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-size: inherit;
  /* font-weight: inherit; */
  color: inherit;
  user-select: auto;
  cursor: auto;
  border-radius: 0;
}

/* Hover-Effekt vor dem Klick */
.reset-btn:hover,
.filter-group label:not(.is-disabled):hover {
  background-color: hsla(210, 0%, 100%, 0.9);
  color: black;
}

.reset-btn {
  /* width: auto; */
  /* display: inline; */
  /* margin: 0 0 30px var(--element-gap); */ /* Bündig, wenn links ausgerichtet */
  margin: 0 0 var(--site-padding) 0;
  padding-left: 8px;
  border: none;
  /* color: rgba(255,255,255, 1);
  background-color: hsla(210, 0%, 0%, 0.3); */
}

/* &times */
.reset-btn span {
  font-weight: 900;
  font-size: 130%;
  margin-right: .2rem;
  line-height: 0;
  /* color: rgb(255, 70, 70); */
}

.reset-btn:hover span {
  /* color: indianred; */
  color: rgb(255, 70, 70);
}

.reset-btn:hover {
  background-color: hsla(210, 0%, 100%, 0.9) !important;
}

/* Aktivierte Pill (Selected State - Wenn die Checkbox aktiv ist) */
.reset-btn:active,
.filter-group input[type="checkbox"]:checked + label,
.filter-group label:has(input[type="checkbox"]:checked) {
  /*background-color: #0066cc; /* PW- / Apple-Blau */
  background-color: var(--golden);
  color: white;
  /* border-color: #0066cc; */
  /* box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25); */
}

/* Kleiner Sanftheitseffekt beim An- und Abwählen */
.filter-group label:active {
  transform: scale(0.96);
}

.reset-filters-wrapper {
  display: flex;
  justify-content: flex-end;
}

.result-count {
  /* font-size: 0.9rem; */
  margin-bottom: calc(var(--site-padding) * 2);
}

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 767px) {

  .filter-bar {
    display: block;
  }

  .filter-group:not(:last-child) {
    margin-bottom: 1rem;
    /* border: 1px solid red; */
  }

  /* .filter-group:first-of-type,
  .filter-group:last-of-type {
    min-width: unset;
  } */
  
  .filter-group:nth-of-type(2) {
    min-width: unset;
  }

}

/* --------------------------------------------------------------------------------------------------- */


/* Bilder Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--element-gap);
  transition: opacity var(--transition-time);
  /* margin-bottom: var(--site-margin); */
}

.gallery-grid.loading {
  opacity: 0.4;
  pointer-events: none;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  /* background: #eee; */
  /* aspect-ratio: 4/3; */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-time);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Platzhalter-Kachel (ohne Bild) */
.gallery-item-placeholder {
    aspect-ratio: 1 / 1; /* Quadratisch halten wie die 400x400 Bilder */
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius, .2rem);
    transition: all var(--transition-time);
}

.gallery-item-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.gallery-item-placeholder:hover .placeholder-title {
    /* color: var(--link-color); */
    color: hsl(210, 80%, 70%)
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* align-items: center; */
    height: 100%;
    padding: 1.5rem;
    /* text-align: center; */
    text-decoration: none;
    color: inherit;
    /* box-sizing: border-box; */
  }
  
.content-with-imgbg {
    position: relative;
    background: no-repeat center center / cover;
    justify-content: flex-end;
}

.content-with-imgbg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*inset: 0; /* Not supported by Safari ! o/O */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 90%);
}

.placeholder-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.1rem;
    transition: all var(--transition-time);

    font-size: 1.5rem;
    font-weight: 700;
    /* text-transform: uppercase;
    letter-spacing: .02rem; */
}
  
.placeholder-title:not(.text-gradient) {
    filter: drop-shadow(0 0 2px rgba(0,0,0,.5));
}

.placeholder-artist {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.placeholder-year {
    font-size: 0.88rem;
    font-weight: 500;
}

/* Content über den Verlauf stellen */
.content-with-imgbg .placeholder-title,
.content-with-imgbg .placeholder-artist,
.content-with-imgbg .placeholder-year {
    position: relative;
    z-index: 1;
    color: white;
}

/* --------------------------------------------------------------------------------------------------- */


/* Projekt-Seite */
.meta-info {
  display: flex;
  gap: var(--element-gap);
  margin-bottom: var(--site-margin);
  font-size: 0.95rem;
}

/* Tags nebeneinander anordnen */
.in_the_role_of {
  display: flex;
}

/*.filter-bar*/ .tag {
  display: inline-flex;
  align-items: center;
  margin: 0 2px 4px 0;
  padding: 6px 8px 7px 8px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-time);
  /* background-color: hsla(210, 0%, 0%, 0.2);
  color: rgba(255,255,255, 0.9); */
  background-color: hsla(210, 0%, 0%, 0.3);
  color: rgba(255,255,255, 1);
}

body.project .tag {
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  border-radius: 0;
}

/* Galerie <ul> Grid für die Detail/Projekt-Seite */
.project-gallery {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); /* 4 Images nebeneinander */
  gap: var(--element-gap);
  margin-bottom: var(--site-margin);
}

.project-gallery .gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden; /* Verhindert Überlappen bei abgerundeten Ecken */
}

.project-gallery .gallery-item a {
  position: relative;
  display: block;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.project-gallery .gallery-item figcaption {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.6); /* Lesbarkeit verbessern */
  color: #fff;
  font-size: 0.85rem;
}

/* Falls keine Bilder hochgeladen wurden */
.no-images-info {
  margin-bottom: var(--site-margin);
}

/* --------------------------------------------------------------------------------------------------- */


.project-detail-artist {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.back-link {
  display: inline-block;
  /* font-weight: 600; */
  margin-bottom: calc(var(--site-padding) / 2);
}

.project-pagination-wrapper {
  margin-bottom: 2rem;
}

.project-pagination-wrapper .nav-prev {
  margin-right: 1rem;
}

.project-pagination-wrapper .nav-next {
  margin-left: 1rem;
}

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 767px) {

  .meta-info {
    flex-flow: column;
    margin-bottom: calc(var(--site-padding) * 2);
  }

  .project-gallery,
  .no-images-info {
    margin-bottom: calc(var(--site-padding) * 2);
  }

}

/* --------------------------------------------------------------------------------------------------- */


/* CSS-Grid als moderne Tabellen-Struktur */
.project-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: rgba(0,0,0,0.02);
  /* margin-top: var(--site-margin); */
  margin-bottom: calc(var(--site-margin) / 1.5);
}

/* Kategorien-Überschrift (h2) */
.category-title {
  margin: 0 0 calc(var(--site-margin) / 3) 0;
  font-size: 120%;
}

/* Kopfzeile hervorheben */
.table-header {
  background-color: rgba(0,0,0,0.35);
  /* font-weight: 700; */
  color: rgba(255,255,255,0.9);
}

/* Kopf- und Datenzeilen */
.table-row {
  display: grid;
  /* ANPASSUNG 1: Der YouTube-Spalte (letzter Wert) geben wir 2fr statt 1fr */
  /* Künstler (1.5fr) | Genres (1.2fr) | Rollen (1.2fr) | Jahr (0.6fr) | YouTube (2fr) */
  grid-template-columns: 1.5fr 1.2fr 1.2fr 0.6fr 2fr;
  gap: var(--element-gap);
  padding: 1rem 1.25rem;
  align-items: center;
}

.table-row.table-header .table-cell {
  font-weight: 600;
}

/* ANPASSUNG 2: Stoppt das Umherwandern / Ausdehnen der Spalten bei langen Links */
.table-cell {
  min-width: 0; 
}

.table-cell.year,
.table-cell strong a {
  font-weight: 500;
}

/* Zebra-Streifen für bessere Lesbarkeit */
.table-row:not(.table-header):nth-child(even) {
  background-color: rgba(0,0,0,0.04);
}

.table-row:not(.table-header):nth-child(odd),
.table-row:not(.table-header):nth-child(even) {
  transition: all var(--transition-time);
}

.table-row:not(.table-header):hover {
  background-color: rgba(255,255,255,0.5);
}

/* Sub-Text für den Künstler unter dem Projekttitel */
.project-title-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.3;
}

.project-title-text {
    font-weight: 600;
    /* font-size: 1rem; */
}

.project-artist-sub {
    font-size: 0.88rem;
    font-weight: 400;
    /* opacity: 0.75;
    margin-top: 2px; */
    color: var(--main-text-color);
}

/* Metadaten (Tags) */
.cell-tag {
  cursor: default;
}

.yt-link-text {
  /* color: #0066cc;
  text-decoration: underline; */
  /* font-size: 0.88rem; */
  
  /* Kürzt den sichtbaren Link mit "..." ab, wenn er zu lang wird */
  display: block; /* Auf block geändert für verlässlicheres Ellipsis */
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------------------------------- */


/* Responsive Ansicht für Mobilgeräte */
@media (max-width: 768px) {
    .table-header {
        display: none; /* Kopfzeile auf Smartphones ausblenden */
    }
    .table-row {
        grid-template-columns: 1fr; /* Alles untereinander stapeln */
        gap: 0.5rem;
        padding: 1.25rem;
    }
    .table-cell::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #86868b;
        display: inline-block;
        width: 120px;
    }
}

/* --------------------------------------------------------------------------------------------------- */


/* Nachricht nach dem Abschicken dese Formulars */
.form-msg {
  margin: 0;
  padding: calc(var(--site-margin) * 1.5) var(--site-margin);
  font-weight: 400;
  text-align: center;
}

.form-msg.success {
  background-color: #cdff69;
}

.form-msg.error {
  background-color: #ff798b;
}

/* --------------------------------------------------------------------------------------------------- */


footer {
  background-color: var(--footer-bg-color);
  color: rgba(255,255,255, 0.8);
}

/* Content-Bereich */
footer > section {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: var(--site-margin) var(--site-padding);
  display: flex;
  gap: 60px;
  /* border: 1px solid red; */
}

/* 3 gleichmäßige Spalten */
footer > section > * {
  flex: 1 1 33.33333%;
  /* border: 1px solid red; */
}

/* Abstand Linkliste zur Copyright-Zeile */
footer > section > nav > ul {
  margin-bottom: 2.27cap;
}

footer > section > nav .edit {
  margin-top: 2.27cap;
}

footer > section > * p:last-child {
  margin-bottom: 0;
}

footer > section > * a {
  color: hsl(210, 80%, 70%);
}

footer > section > * a:hover {
  color: rgba(255,255,255, 0.9);
  text-decoration-color: hsl(210, 80%, 70%);
}

footer + section.page-meta {
  display: flex;
  justify-content: center;
  gap: var(--element-gap);
  padding: 0 var(--site-padding);
  background-color: var(--footer-bg-color);
  color: rgba(255,255,255, 0.8);
}

footer + section.page-meta * {
  font-size: .88rem;
}

.icon::before {
  content: '';
  position: relative;
  display: inline-block;
  top: .2rem;
  margin-right: .4rem;
  width: 18px;
  height: 18px;
  background: transparent no-repeat center center / cover;
  filter: invert(69%) sepia(28%) saturate(514%) hue-rotate(2deg) brightness(95%) contrast(82%);
  transition: filter var(--transition-time);
}

.youtube::before {background-image: url('../images/icons/youtube.svg');}
.youtubemusic::before {background-image: url('../images/icons/youtubemusic.svg');}
.soundcloud::before {background-image: url('../images/icons/soundcloud.svg');}
.deezer::before {background-image: url('../images/icons/deezer.svg');}
.disc::before {background-image: url('../images/icons/disc.svg');}

.icon:hover::before {
  filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(282deg) brightness(105%) contrast(101%);
}

/* --------------------------------------------------------------------------------------------------- */


@media all and (max-width: 640px) {
  
  /* Content-Bereich: alles untereinander setzen */
  footer > section {
    flex-flow: column;
    gap: 0;
  }

  footer .address,
  footer > section > nav {
    margin-bottom: 2rem;
  }

  /* Spalten auf 100% setzen */
  footer > section > * {
    flex: 1 1 100%;
  }

  footer + section.page-meta {
    flex-flow: column;
    gap: 0;
  }

}

/*
————————————————————————————————————————————————————————————————————————————————————————————————————————
  Timeline
————————————————————————————————————————————————————————————————————————————————————————————————————————
*/

/* Haupt-Container & mittige vertikale Linie */
.timeline {
  list-style: none;
  margin: 0 auto 5rem auto;
  padding: 0;
  position: relative;
  display: block;
  max-width: 900px;
}

h4.align_center {
  margin: 0 auto 1rem auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px; /* Linie hinter den Kreis/Punkt setzen */
  bottom: 0;
  width: 3px;
  background-color: #cbd5e1;
  transform: translateX(-50%);
}

/* Listenelement als 2-Spalten-Grid */
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  margin-bottom: 50px;
  align-items: start;
}

/* DER PUNKT: Exakt bei 50% auf der Linie platziert */
.timeline li::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 14px; /* Höhe auf der Linie (auf Höhe der Jahreszahl h2) */
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  background-color: #e65568;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--link-color);
  z-index: 2;
}

/* --------------------------------------------------------------------------------------------------- */


.timeline li:nth-child(odd) h2 {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline li:nth-child(odd) .content {
  grid-column: 1;
  grid-row: 2;
  text-align: right;
}

/* Für das Image im <a> */
.timeline li:nth-child(odd) a {
  grid-column: 1; /* Gleiche Spalte wie H2 und Content */
  grid-row: 3;    /* Unterhalb des Contents */
  justify-self: end;
}

/* --------------------------------------------------------------------------------------------------- */


/* Für das Image im <a> */
.timeline li:nth-child(even) a {
  grid-column: 2; /* Gleiche Spalte wie H2 und Content */
  grid-row: 3;    /* Unterhalb des Contents */
  justify-self: start;
}

.timeline li:nth-child(even) h2 {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.timeline li:nth-child(even) .content {
  grid-column: 2;
  grid-row: 2;
}

.timeline h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--link-color);
  line-height: 1;
  margin-top: 2px;
}

/* .timeline .content {
  background-color: rgba(255,255,255,.6);
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.13);
} */

.timeline .content h3 {
  margin: 0 0 8px 0;
  font-size: 110%;
  /* color: #1e293b; */
}

/* .timeline .content p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
} */

.timeline img {
  /* width: 100%; */
  max-width: 220px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

/* --------------------------------------------------------------------------------------------------- */


@media (max-width: 640px) {
  .timeline::before {
    left: 15px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    padding-left: 40px;
    gap: 12px;
  }

  .timeline li::after {
    left: 15px;
    top: 10px;
  }

  .timeline li:nth-child(odd) h2,
  .timeline li:nth-child(even) h2 {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  
  .timeline li:nth-child(odd) .content,
  .timeline li:nth-child(even) .content {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  /* Für das Image im <a> */
  .timeline li:nth-child(odd) a,
  .timeline li:nth-child(even) a {
    grid-column: 1; /* In die erste Spalte setzen */
    justify-self: start;
  }
}

/* --------------------------------------------------------------------------------------------------- */


#toggleTimelineOrder {
  background: linear-gradient(to right, rgba(102,153,204,1) 0%,rgba(85,196,212,1) 100%);
  background-size: 130%;
  color: white;
  padding: .3em .5em .4em .5em;
  border-radius: 3px;
  min-width: 11.8em;
  margin-bottom: 40px;
  transition: all var(--transition-time);
}

#toggleTimelineOrder:hover {
  background-size: 100%;
}

/* --------------------------------------------------------------------------------------------------- */


button:not(.showhide):not(.reset-btn):not(.mfp-arrow):not(.mfp-close),
input:not([type="checkbox"]), textarea {
  width: 100%;
  /* -webkit-appearance: none; */
  /* border: none; */
  border: 1px solid rgba(0,0,0,0.2);
  /* width: 100%; */
  padding: 12px 16px;
  /* background-color: rgba(255,255,255,0.7); */
  /* background-color: rgba(0,0,0,0.05); */
  background-color: transparent;
  transition: all var(--transition-time);
  font-family: inherit;
  font-size: inherit;
}
  
button:not(.showhide):not(.reset-btn):not(.mfp-arrow):not(.mfp-close) {
  font-weight: 500;
  background-color: var(--button-color);
  color: white;
}
  
input:hover, textarea:hover {
  background-color: white;
}

input:focus, textarea:focus {
  outline: 1px solid var(--link-color);
  box-shadow: inset 0px 0px 4px rgba(0,0,0,.3);
}
  
button:not(.showhide):not(.mfp-arrow):not(.mfp-close):hover {
  cursor: pointer;
  background-color: hsla(227, 5%, 33%, 0.80);
  /* color: rgba(0,0,0,0.8); */
}

form#kontaktbox {
  margin-bottom: var(--site-margin);
  /* background-color: hsla(227, 5%, 33%, 0.065); */
  border: 1px solid rgba(0,0,0,0.2);
  padding: 20px;
}

label {
  display: block;
  font-weight: 600;
  padding-left: 16px;
  margin-bottom: .2em;
}

form#kontaktbox em {
  color: var(--gum-red);
  font-weight: 600;
}

form#kontaktbox label {
  padding-left: 0;
  margin-bottom: var(--site-padding);
}

form#kontaktbox label #agb_read {
  margin-top: 0.5em;
  float: left;
  width: auto;
}

form#kontaktbox label p {
  user-select: none;
  margin: 30px 0 30px 30px;
  font-weight: 500;
  font-size: .85rem;
}

form#kontaktbox label p a {
  font-size: .85rem;
}

form#kontaktbox label input,
form#kontaktbox label textarea {
  margin-top: .2em;
}

::placeholder {
  color: rgba(0,0,0,0.5);
}

input[type="checkbox"] {
  width: 17px !important;
  aspect-ratio: 1;
  accent-color: hsl(40, 30%, 50%);
  accent-color: var(--golden);
  border: none;
  outline: none;
  margin: 0;
}

h3.success {
  padding: 1em;
  background-color: var(--success-color);
  color: white;
}

h3.success + p {
  color: var(--success-color);
}

h3.error {
  padding: 1em;
  background-color: var(--error-color);
  color: white;
}

h3.error + p {
  color: var(--error-color);
}

em, var, noscript {
  font-style: normal;
  color: var(--gum-red);
}

.hey-honey {
  display: none;
}


/* Nachricht nach dem Abschicken des Formulars */
.form-msg {
  margin: 0;
  padding: calc(var(--site-padding) * 1.5) var(--site-padding);
  font-weight: 600;
  text-align: center;
}

.form-msg.success {
  background-color: var(--success-color);
}

.form-msg.error {
  background-color: var(--error-color);
  color: white;
}


/* Fehlermeldung direkt unter dem Input-Feld */
div.error {
  font-weight: 500;
  color: var(--error-color);
}

/* Hervorhebung des fehlerhaften Input-Fields */
input.inputerror {
  border: 2px solid var(--error-color);
  animation: pulseBorder 1.5s infinite;
}

@keyframes pulseBorder {
  0%, 100% {
    border-color: var(--error-color);
  }
  50% {
    border-color: hsla(15, 100%, 40%, .4);
  }
}













