/* CSS-Variablen für Accessibility-konforme Farben */
:root {
  --primary-color: #e20018;
  /* Ursprüngliche CI-Farbe beibehalten */
  --primary-dark: #c80318;
  /* Dunklere Variante für bessere Kontraste */
  --primary-light: #f2001a;
  /* Hellere Variante für Hover-Effekte */
  --text-color: #333333;
  --background-color: #ffffff;
  --focus-color: #0066cc;
  --error-color: #e20018;
  /* Konsistente Fehlerfarbe */
}

@font-face {
  font-family: 'SK-Regular';
  src: url('./fonts/SparRg.ttf');
}

/* Skip-Links für Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 99999;
  border-radius: 4px;
  font-size: 14px;
  transition: top 0.3s ease;
}

.skip-link:focus,
.skip-link:active {
  top: 6px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Hard override for reliable skip links above fixed navbar */
.a11y-skip-link {
  position: fixed !important;
  left: 10px !important;
  top: -60px !important;
  z-index: 2147483647 !important;
  background: #000 !important;
  color: #fff !important;
  padding: 10px 14px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  transition: top .2s ease !important;
}

.a11y-skip-link:focus,
.a11y-skip-link:active {
  top: 10px !important;
  outline: 3px solid #fff !important;
  outline-offset: 2px !important;
}

/* Fokus-Indikatoren für Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Spezielle Fokus-Styles für Navigation */
.navbar a:focus,
.navbar button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Accessibility-Verbesserungen für bessere Kontraste bei CI-Farben */
/* Nur für Elemente mit schlechtem Kontrast - nicht für weißen Text auf rotem Hintergrund */
.row>div.col-md-9 blockquote,
.row>div.col-md-9 h4 {
  font-weight: 500;
  /* Etwas fetter für bessere Lesbarkeit */
}

/* Hover-Effekte für bessere Interaktivität */
a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Button-Styles für bessere Accessibility */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* Accessibility CSS für neue Features */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Touch-Fokus für mobile Geräte */
.touch-focus {
  outline: 3px solid var(--focus-color) !important;
  outline-offset: 2px !important;
}

/* Verbesserte Dropdown-Navigation */
.dropdown-menu.show {
  display: block !important;
}

/* Fokus-Indikatoren für Navigation */
.navbar-nav>li>a:focus,
.dropdown-menu>li>a:focus {
  background-color: rgba(255, 255, 255, 0.2) !important;
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
}

/* Spezielle Fokus-Indikatoren für Logo */
.navbar-brand {
  display: inline-block !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  height: auto !important;
  /* Bootstrap-Height überschreiben */
}

.navbar-brand:focus {
  outline: 2px solid #fff !important;
  outline-offset: -4px !important;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.navbar-brand:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Logo-Fokus auf mobilen Geräten */
@media (max-width: 991px) {
  .navbar-brand {
    padding: 3px 8px;
  }

  .navbar-brand:focus {
    outline-offset: 1px !important;
  }
}

/* Verbesserte Modal-Accessibility */
.modal:focus {
  outline: none;
}

.modal-content:focus {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}

/* ARIA-Live-Region verstecken */
#aria-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Formular-Accessibility Verbesserungen */
.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.75em;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  border-color: var(--focus-color);
}

/* Required-Feld-Markierungen */
.required {
  color: var(--primary-color);
  font-weight: bold;
}

/* Fehlermeldungen */
.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 0.75em;
  border-radius: 4px;
  margin-top: 0.5em;
  border-left: 4px solid #dc3545;
  animation: errorShake 0.5s ease-in-out;
}

/* Animation für Fehlerfelder */
@keyframes errorShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Fehlerfelder hervorheben */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
  animation: errorPulse 1s ease-in-out;
}

@keyframes errorPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* Checkbox und Radio-Button Accessibility */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.5em;
  transform: scale(1.2);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}

/* Fieldset und Legend */
fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5em;
  margin-bottom: 2em;
}

legend {
  font-weight: 600;
  color: #8A0010;
  /* Dunklere Variante für besseren Kontrast */
  padding: 1em 0.5em;
  background-color: #fff;
  /* Weißer Hintergrund für besseren Kontrast */
}

/* Button-Accessibility */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  padding: 0.75em 1.5em;
  font-size: 1em;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-primary:focus {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.3);
}

@font-face {
  font-family: 'SK-Regular-light';
  src: url('./fonts/SparLt.ttf');
}


body {
  background-color: #ddd;
  font-family: 'SK-Regular' !important;
  font-size: 1.6em;
  line-height: 1.5em;
  padding: 0;
  margin: 0;
}

.loading {
  background: rgba(0, 0, 0, 0) url("./images/ajax-loader.gif") no-repeat scroll 50% 50%;
  position: fixed;
  left: 0;
  top: 0;
  clear: both;
  display: none;
  height: 100%;
  width: 100%;
}

a,
a:hover {
  color: var(--primary-color);
}

.main a:not(.projekt-jahr-karte) {
  text-decoration: underline;
}

/* Cookie-Hinweis Links mit besserem Kontrast */
.cookie-hinweis {
  color: #8A0010 !important;
  /* Dunklere Variante für besseren Kontrast */
  font-weight: 500;
  text-decoration: underline;
  /* Unterstreichung für bessere Link-Unterscheidung */
}

.cookie-hinweis:hover {
  text-decoration: none;
  /* Unterstreichung beim Hover entfernen */
  background-color: rgba(138, 0, 16, 0.1);
  /* Hover-Effekt */
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
  background-color: #c80318 !important;
}

h1,
h2,
big {
  color: var(--primary-color);
  /* text-shadow: 0 0 1px #fff, 0 1px 1px rgba(0,0,0,0.5); */
}

h2 {
  font-size: 32px;
  margin-top: 1em;
  color: #fff;
  background: var(--primary-color);
  padding: 0.5em;
  font-family: 'SK-Regular-light' !important;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0px;
}

h2.projekte {
  margin-bottom: 2rem;
}

h2.clean {
  background: none;
  color: #000;
  padding-left: 0.65em !important;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
}

h3 {
  /* margin-bottom: 0.5em; */
  line-height: 1.4em;
}

div.faq h3 {
  margin-bottom: 0.3em;
  color: #000;
  position: relative;
  /* padding-left:0.8em; */
  /* font-size:1.3em; */
  /* line-height: 1.3em; */
  /* margin-top: 2em; */
}

div.faq h3:before {
  /* content: "\25BA \0020"; */
  font-size: 12px;
  position: absolute;
  top: 0px;
  left: -0px;
  color: #000;
}

div.faq p {
  /* padding-left:1.1em; */
}

.clear {
  clear: both;
}

.up {
  transition: all 0.25s ease-in-out;
  text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.9);
  position: fixed;
  bottom: 0.2em;
  right: 0.1em;
  cursor: pointer;
  font-size: 3.5em;
  color: #e20018;
  opacity: 0.5;
}

.up:hover {
  opacity: 1;
}

#top {
  position: relative;
  top: -9.9em;
}

.up.pos {
  bottom: 3.25em;
}

.breadcrumb {
  text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  border-radius: 0;
  background: rgb(239, 239, 239);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#dddddd', GradientType=0);
  /* IE6-9 */
}

.breadcrumb li a {
  color: #000;
}

.page-header {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  /* left: 5px; */
}

.page-header h1 {
  width: 100% !important;
  font-family: 'SK-Regular-light' !important;
  background: var(--primary-color);
  color: #fff;
  padding: 0.5em 0.5em;
  position: relative;
  /* margin-top: -0.5em; */
  margin-bottom: 0;
}

.page-header h1::before {
  /* content:""; */
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  position: absolute;
  top: 1em;
  width: 92%;
  height: 50%;
}

.row>div.col-md-9>h2 {
  width: 100% !important;
  height: 100%;
  font-family: 'SK-Regular-light' !important;
  background: var(--primary-color);
  color: #fff;
  padding: 0.5em 1em;
  position: relative;
}

.row>div.col-md-9>h2::before {
  /* content:""; */
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  position: absolute;
  top: 1em;
  width: 92%;
  height: 50%;
}

.page-header .spenden {
  position: absolute;
  right: 0em;
  top: -0.7em;
  background: url(./images/spenden-icon.png);
  width: 73px;
  height: 57px;
  background-size: cover;
  z-index: 10;
}

.page-header .spenden a {
  width: 100%;
  height: 100%;
  display: block;
}

.page-header .spenden p {
  position: relative;
  left: -4.5em;
  top: 0.75em;
  font-size: 2em;
  color: #e20018;
}

.spenden {
  /* text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0,0,0,0.7); */
  z-index: 10;
  padding-left: 3em;
  font-size: 2em;
  position: relative;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.spenden:before {
  content: "";
  background: url(./images/spenden-icon.png) no-repeat;
  background-size: 70%;
  position: absolute;
  left: 0;
  top: -0.0em;
  width: 100px;
  height: 150px;
  z-indexx: 1000;
}

.spenden a {
  width: 100%;
  height: 100%;
  display: block;
}

.spenden p {
  position: relative;
  left: 3em;
  top: 0.4em;
  font-size: 2em;
  color: #e20018;
}

.row {
  margin-bottom: 10em;
  /* padding-left: 5px; */
}

.row img {
  margin-left: 1em;
  /* margin-top: 1em; */
  margin-bottom: 1em;
  width: 39%;
  max-width: 350px;
  height: auto !important;
  /* border-radius:6px; */
  margin-right: -5px;
}

.row p img {
  margin-top: 1.5em;
}

.projektDetail .row img {
  margin-left: 0;
  max-width: 800px;
  width: auto;
}

.projektbild {
  position: relative;
  margin-left: 1.25rem;
}

.projektbild span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
}

.stiftungsorgane img {
  margin-left: 0;
  max-width: 100%;
  width: auto;
}

.stiftungsorgane {
  margin-left: 0;
  padding-left: 2em;
}

.stiftungsorgane p:not(.row_h3) {
  padding-left: 0 !important;
  margin-bottom: 2em;
}


.row h3,
.row_h3 {
  padding-left: 0.65em !important;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
}

.row h4 {
  padding-left: 0.8em;
}

.row p {
  padding-left: 1em;
}

.m-0 {
  margin: 0 !important;
}

h2.clearfix {
  clear: both;
}

img.clearfix {
  max-width: 300px;
  height: auto;
}

img.titel {
  height: 75px !important;
  width: auto;
}

img.contentImage {
  margin: 0;
  margin-bottom: 1em;
  margin-top: 0em !important;
  width: 100%;
  max-width: 100%;
}

h2:nth-child(16) img {
  padding-bottom: 4em;
}

.row>div.col-md-9 {
  /* padding-right:2.5em; */
  /* padding-left: 1.0em; */
}

.row>div.col-md-9 figure.person {
  width: 50%;
  float: left;
  text-align: center;
  margin-bottom: 1em;
}

.row>div.col-md-9 figure.person img {
  width: auto;
  height: 100px;
  margin-bottom: -1em;
}

.row>div.col-md-9 img.content {
  width: 100%;
  height: auto;
}

.row>div.col-md-9 blockquote {
  background: var(--primary-color);
  color: #fff;
  font-family: 'SK-Regular-light' !important;
  font-size: 2em;
  border: 0;
  width: 56%;
  line-height: 1.3em;
  padding: 0.5em 1em;
  margin-top: 1.5em;
}

.row>div.col-md-9 blockquote p {
  /* border-top:1px solid #fff; */
  /* border-bottom:1px solid; */
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.row>div.col-md-9 h4 {
  background: var(--primary-color);
  color: #fff;
  padding: 0.7em;
  margin: 2em 0 0;
}

.row>div.col-md-9 ul:not(.clean) {
  border: 1px solid var(--primary-color);
  padding-top: 1.5em;
  padding-bottom: 1em;
  margin-top: -0.7em;
  margin-bottom: 2.0em;
}

.row>div.col-md-9>ul:not(.berichte)>li {
  list-style-type: none;
  position: relative;
  padding-left: 15px;
}

.row>div.col-md-9>ul:not(.berichte)>li:before {
  content: "\25BA \0020";
  font-size: 10px;
  position: absolute;
  top: 0px;
  left: -10px;
  color: var(--primary-color);
}

.row>div.col-md-9>ul.sibling>li,
.row>div.col-md-9>ul.clean>li {
  list-style-type: disc;
}

.row>div.col-md-9>ul.sibling>li:before,
.row>div.col-md-9>ul.clean>li:before {
  content: "";
}

ul.sibling li.right {
  float: right;
  text-align: right;
}

.row>div.col-md-9>ul.berichte,
.schwerpunkte ul,
ul.sibling {
  border: 0 !important;
}

.row>div.col-md-9>p {
  text-align: justify;
}

.row .projekt {
  background: #eee;
  padding: 1em;
  padding-top: 0;
  width: 100%;
  float: left;
  margin-bottom: 1em;
  position: relative;
}

.row .projekt:nth-child(2),
#target>div.row>div.col-md-9>div.projekt.\31,
.row .projekt:nth-child(7),
#target>div.row>div.col-md-9>div:nth-child(8) {
  margin-right: 1em;
}

.row .projekt a.mehr {
  display: block;
  font-size: 0.95em;
  color: #000;
}

.row .projekt h3 {
  font-size: 1.3em;
  color: #e20018;
  border-bottom: 1px solid;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

.row .projekt .datum {
  font-size: 0.85em;
  position: absolute;
  right: 0.7em;
  top: 0.3em;
}

.grid img {
  max-width: 100%;
  margin: 0;
}

.row .foerderschwerpunkte {
  position: relative;
  background: #eee;
  width: 17%;
  float: left;
  margin-right: 15px;
  height: 70px;
  text-align: center;
  padding-top: 1em;
  font-size: 0.9em;
}

.row .foerderschwerpunkte.wohlfahrtswesen {
  margin-right: 0;
}

.row .foerderschwerpunkte i {
  position: absolute;
  font-size: 4em;
  color: #000;
  bottom: 0.22em;
  width: 100%;
  left: 0;
  opacity: 0.7;
  transition: opacity 1s ease-in-out;
}

.row .foerderschwerpunkte i:hover {
  opacity: 1;
  -webkit-transform: scale3d(0.9, 0.9, 0.9);
  transform: scale3d(0.9, 0.9, 0.9);
  -webkit-transform-delay: 0.5s;
  transform-delay: 0.5s;
}

.row .foerderschwerpunkte a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #000;
}

.row .foerderschwerpunkte a.bottom {
  display: none;
}

.row .schwerpunkte ul {
  padding-left: 1em;
}

.row .schwerpunkte li {
  margin-bottom: 0.75em;
  line-height: 1.75em;
}

.row .vorteile li {
  margin-bottom: 0.75em;
  line-height: 1.75em;
}

p.datum {
  text-align: right;
  padding-top: 10px;
  margin-bottom: 5px;
  font-family: 'SK-Regular-light';
}

figure p.datum {
  border: 0 !important;
  position: absolute;
  top: 1em;
  right: -0em !important;
  z-index: 1;
  opacity: 1 !important;
  color: #fff;
}

.row .personen {
  width: 47%;
  float: left;
  margin-right: 1em;
}

ul.kunst,
ul.denkmalpflege,
ul.sport,
ul.bildung,
ul.wohlfahrt {
  position: relative;
  z-index: 2;
}

ul.kunst:before {
  /* content: "\f02d"; */
  font-family: FontAwesome;
  color: rgba(254, 0, 0, 0.1);
  position: absolute;
  left: 44%;
  top: 30%;
  font-size: 7em;
  z-index: 1;
}

ul.denkmalpflege:before {
  /* content: "\f19c"; */
  font-family: FontAwesome;
  color: rgba(254, 0, 0, 0.1);
  position: absolute;
  left: 44%;
  top: 30%;
  font-size: 7em;
  z-index: 1;
}

ul.sport:before {
  /* content: "\f1e3"; */
  font-family: FontAwesome;
  color: rgba(254, 0, 0, 0.1);
  position: absolute;
  left: 44%;
  top: 30%;
  font-size: 7em;
  z-index: 1;
}

ul.bildung:before {
  /* content: "\f19d"; */
  font-family: FontAwesome;
  color: rgba(254, 0, 0, 0.1);
  position: absolute;
  left: 44%;
  top: 30%;
  font-size: 7em;
  z-index: 1;
}

ul.wohlfahrt:before {
  /* content: "\f06e"; */
  font-family: FontAwesome;
  color: rgba(254, 0, 0, 0.1);
  position: absolute;
  left: 44%;
  top: 30%;
  font-size: 7em;
  z-index: 1;
}

.row .foerderschwerpunkte,
.row .projekt {
  background: rgb(239, 239, 239);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#dddddd', GradientType=0);
  border-bottom: 6px solid rgba(0, 152, 152, 0.75);
}

a.stiftungsfonds:after,
a.zustiftungen:after,
a.spenden2:after {
  content: "\f064";
  font-family: FontAwesome;
  position: relative;
  left: 0.3em;
  top: 0.2em;
  font-size: 1.5em;
  color: #000;
  opacity: 0.5;
}

a.stiftungsfonds:hover,
a.zustiftungen:hover,
a.spenden2:hover {
  text-decoration: none !important;
}

ul.stiftung a {
  color: #000;
  display: inline-block;
  width: 80%;
}

ul.stiftung a:hover {
  color: #e20018;
  text-decoration: none;
}

ul.berichte,
ul.stiftung {
  font-size: 1.5em;
  line-height: 2em;
  margin-bottom: 2em;
  list-style: none;
  padding: 0;
}

ul.stiftung li::before {
  content: "\f064";
  font-family: FontAwesome;
  position: relative;
  left: 0.3em;
  margin-right: 1em;
  top: 0.2em;
  font-size: 1.5em;
  color: #e20018;
  opacity: 0.5;
}

ul.berichte li::before {
  content: "\f1c1";
  font-family: "FontAwesome";
  margin-right: 1em;
  color: #e20018;
}

ul.berichte li:hover::before,
ul.stiftung li:hover::before {
  color: #000;
}

ul.berichte li,
ul.stiftung li {
  cursor: pointer;
  padding-left: 1em;
}

ul.berichte li:hover,
ul.stiftung li:hover {
  background: rgba(254, 0, 0, 0.05);
}

ul.sibling {
  list-style: none;
  padding: 0;
  min-height: 53px;
}

ul.sibling li {
  width: 50%;
  float: left;
  display: block;
  padding: 1em;
  transition: background 0.5s ease-in-out;
  margin-top: -1.5em;
  height: 51px;
  line-height: 20px;
  background: rgba(254, 0, 0, 0.25);
}

ul.sibling li:nth-child(2) {
  text-align: right;
  border-left: 1px solid #fff;
}

ul.sibling li a {
  display: block;
  /* color: #fff; */
  transition: color 1s ease-in-out;
  font-size: 0.93em;
}

ul.sibling li:hover {
  background: #e20018;
  transition: background 0.5s ease-in-out;
}

ul.sibling li:hover a {
  color: #fff;
  transition: color 1s ease-in-out;
}


/* Galerie */

.gal-item {
  width: 20.5%;
  float: left;
  margin: 1em;
  margin-bottom: 0.0em;
}

.gal-item img {
  width: 100%;
  /* border-radius:6px; */
}

/* Footer */

#footer {
  z-index: 10;
  background: #666;
  border-top: 1px solid #e20018;
  border-bottom: 1px solid #e20018;
  box-shadow: 2px 2px 6px #888;
  margin-bottom: 1em;
  left: 0;
  height: auto;
  padding-bottom: 0.75em;
  color: #fff;
  font-size: 0.9em;
}

#footer p:nth-child(1) {
  margin-top: 1em;
}

#footer a {
  color: #fff;
  margin-right: 1em;
  display: inline-block;
}

#footer .text-muted {
  color: #fff;
}

#footer span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.05em;
  text-align: center;
  pointer-events: none;
}

/* Navigation */

.navbar {
  position: fixed;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background: #e20018;
  min-height: 69px;
}

.navbar>div>div.navbar-header>a,
.navbar>div>div.collapse.navbar-collapse>ul>li>a {
  color: #fff;
}

.navbar>div>div.collapse.navbar-collapse>ul>li.active>a,
.navbar>div>div.collapse.navbar-collapse>ul>li:hover>a {
  background: rgba(0, 0, 0, 0.3);
}

body>div.navbar.navbar-inverse.navbar-fixed-top>div>div.collapse.navbar-collapse>ul>li.active.dropdown>ul {
  background: rgba(255, 255, 255, 1);
}

.navbar-brand {
  padding: 0;
  z-index: 1;
}

.navbar-brand img {
  height: 53px;
}

.navbar ul a {
  /* text-shadow: 0 0 1px #fff, 0 2px 1px rgba(0,0,0,0.9); */
  color: #fff !important
}

.navbar ul ul a {
  text-shadow: 0 0 0;
  color: #000 !important;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
  background: #e20018;
  color: #fff !important;
}

.dropdown-menu {
  width: 100%;
}

/* Keep dropdown and focused menu items above slider/layered content */
.navbar.navbar-fixed-top {
  z-index: 3000 !important;
}

.navbar-nav>li {
  position: relative;
}

.navbar-nav>li.open,
.navbar-nav>li:focus-within {
  z-index: 3001;
}

.navbar-nav>li.open>.dropdown-menu,
.navbar-nav>li:focus-within>.dropdown-menu {
  z-index: 3002 !important;
}

.navbar-nav>li.open>a.dropdown-toggle,
.navbar-nav>li>a.dropdown-toggle:focus,
.dropdown-menu>li>a:focus {
  position: relative;
  z-index: 3003;
}

/* Slider */

#slider {
  width: 100% !important;
  height: auto !important;
}

#slider-wrapper {
  /* max-width:1200px; */
  position: relative;
  margin: auto;
  top: 4.2em;
  border: 1px solid #fff;
  /* box-shadow:2px 2px 8px #aaa; */
  width: 100% !important;
  max-width: 1800px;
  overflow: hidden;
  height: auto !important;
}

#slider img {
  width: 100% !important;
  height: auto !important;
}

.nivo-controlNav {
  top: 0;
  display: none;
}

#slider img {
  z-index: 8;
  width: 100% !important;
  margin-left: -1px;
}

#slider-wrapper img {
  width: 100%;
}

#slider-wrapper .artikelbild {
  text-align: center;
  background: #eee;
}

#slider-wrapper .artikelbild img {
  /* width:auto; */
  /* height:466px; */
  margin: auto;
}

.nivo-caption {
  /* font-family:'Open Sans'; */
  /* position:absolute; */
  /* bottom:3.7em; */
  /* text-align:center; */
  /* left:3em; */
  /* background:#fff !important; */
  /* color:#e20018 !important; */
  /* font-size:1.5em; */
  /* font-weight:300; */
  /* color:#007676 !important; */
  /* text-shadow:1px 1px 1px #fff !important; */
  /* text-transform:uppercase; */
}

.nivo-caption li {
  display: none;
}

.nivo-caption li:nth-child(1) {
  padding-top: 0.5em;
}

.nivo-caption li:nth-child(3) {
  padding-bottom: 0.2em;
}

.nivo-directionNav {
  display: none;
}

.navbar .container {
  /* width:90% !important; */
  /* padding-left: 5%; */
}


/* Spenden */

body>div.container.main>div.page-header {
  position: relative;
}

body>div.container.main>div.page-header>div.spenden {
  position: absolute;
  right: 0;
  top: 0.5em;
}

/* Sidebar */

#sidebar {
  border-top: 1px solid #eee;
  margin-top: 2em;
  padding-bottom: 1em;
  font-size: 0.95em;
  margin-left: 10px;
  margin-right: 15px;
  background: rgb(239, 239, 239);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(239, 239, 239, 1) 37%, rgba(221, 221, 221, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#dddddd', GradientType=0);
  /* IE6-9 */
}

.sidebar-nav ul {
  margin: 0;
  padding-left: 0.5em;
}

#sidebar .aktuelles {
  border-bottom: 1px solid #fff;
  margin-bottom: 1em;
  padding-bottom: 1em;
  /* padding-top: 0.5em; */
  /* margin-top: -10px; */
}

#sidebar .well {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: 0 0;
  border-bottom: 1px solid #fff;
  padding-bottom: 1em;
}

#sidebar .well ul {
  padding-left: 2em;
}

#sidebar ul li.active {
  text-decoration: underline;
}

#sidebar h3 {
  z-index: 5;
  position: relative;
  font-size: 1.3em;
}

#sidebar big {
  /* color:#e20018; */
}

#sidebar figure {
  margin-top: 1em;
  /* font-size:0.9em; */
}

#sidebar figure img {
  width: 100%;
  margin-left: 0;
  max-width: 100%;
}

.w-100 {
  width: 100% !important;
}

/* Kontakt */

#formular {
  background: #efefef;
  padding: 2em;
  margin-top: 2em;
  margin-left: -5px;
  padding-bottom: 10em;
}

#formular div {
  width: 50%;
  float: left;
  padding-right: 1em;
}

#formular div.anrede,
#formular div.text {
  width: 100%;
}

#formular div span.error {
  font-size: 0.9em;
  position: relative;
  display: block;
  ;
}

#formular div.anrede span.error {
  left: 5em;
  top: -3em;
  display: inline-block;
  width: 150px;
}

#formular div:nth-last-child(5) {
  width: 100%;
}

#formular div.datenschutzhinweis {
  width: 100%;
  /* margin-top: -1em; */
  position: relative;
}

#formular input[name="datenschutz"] {
  width: 30px;
}

#formular div.datenschutzhinweis p {
  padding-left: 2em;
  margin-top: -2.25em;
}

#formular label {
  color: #000;
  clear: both;
  /* margin-top:2em; */
  display: block;
}

#formular label[for=datenschutz] {
  padding-left: 3rem;
  margin-top: -2.5rem;
}

#formular textarea {
  min-height: 200px;
  clear: both;
  padding: 0.5em;
}

#formular input {
  width: 100%;
  padding: 0.5em;
}

#formular ul {
  list-style: none;
  clear: both;
  margin-top: -3em;
  margin-left: 3em;
  /* margin-bottom:5em; */
  border: 0;
}

#formular ul li {
  float: left;
  margin-right: 2em;
}

#formular ul li label input {
  position: relative;
  top: 0.15em;
}

#formular {
  color: #000;
  position: relative;
}

::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
}

#formular input,
form textarea {
  /* background:rgba(255,255,255,1) !important; */
  width: 100%;
}

#formular input[type=submit] {
  padding: 0.5em;
  float: right;
  margin-top: -1.5em;
}

#formular .error {
  background: #e20018;
  padding: 0.4em;
  color: #fff;
}

#formular .form-buttons {
  text-align: right;
  margin-top: 1em;
  margin-left: 2.5rem;
}

#formular #confirm_email {
  display: none;
}

@media screen and (min-width:1px) {
  div.container.main {
    padding: 35px 20px 0;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 1.6em;
  }

  body #sidebar p {
    width: 30%;
    margin-right: 3.333%;
    float: left;
  }

  .nivo-caption {
    display: none !important;
  }

  .page-header h1 {
    width: 70%;
    font-size: 32px;
  }
}

@media screen and (min-width:375px) {
  .navbar-brand img {
    height: 65px;
  }

  .up.pos {
    bottom: 3em;
  }
}

@media screen and (min-width:480px) {
  .navbar-brand img {
    height: 67px;
  }

  div.container.main {
    padding: 45px 30px 0;
  }

  .nivo-caption {
    display: block !important;
    height: 35px;
  }

  img.contentImage {
    margin-left: 1em;
    margin-top: 0.25em !important;
    width: 50%;
    float: right;
  }
}

@media screen and (min-width:768px) {
  div.container.main {
    padding: 45px 30px 0;
    max-width: 680px;
  }

  .navbar-brand img {
    /* width:120px; */
    background: #fff;
    /* padding:0.7em; */
    margin-left: 0.7em;
  }

  .navbar-header {
    margin-left: -0.5em;
  }

  .navbar-header a {
    font-size: 0.99em;
  }

  #slider-wrapper {
    max-width: 680px;
  }

  .nivo-caption {
    /* top:5.8em; */
    /* margin-left:3.3em; */
    /* text-align:left; */
    /* padding-left:3.7em !important; */
    /* background:transparent !important; */
    /* font-size:2em; */
    /* font-weight:600; */
    /* margin-bottom:2em; */
    /* width:86% !important; */
    /* height:210px !important; */
    /* text-align:right; */
  }

  .nivo-caption ul {
    border-right: 10px solid #e20018;
    margin-top: 0.3em;
    padding-left: 0.5em;
    font-weight: 300;
  }

  .nivo-caption li {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.5em;
    padding-left: 1em;
    padding-right: 0.5em;
  }

  .page-header h1 {
    width: 65%;
    font-size: 32px;
  }

  h2 {
    font-size: 32px;
  }

  .row .projekt {
    width: 47.7%;
  }

  .row .foerderschwerpunkte {
    width: 18%;
    height: 110px;
  }

  .row .foerderschwerpunkte i {
    bottom: 0.7em;
  }

  .row .foerderschwerpunkte a.bottom {
    display: block;
  }

  #sidebar figure {
    width: 48%;
    float: left;
  }

  #sidebar figure:nth-child(1) {
    margin-right: 1.25em;
  }

  img.contentImage {
    margin-left: 1em;
    width: 35%;
    float: right;
  }

  .up.pos {
    bottom: 3em;
    right: 0.3em;
  }

  #formular div.anrede span.error {
    left: 5em;
    top: -3em;
    display: inline-block;
    width: 250px;
  }

  #formular div.datenschutzhinweis input {
    /* left:0em; */
  }

  #footer {
    padding-bottom: 0.5em;
  }

  ul.stiftungsorgane img {
    max-width: 400px;
  }

  #slider-wrapper .artikelbild img {
    width: auto;
    height: 466px;
    margin: auto;
  }
}

@media screen and (min-width:992px) {
  .navbar {
    min-height: 60px;
  }

  .navbar-brand img {
    margin-left: 0.8em;
    height: 57px;
  }

  .navbar-collapse {
    padding-top: 0.25em;
  }

  .dropdown-menu {
    width: auto;
  }

  div.container.main {
    padding: 40px 30px 0;
    max-width: 900px;
  }

  #slider-wrapper {
    max-width: 900px !important;
    top: 3.5em;
  }

  .navbar-header a {
    font-size: 1em;
  }

  .nivo-caption {
    /* top:9em; */
    /* margin-left:0em; */
  }

  .navbar .container {
    width: 100% !important;
    padding-left: 1em;
  }

  /* Sidebar */

  #sidebar {
    border-top: 0;
    /* margin-top: 0; */
    margin-left: -1em;
    border-left: 1em solid #fff;
  }

  body #sidebar p {
    width: 100%;
    float: none;
  }

  #sidebar figure {
    width: 100%;
  }

  #sidebar figure:nth-child(1) {
    margin-right: 0em;
  }

  .up.pos {
    bottom: 1.5em;
    right: 0.3em;
  }

  #footer p {
    display: inline-block;
  }

  #footer p:nth-child(2) {
    position: absolute;
    left: 0;
    right: 0;
    top: 1em;
    text-align: center;
  }

  #footer p:nth-child(3) {
    float: right;
    margin-top: 1em;
    position: relative;
    z-index: 10;
  }
}

@media screen and (min-width:1200px) {
  .navbar {
    min-height: 70px;
  }

  .navbar-brand img {
    margin-left: 2.8em;
    height: 67px;
  }

  .navbar-collapse {
    padding-top: 0.66em;
  }

  div.container.main {
    padding: 20px 30px 0;
    width: 80%;
    max-width: 1600px;
    margin-top: 3em;
  }

  #slider-wrapper {
    max-width: 1600px !important;
    width: 80% !important;
    top: 4.25em;
    margin-bottom: 4em;
  }

  .nivo-caption {
    /* top:10.5em; */
  }

  .up {
    bottom: 0.3em;
    right: 0.4em;
  }
}


ul.zweck {
  display: table-cell;
}



.nivo-caption {
  /* width: 35% !important; */
  position: absolute;
  bottom: 2em;
  left: 2em;
  color: #fff !important;
  font-family: 'SK-Regular-light' !important;
  line-height: 1.3em;
  text-transform: none;
  text-align: center;
  padding: 1em !important;
  border-radius: 90px;
  z-index: 30;
  background: rgb(226 0 24) !important;
  font-size: 1.2em;
  /* margin-top: 0em; */
  height: auto;
  box-shadow: 1px 1px 10px #333;
  display: none !important;
  font-weight: bold;
}


@media screen and (min-width:992px) {
  .nivo-caption {
    display: block !important;
  }
}

.nivo-caption:after {
  bottom: 100%;
  left: 51%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-width: 12px;
  margin-left: -20px;
}

ul.vorteile {
  position: relative;
  /* left:2em !important; */
  /* margin-right:2em !important; */
}

.simplesearch-search-form {
  /* margin-top:0.6em; */
  /* float:right; */
  /* margin-right:3.5em; */
}

.schwerpunkt {
  border: 1px solid #fff;
  clear: both;
  display: block;
}

.schwerpunkt img {
  margin-right: 0px !important;
  margin-top: 1.5em !important;
}

body>div.navbar.navbar-inverse.navbar-fixed-top>div>div.collapse.navbar-collapse>button {
  background: none;
  float: right;
  border: 0;
}

body>div.navbar.navbar-inverse.navbar-fixed-top>div>div.collapse.navbar-collapse>button img {
  width: 25px;
  margin-top: 6px;
}

#searchModal .btn-primary {
  background: #e20018 !important;
  padding: 0.6em;
  border: 0;
  margin-top: -2px;
}

#searchModal input {
  padding: 0.25em;
}

@media (max-width: 991px) {
  .navbar-header {
    float: none;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {}

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
    border: 0;
  }

  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form {
    border-color: transparent;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
    margin-top: 3em;
  }
}

.datenschutz .informationen {
  border: 1px solid;
  font-weight: bold;
  color: #e20018;
}

.datenschutz table {
  margin-left: 1em;
}

.datenschutz table td {
  padding: 0.5em;
  border: 1px solid;
}

.betroffenenrechte #formular {
  padding-bottom: 11em;
}

.betroffenenrechte #formular input {
  margin-bottom: 1em;
}

.betroffenenrechte #formular ul {
  margin: 0;
  margin-left: 9em;
  margin-top: -3.5em;
  margin-bottom: 2em;
}

.betroffenenrechte #formular ul li {
  float: none;
}

.betroffenenrechte #formular li input {
  float: left;
  width: auto;
  margin-right: 1em;
}

.betroffenenrechte #formular .datenschutzhinweis {
  margin-top: 1em;
  margin-bottom: 2em;
}

.downloads p {
  padding-left: 30px;
}

.downloads img {
  width: 100%;
}

.downloads .col-md-8 p {
  padding-top: 2.5rem;
}

.downloads .item {
  padding: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 0;
}

.downloads .item:nth-child(even) {
  background: #eee;
}


.noTitleImage {
  margin-top: 4.5rem;
}

/* Foerderprojekte Struktur-Beispiele */
.foerderprojekte-hero {
  background: #fdf3f4;
  color: #5a4a4d;
  border: 1px solid #f0cbd1;
  border-left: 5px solid #e20018;
  border-radius: 14px;
  padding: 24px 24px 20px;
  margin: 36px 0 36px;
}

.foerderprojekte-hero .eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .9;
}

.foerderprojekte-hero h2 {
  color: #8A0010;
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

.foerderprojekte-hero p {
  margin: 0;
  max-width: 760px;
  opacity: 1;
}

.projekt-jahre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.projekt-jahre-grid--aktuell {
  grid-template-columns: 1fr;
}

.projekt-jahre-grid--archiv {
  margin-top: 28px;
}

.projekt-jahr-karte {
  display: block;
  border: 1px solid #ecd7da;
  border-radius: 12px;
  background: #fff;
  color: #1f3b57;
  text-decoration: none;
  transition: all .22s ease;
  overflow: hidden;
}

.projekt-jahr-karte:hover,
.projekt-jahr-karte:focus {
  text-decoration: none;
  border-color: #e20018;
  box-shadow: 0 14px 28px rgba(18, 38, 63, .12);
  transform: translateY(-3px);
}

.projekt-jahr-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  background: #fdf3f4;
  border-bottom: 1px solid #f3d7da;
}

.projekt-jahr-kopf i {
  color: #e20018;
  font-size: 20px;
}

.projekt-jahr-badge {
  display: inline-block;
  font-size: 12px;
  color: #8A0010;
  background: #fdecef;
  border: 1px solid #f3c2c9;
  border-radius: 999px;
  padding: 2px 10px;
}

.projekt-jahr-inhalt {
  padding: 14px 16px 16px;
}

.projekt-jahr-bild {
  aspect-ratio: 16 / 9;
  background: #fdf3f4;
  border-bottom: 1px solid #f3d7da;
  overflow: hidden;
}

.projekt-jahr-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  max-width: unset;
}

.projekt-jahr-inhalt strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #8A0010;
}

.projekt-jahr-inhalt p {
  margin: 0 0 12px;
  color: #5a4a4d;
  font-size: 14px;
  line-height: 1.45;
  padding-left: 0;
}

.projekt-jahr-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e20018;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .projekt-jahre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projekt-jahre-grid--aktuell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .projekt-jahre-grid {
    grid-template-columns: 1fr;
  }
}

.foerderprojekte-v2-hero {
  background: #fdf3f4;
  border: 1px solid #f0cbd1;
  border-left: 5px solid #e20018;
  border-radius: 12px;
  padding: 22px 22px 18px;
  margin: 36px 0 36px;
}

.foerderprojekte-v2-hero .eyebrow {
  margin: 0 0 4px;
  padding-left: 1em;
  color: #e20018;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.foerderprojekte-v2-hero h2 {
  margin: 0 0 8px;
  color: #8A0010;
}

.foerderprojekte-v2-hero p {
  margin: 0;
  padding-left: 1em;
  color: #5a4a4d;
  max-width: 760px;
}

.jahres-timeline {
  position: relative;
  padding-left: 30px;
  max-width: 930px;
  margin: 0 auto;
  /* margin-top: 48px; */
}

.jahres-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(to bottom, #e20018, #f1b9c2);
}

.jahres-timeline-eintrag {
  position: relative;
  margin-bottom: 18px;
  max-width: 900px;
}

.jahres-marker {
  position: absolute;
  left: -24px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e20018;
  box-shadow: 0 0 0 4px #f8d8de;
}

.jahres-panel {
  background: #fff;
  border: 1px solid #ecd7da;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.jahres-panel:hover {
  border-color: #e8a2ad;
  box-shadow: 0 12px 22px rgba(80, 20, 30, .12);
}

.jahres-panel-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff7f8;
  border-bottom: 1px solid #f3d7da;
}

.jahres-panel-kopf h3 {
  margin: 0;
  color: #8A0010;
  font-size: 24px;
}

.jahres-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #f3c2c9;
  background: #fdecef;
  color: #8A0010;
  font-size: 12px;
}

.jahres-panel-inhalt {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.jahres-bild {
  display: block;
  /* height: 180px; */
  border-right: 1px solid #f3d7da;
  background: #fdf3f4;
}

.jahres-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.jahres-text {
  padding: 14px 16px;
}

.jahres-text p {
  margin: 0 0 10px;
  color: #5a4a4d;
}

.jahres-link {
  display: inline-flex;
  align-items: center;
  padding-left: 1em;
  color: #e20018;
  font-weight: 600;
}

@media (max-width: 768px) {
  .jahres-panel-inhalt {
    grid-template-columns: 1fr;
  }

  .jahres-bild {
    height: 180px;
    border-right: 0;
    border-bottom: 1px solid #f3d7da;
  }
}

/* Moderne Projektkarten nur fuer Jahresseiten */
.projekte-jahr-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.projekte-jahr-modern-card {
  background: #fff;
  border: 1px solid #ecd7da;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(65, 18, 28, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.projekte-jahr-modern-card:hover {
  transform: translateY(-3px);
  border-color: #e8a2ad;
  box-shadow: 0 14px 28px rgba(65, 18, 28, .12);
}

.projekte-jahr-modern-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid #f3d7da;
  background: #fdf3f4;
}

.projekte-jahr-modern-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  max-width: unset;
}

.projekte-jahr-modern-content {
  padding: 14px 16px 16px;
}

.projekte-jahr-modern-date {
  margin: 0 0 8px;
  padding-left: 0;
  color: #8A0010;
  font-size: 13px;
  font-weight: 600;
}

.projekte-jahr-modern-content h3 {
  margin: 0 0 8px;
  padding-left: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #8A0010;
  padding-left: 0 !important;
}

.projekte-jahr-modern-content p {
  margin: 0 0 10px;
  padding-left: 0;
  color: #5a4a4d;
}

.projekte-jahr-modern-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e20018;
  font-weight: 600;
  text-decoration: none;
}

.projekte-jahr-modern-link:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .projekte-jahr-modern-grid {
    grid-template-columns: 1fr;
  }
}