/*
Theme Name: Tatwort Theme
Description: Child‑Theme von Astra
Author:      subsolutions.newmedia
Author URI:  https://subsolutions.at
Template:    astra
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tatwort
*/

/* --------------------------------------------------
   Eigene Styles (werden NACH dem Astra‑CSS geladen)
-------------------------------------------------- */

/* --- ::::::::: Hier die Farben von tatwort:

rot: #e0002a


:::::::::: --- */



/* ----- :::::::::: Allgemeines :::::::::: ---- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
	font-family: "DINNextLTPro", Helvetica, Arial, sans-serif;
}

a {
  text-decoration: none !important;
}


/* Nur Inhaltslinks (nicht im Header, Footer, Menüs oder Buttons) */
main a:not(.button):not(.wp-block-button__link):not(header a):not(footer a):not(nav a):not(.site-header a):not(.site-footer a) {
  background-color: #e0002a;
  color: white;
  padding: 5px 7px 2px 7px;
  padding-right: 5px;
  border-radius: 0;
}

main a:not(.team-thumbnail-link):not(.button):not(.wp-block-button__link):not(header a):not(footer a):not(nav a):not(.site-header a):not(.site-footer a):hover {
  opacity:0.5;
  color: white;
  border: 1;
  border-color: #e0002a solid ;
}

.entry-title {
  white-space: nowrap;
}

.tatwort-separator {
  width: 50px;
  height: 5px;
  background-color: #dc0027; /* Tatwort-Rot */
  margin: 0 0 1rem 0;
}

.uagb-block-63a911ae .uagb-ifb-content .uagb-ifb-icon-wrap svg {
    fill: #e0002a;
}

/* ----- ::::::: Header & Menu ::::::::: ---- */

#primary-site-navigation-desktop {
  font-size: 0.9em;
}

body.home.ast-theme-transparent-header .ast-primary-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

body:not(.ast-theme-transparent-header) .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: opacity 0.3s ease;
}

body:not(.ast-theme-transparent-header) .ast-primary-header-bar {
    background-color: rgba(255, 255, 255, 0.9);
}

body:not(.ast-theme-transparent-header) .ast-primary-header-bar .ast-builder-menu-1 .menu-item > .menu-link {
    color: #e0002a ;
}

/* Basispositionierung für alle relevanten Menüpunkte außer tatwort-jobs-button */
.ast-primary-header-bar .ast-builder-menu-1 .menu-item:not(.tatwort-jobs-button) > .menu-link {
  position: relative;
}

/* Linie oberhalb (Hover-Effekt) */
.ast-primary-header-bar .ast-builder-menu-1 .menu-item:not(.tatwort-jobs-button) > .menu-link::before {
  content: "";
  position: absolute;
  top: -10px; /* Abstand über dem Text */
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 70%;
  background-color: #e0002a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover-Zustand */
.ast-primary-header-bar .ast-builder-menu-1 .menu-item:not(.tatwort-jobs-button) > .menu-link:hover::before {
  opacity: 1;
}

.entry-title {
      display: inline-block;
      color: #fff;
      background-color: #e0002a; 
      padding: 15px 90px 2px 20px;
      position: relative;
      font-size: 3.5em !important;
      margin: 1.2em 0;
}

body:not(.ast-theme-transparent-header) .ast-primary-header-bar .ast-button-wrap .menu-toggle {
  background-color: #e0002a;
}

.content-align-flex-start .main-header-menu {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #fff;
}

/* --- ::::::::: Jobs Button im Menü ::::::::: --- */

.tatwort-jobs-button > a {
  background-color: #e0002a;  /* Rot */
  color: #ffffff !important;  /* Weißer Text */
  margin-left: 25px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.ast-builder-menu-mobile .tatwort-jobs-button > a {
  margin-left: 0px; /* wichtig wegen margin siehe oben! */
}

.tatwort-jobs-button > a:hover {
  background-color: #b30021;  /* etwas dunkler beim Hover */
  color: #ffffff !important;
  text-decoration: none;
}


/* --- :::::::: Mobile Menu  ::::::::: ---*/


.ast-main-header-nav-open.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content {
    margin-top: 14px;
}

.home .ast-main-header-nav-open.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content {
    margin-top: 0;
}

.ast-header-break-point .main-header-bar-navigation {
    line-height: 4em;
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
        color: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover{
        color: #fff;
        opacity: 0.5;
        background-color: #fe0030;
    }
}

.ast-mobile-header-content > *:last-child, .ast-desktop-header-content > *:last-child {
    padding-bottom: 100%;
    background-color: #e0002a;
}

.ast-mobile-header-content > *:first-child, .ast-desktop-header-content > *:first-child {
    padding-top: 3em;
    margin-top: 3em;
    background-color: #e0002a;
}

@media (max-width: 921px) {
  .cs-mobile-logo-fixed {
    position: fixed;
    top: 40px;
    left: 30px;
    z-index: 9999;
    pointer-events: none;
  }

  .cs-mobile-logo-fixed a {
    pointer-events: auto;
  }

  .cs-logo-white {
    width: 150px;
    height: auto;
    max-width: 75%;
  }
}

@media (max-width: 921px) {
  .ast-mobile-popup-drawer.active {
    background-color: #e0002a; 
  }

  .ast-mobile-popup-inner {
    background-color: transparent;
    padding-top: 0; 
  }
}

@media (max-width: 921px) {
  #ast-mobile-site-navigation {
    margin-top: -220px;
    padding-top: 110px; 
    position: relative;
  }
}

@media (max-width: 921px) {
  #ast-mobile-site-navigation li:first-child {
    padding-top: 50px;
  }
  .home #ast-mobile-site-navigation li:first-child {
    padding-top: 90px;
  }
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
        color: #fff;
        padding-top: 7px;
        padding-bottom: 5px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover{
        color: #fff;
        opacity: 0.5;
    }
}

.ast-mobile-header-content > *:last-child, .ast-desktop-header-content > *:last-child {
    padding-bottom: 100%;
    background-color: #e0002a;
}

.ast-mobile-header-content > *:first-child, .ast-desktop-header-content > *:first-child {
    padding-top: 3em;
    margin-top: 3em;
    background-color: #e0002a;
}

.cs-mobile-menu-footer {
    list-style: none;
    padding: 20px 15px;
    margin: 1px 0 0 0;
    text-align: center;
    border-top: 0px solid rgba(255, 255, 255, 0.2);
}

.cs-mobile-menu-footer p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.cs-footer-link {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cs-footer-link:hover {
    color: #fff;
    opacity: 0.7;
}

/* --- :::::::: Mobile Menu Animation ::::::::: ---*/

@media (max-width: 921px) {
  /* Ausgangszustand */
  #ast-mobile-site-navigation li {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
  }

  /* Zielzustand bei geöffneter Navigation */
  body.ast-main-header-nav-open #ast-mobile-site-navigation li {
    animation: slideFadeIn 1.1s ease forwards;
  }

  /* Animation selbst */
  @keyframes slideFadeIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item {
  animation: slideFadeIn 0.5s ease forwards;
}

body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(1) { animation-delay: 0.1s; }
body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(2) { animation-delay: 0.2s; }
body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(3) { animation-delay: 0.3s; }
body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(4) { animation-delay: 0.4s; }
body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(5) { animation-delay: 0.5s; }
body.ast-main-header-nav-open #ast-mobile-site-navigation li.menu-item:nth-of-type(6) { animation-delay: 0.6s; }


/* ----- ::::::: Footer :::::::: ---- */

.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
	min-height: 0 ;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  opacity: 0.5;
}

/* ----- :::::::: Startseite ::::::: ---- */

.tw-home-container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.tw-home-container h1 {
  margin: 0;
  line-height: 0.3em;
  color: white;
}

.tw-home-container p {
  color: white;
  background-color: #e0002a;
  display: inline-block;
  padding: 3px 30px 2px 15px;
  position: relative;
}

.tw-home-container .line {
  display: inline-block;
  background-color: #e0002a;
  padding: 50px 20px 5px 20px;
  position: relative;
}

@media screen and (max-width: 1180px) {
.tw-home-container .line {
  padding: 40px 10px 4px 10px;
  position: relative;
}
}

@media screen and (max-width: 544px) {
.tw-home-container .line {
  padding: 30px 10px 4px 10px;
  position: relative;
}
}

.tw-home-container .line-1 {
	padding-top:55px;
}

@media (max-width: 544px) {
	.tw-home-container .line-1 {
	padding-top:30px;
}
}

.tw-home-container .line-1::after {
  content: '';
  display: inline-block;
  width: 100%;  /* zusätzliche Balkenbreite rechts */
  height: 100%;
  background-color: #e0002a;
}

.tw-home-container .line-2::after {
  content: '';
  display: inline-block;
  width: 100%;  /* kürzerer Balken */
  height: 100%;
  background-color: #e0002a;
  
}

/* ----- ::::::::: eigenes Listensymbol. Achtung: die Klasse "tatwort-checklist" muss in WP bei dem jew. Listenblock eingegeben werden. :::::: --- */

ul.tatwort-checklist li {
  list-style: none;
  position: relative;
  padding-left: 1.5em;
}

ul.tatwort-checklist li::before {
  content: "✓";
  color: #e0002a;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.9em;
  line-height: 1.2;
}


/* --- ::::::::: Unser Netzwerk Liste auf der Über uns Seite :::::: --- */

ul.custom-slash-list {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.custom-slash-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.custom-slash-list li {
  display: inline-block;
  white-space: nowrap;
  position: relative;
}

.custom-slash-list li::after {
  content: "\00a0//";
  color: #ccc;
  margin-left: 0.4em;
}

.custom-slash-list li:last-child::after {
  content: ""; /* Kein // am Ende */
}


/* --- :::::::: Leistungen Seite :::::::: --- */

@media (max-width: 1180px) {
	.post-258 h4.wp-block-heading {
		font-size: 1.38em;
	}
}

/* --- :::::::: Kontakt Seite & Google Map :::::::: --- */

.google-map-fullwidth-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  z-index: 1;
  margin-top: 40px; /* optionaler Abstand zum vorherigen Element */
  margin-bottom: 40px;
}

.google-map-fullwidth-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(110%);
  pointer-events: none;
  transition: filter 0.3s ease;
}

.google-map-fullwidth-wrapper:hover iframe {
  pointer-events: auto;
  filter: grayscale(0%) contrast(100%); /* beim Hover normale Farben zeigen (optional) */
}

/* Optionaler Button unten rechts in der google map zum lkarte vergrößern! */

.map-link-btn {
  position: absolute;
  bottom: 10px;
  right: 55px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
  transition: background 0.2s ease;
}

.map-link-btn:hover {
  background: #fff;
}

/* ------- :::::::: Über uns Seite ::::::::: ------- */

@supports (-webkit-touch-callout: none) {
  .wp-block-uagb-container {
    background-attachment: scroll !important;
  }
}

.post-138 .uagb-block-93205f4c .uagb-ifb-title {
  display: inline;
  line-height: 1em;
  padding: 7px 30px 2px 15px;
  margin-top: 155px !important;
  background-color: #e0002a;
  color: white;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.post-138 .uagb-block-93205f4c .uagb-ifb-desc {
  padding-top: 2em;
  line-height: 1.3em;
}

/* ------- ::::::: Team Hauptseite bzw. Übersicht ::::::::: ------- */

.page-id-492 p.uagb-ifb-title {
	font-size: 1.2em;
}

.team-fokus li::marker, .team-bio li::marker {
  content: '- '; /* Personensymbol */
  color: #dc0027; /* Tatwort-Rot */
  padding: 0 2px;
}


.team-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

/* Rote Hinterlegung & weiße Schrift – einzeln für Name & Position */
.loop-team-name {
  font-size: 1.35em;
  background-color: #e0002a;
  color: #fff;
  position: relative;
  z-index: 3;
  width: fit-content;
  display: inline-block;
  padding: 2px 10px 0 10px;
  margin-left: -15px;
  margin-top: -50px;
  margin-bottom: 0;

}

/* Responsives Grid */
@media (max-width: 1024px) {
  .loop-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .loop-team-grid {
    grid-template-columns: 1fr;
  }
  .team-grid-wrapper {
   
    justify-items: center;
    margin: 0 20%;
  }
}

/* Link in Teamvorschau und hover FX */

a.team-thumbnail-link {
  margin:0 !important;
  padding:0 !important;
}

.team-thumbnail-link {
  display: block;
  overflow: hidden;
  position: relative;
}

/* Bild nicht vergrößern, sondern von innen zoomen */
.team-thumbnail img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
  transform-origin: center center;

}

/* Nur das Bild zoomt nach innen */
.team-thumbnail-link:hover img {
  transform: scale(1.08);
}

/* das Zitat Icon (die Anführungsstriche)  */
.team-zitat svg {
  width: 2em;
}


/* ------- ::::::: Eine Team Singleseite bzw. Einzelansicht ::::::::: ------- */

.teammitglied h2 {
  margin-top: -50px;
  font-size: 2.5em !important;
}

.team-position {
  font-size: 1.5em;
  padding-left: 20px;
}

.teammitglied .entry-header {
  margin-bottom: 5rem;
}

@media (max-width:940px) {
  .teammitglied h2 {
  margin-top: -70px;
  font-size: 1.8em !important;
}

.team-position {
  font-size: 1em;
}

.teammitglied .entry-header {
  margin-bottom: 5rem;
}
}

.team-info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.team-info-left,
.team-info-right {
  flex: 1 1 48%;
}

@media (max-width: 800px) {
  .team-info-left,
  .team-info-right {
    flex: 1 1 100%;
  }
}

.team-beitragsbild img {
    width: 75%;
    height: auto;
    max-width: none;
}

.team-zitat svg {
  width: 2rem;
  height: auto;
  fill: #e0002a;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.team-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.label {
  min-width: 75px; /* oder z. B. 6ch je nach Design */
  color: #999ab0;
  font-weight: bold;
  white-space: nowrap;
}

.info-link {
  background-color: #c00;
  color: #fff;
  text-decoration: none;
  padding: 2px 6px;
  display: inline-block;
  white-space: nowrap;
}




/* ------- ::::::: Projekte-Seite ::::::::: ------- */

.page-id-607 h4.uagb-ifb-title {
  font-size: 2rem;
}

.page-id-607 .uagb-ifb-icon-wrap {
  margin-bottom: -1em;
}




/* ------- ::::::: Filter und Navi für Projekte Auswahl auf Projekte-Seite ::::::::: ------- */


/* ---------- Projekt Filter Buttons im Tatwort-Stil ---------- */
.projekt-filter {
  text-align: left;
  margin: 2rem 0 1.5rem;
}
.projekt-filter .filter-btn {
  display: inline-block;
  background: #e0002a;
  color: #fff;
  border: none;
  font: inherit;
  padding: 0.2em 1.2em;
  margin: 0 1px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.projekt-filter .filter-btn:hover {
  background: #a90020;
}
.projekt-filter .filter-btn.active {
  background: rgba(160, 0, 30, 0.7);
  color: #fff;
}
@media (max-width: 630px) {
  .projekt-filter .filter-btn {
  padding: 8px 10px 4px 10px;
  font-size: 1em;
  margin:  0 0 1rem 0;
}
} 


/* ---------- Projekt Grid ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 0 0 50px 0;
}
@media (max-width: 991px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Projekt-Kachel ---------- */

.project-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.project-card a {
  display: block;
  text-decoration: none;
  position: relative;
}

.project-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  display: flex;
}

.project-card a {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1;
}



@media (max-width:900px) {
  #project-list .project-title {
    font-weight: 400;
    font-size: 1em;
    line-height: 1em;
  }
}

.project-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.project-card:hover .project-title {
  background: rgba(224, 0, 42, 0);
}

.project-title {
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(224, 0, 42, 0.89);*/
  /*background: rgba(160, 0, 30, 1);*/
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  transition: background 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.project-card a:hover {
  opacity: 1 !important;;
}

.project-card:hover .project-title {
  background: rgba(224, 0, 42, 0);
}


/* ------- ::::::: Single-Projekte-Seite - Ein Projekt ::::::::: ------- */

/* --------------------- Projekt-Single Styling --------------------- */


/* ========== Projekt-Single Hero-Bereich ========== */

.projekt-hero {
  position: relative;
  width: 100vw;
  margin-top:-190px;
  height: 80vh;
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: calc(-50vw + 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@supports (-webkit-touch-callout: none) {
  .projekt-hero {
    background-attachment: scroll !important;
  }
}

.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Schwarzes Overlay */
  /* background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;  */
  pointer-events: none;
  z-index: 1;
}

.projekt-hero-inner {
  color: #fff;
  padding: 0.2rem 0.3rem;
  margin-left: 12%;
  margin-right: 13%;
  margin-bottom: 150px;
  max-width: 90%;
  z-index: 2;
  white-space: normal;
  position: relative;
}

.projekt-hero-title { 
  display: inline-block;
  background-color: #e0002a;
  color: #fff;
  padding: 0.2em 0.2em;
  margin: 20px 40px 80px 30px;
  position: relativ;
  max-width: 100%;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  -webkit-box-decoration-break: clone;
  z-index: 2;
}

/* ========== Untertitel / Metadaten ========== */

.projekt-content-container {
  padding: 3rem 5%;
  /*max-width: 1200px;*/
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.projekt-untertitel {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 1.5rem;
}

/* ========== Spaltenlayout für Projekt-Inhalte ========== */
.projekt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.projekt-column {
  flex: 1 1 300px;
}

/* ========== Projektabschnitte ========== */

.projekt-section {
  margin-bottom: 2.5rem;
}

.projekt-section h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
  color: #222;
}

@media (max-width:600px){
  .projekt-hero-title {
    font-size: 2.7em;
    margin-left:0;
  }
    .projekt-section h3 {
      font-size: 1.5em;
    }
    .projekt-content-container h2 {
      font-size: 1.7em;
    }
  }

.projekt-section-kurztext, .projekt-section-beschreibung {
  padding-right: 20px;
  margin-right: 5px;
}


/* ========== Listen mit Icons ========== */

.projekt-content-container .icon-list {
  padding-left: 0;
  margin: 0
}

.projekt-content-container .icon-list {
  padding-right: 2rem;
}

.projekt-content-container .icon-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  list-style: none;
}

.projekt-content-container .icon-list a {
  display: inline-block;
  background-color: #e0002a;
  color: white;
  padding: 0.2em 0.1em;
  text-decoration: none;
  max-width: 100%;
}

.person-icon li::before {
  content: '-'; /* Personensymbol */
  color: #e0002a; /* Tatwort-Rot */
  position: absolute;
  left: 0;
  top: 0.1em;
}

.check-icon li::before {
  content: '\2714'; /* ✓ */
  color: #e0002a; /* Tatwort-Rot */
  position: absolute;
  left: 0;
  color: #dc0027;
}

.link-icon li::before {
  content: '\1F517'; /* 🔗 */
  position: absolute;
  left: 0;
  color: #dc0027;
}

@media (max-width: 900px) {
  .projekt-content-container ul, .projekt-content-container ol {
    margin: 0;
  }
}

/* ========== WP-Inhalt und allgemeine Inhalte ========== */


.projekt-content-container .entry-content a:hover {
  opacity: 0.8;
}

/* ========== Vor / Zurück-Navi ========== */
.projekt-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  font-size: 0.95rem;
  color: #777;
}

.projekt-nav a {
  color: #777;
  text-decoration: none;
}

.projekt-nav a:hover {
  color: #dc0027;
}

@media (max-width: 900px) {
  .projekt-nav {
  font-size: 0.65rem;
   }
}
/*  ========== mehr lesen Button ========== */

.beschreibung-toggle-btn {
  background-color: #e0002a;
  color: #fff;
  border: none;
  padding: 0.4rem 1rem 0.3rem 1rem;
  font-size: 0.9em;
  margin-bottom: 4rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.beschreibung-toggle-btn:hover {
  background-color: #c00024;
}


