/*
 Theme Name:     Twenty Twenty-Five Child
 Template:       twentytwentyfive
 Version:        1.0.0
 Description:    Mein Child Theme für Twenty Twenty-Five.
 Author:         Bauverlag
*/

a {
	font-weight: 500;
	color: #b62f3f;
	text-decoration: none;
}

a:hover {
	font-weight: 500;
	color: #7A1E2C;
	text-decoration: underline;
}

.nav-links a, 
.footer-links a {
 	font-weight: 600;
    text-decoration: none;
}

.nav-links a:hover, 
.nav-links a:active, 
.nav-links a:focus {
	font-weight: 600;
	color: #EEEFEF !important;
 	text-decoration: none;
}

.footer-links a:hover, 
.footer-links a:active, 
.footer-links a:focus {
	font-weight: 600;
	color: #EEEFEF !important;
 	text-decoration: none;
}

.footer-links {
  white-space: nowrap;
  display: inline-block;
}

/* Trennzeichen im Footer einfügen */
.footer-links:not(:last-child)::after  {
  content: "|";
  padding: 0 0 0 1rem;
  color: #fcfcfd; /* optional: Farbe anpassen */
  font-weight: normal;
}

/* Responsives Verhalten */
@media (max-width: 826px) {
  .footer-block div {
    text-align: center;
  }
  .wp-block-social-links {
  	justify-content: center;
  }
}


/* Focus styles deaktivieren */
:where(.wp-site-blocks *:focus) {
	outline-width: 0px !important;
	outline-style: none !important;
}

.wp-block-site-logo a:hover, 
.wp-block-navigation-item a:hover, 
.footer-links a:hover {
	outline-width: 0px;
	outline-style: none;
}


.button-header a:hover, 
.button-header a:active, 
.button-header a:focus {
	background-color: #eeefef;
	color: #b62f3f !important;
 	text-decoration: none;
}

.button-news a:hover, 
.button-news a:active, 
.button-news a:focus {
	background-color: #A3A5A5;
	color: #b62f3f !important;
 	text-decoration: none;
}



/* Headerbild Position */
.headerbild {
	margin-top: -5.5rem !important;
}
.headerbild-top {
	margin-top: -10rem !important;
}
/* Responsives Verhalten */
@media (max-width: 438px) {
  .headerbild-top {
    margin-top: -5rem !important;
  }
}
@media (min-width: 439px) and (max-width: 778px) {
  .headerbild-top {
    margin-top: -6rem !important;
  }
}
@media (min-width: 779px) and (max-width: 988px) {
  .headerbild-top {
    margin-top: -8rem !important;
  }
}


/* h1 entfernen */
.wp-block-post-title {
	display: none;
}


/* h1 mit Schlagschatten */
.heading-elegant {
  text-shadow: 2px 2px 5px #A3A5A5;
}


/* ######## Countdown für Startseite ######## */
.countdown {
  background-color: #B62F3F;
  padding: 2.4rem;
  border-radius: 0px;
  text-align: center;
}
.countdown p {
  color: #fcfcfd;
  font-family: "Open Sans";
  font-size: 1.2em;
  font-weight: 500;
  padding-bottom: 1rem;
  margin: 0;
}
p.timer {
  font-family: "Roboto Condensed";
  font-size: 2.8em;
  font-weight: 500;
  padding: 0;
  margin: 0;
}
div.timer-wrapper {
  display: flex;
  justify-content: center;
}

/* Responsives Verhalten */
@media (max-width: 781px) {
  .countdown {
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
  }
  p.timer {
    font-size: 2.8em;
  }
}

@media (min-width: 782px) and (max-width: 879px) {
  .countdown {
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }
  p.timer {
    font-size: 2.3em;
  }
}

@media (min-width: 880px) {
  .countdown {
    padding-top: 51px;
    padding-right: 30px;
    padding-bottom: 51px;
    padding-left: 30px;
  }
  p.timer {
    font-size: 2.5em;
  }
}



/* ######## ZITAT-BLOCK ######## */
/* Grid für mehrere Zitat-Karten */
.zitat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  align-items: stretch;
}

/* Einzelne Karte */
.zitat-karte {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  max-width: 295px;
  flex: 0 0 295px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Portrait-Bild oben, über Karte hinaus */
.zitat-karte .zitat-bild {
  width: 150px;
  height: 186px;
  object-fit: cover;
  margin: 0 auto;
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
}

/* Anführungszeichen-Symbol */
.zitat-karte .zitat-icon {
  position: relative;
  z-index: 999;
  font-size: 4.5rem !important;
  margin-top: 75px;
}

/* Zitattext */
.zitat-karte .zitat-text {
  margin: 0;
  position: relative;
  flex-grow: 1; /* sorgt für gleichmäßige Kartenhöhe */
}

/* Vertikale Linien links */
.zitat-karte .zitat-bild::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100px;
  background: #b62f3e;
  top: 40%;
}

/* Vertikale Linien rechts */
.zitat-karte .zitat-text::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 100px;
  background: #b62f3e;
  top: 30%;
}

.zitat-karte .zitat-bild::before {
  left: -4.2rem;
}

.zitat-karte .zitat-text::after {
  right: -2.8rem;
}

/* Responsives Verhalten */
@media (max-width: 988px) {
  .zitat-karte {
    width: 100%;
    flex: 0 0 100%;
    margin: 1rem 0 2rem 0 !important;
  }
}



/* ### FAQ Accordion ### */
.accordion summary {
	padding: 1rem 2rem;
}
.accordion p {
	margin-block-start: 0;
}

/* Neues SVG-ICON für FAQ Accordion */
.wp-block-details.accordion-icon[open] {
    /* border: solid 1px #efefef; */
    padding-bottom: 30px;
}   

.wp-block-details.accordion-icon summary {
    /* background: #f7f7f7;
    padding: 3px 15px; */
    margin: 0;
    list-style-position: outside;
}

.wp-block-details.accordion-icon summary:hover {
    background-color: #B62F3F;
}

.wp-block-details.accordion-icon > * {
    /* margin: 10px 20px;
    margin-block-start: 1.5rem; */
}

.wp-block-details.accordion-icon summary::marker {
    display: none;
}

.wp-block-details.accordion-icon summary::-webkit-details-marker {
    color: transparent;
    width: 0;
}

.wp-block-details.accordion-icon summary::before {
    content: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='plus-circle' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath d='M4 12H20M12 4V20' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    display: inline-block;
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.wp-block-details.accordion-icon[open] summary::marker {
    content: '';
}
 
.wp-block-details.accordion-icon[open] summary::before {
    content: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='minus-circle' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath d='M3 12L21 12' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"); 
}



/* #### Preiskategorien Kacheln #### */
/* === Kachel-Grundlayout === */
.kachel-container {
  position: relative;
  max-width: 955px;
  margin: 0 auto;
  /* font-family: ; */
}

.kachel-row {
  display: flex;
  gap: 3rem;
  position: relative;
  margin: 2rem 0; /* Abstand zwischen den Zeilen */
}

.kachel {
  width: 280px; /* Feste Breite für Kacheln */
  height: 230px; /* Feste Höhe für Kacheln */
  /* flex: 1; */
  cursor: pointer;
  transition: all 0.3s ease;
  order: 2;
  position: relative; /* Für absolute Positionierung der Kinder */
}

.kachel.versteckt {
  display: none !important;
}

.kachel.aktiv {
  order: 1; /* Aktive Kachel immer links */
  background: #bbb;
}

/* alle nicht-aktiven Kacheln ausblenden */
.kachel-row.aktiv .kachel:not(.aktiv) {
  display: none;
}

.kachel-text {
  width: 100%; /* Volle Breite der Kachel */
  background: #b62f3e;
  color: #fff;
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: "Roboto Condensed";
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.95;
  z-index: 2;
  box-sizing: border-box;
}

.kachel-text .small {
  font-size: 1rem;
  font-weight: normal;
  display: block;
}

.kachel-text:hover {
  background: #a3a5a5;
}

.kachel-cover {
  width: 100%;
  height: 100%;
  min-height: unset !important; /* Überschreibt min-height */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  color: white;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kachel-overlay-text {
  display: none;
  flex: 2;
  background: #efefef;
  border-left: 10px solid #b62f3e;
  padding: 0.5rem;
  transition: all 0.3s ease;
  order: 2;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  height: 230px; /* Feste Höhe für Kachel */
  box-sizing: border-box;
  position: relative; /* Für das absolute Positionieren des Buttons */
}

.kachel-overlay-text p {
	padding-right: 4rem;
}

.kachel-overlay-text a {
  display: inline-block;
  background-color: #b62f3e;
  color: #fcfcfd;
  border: none;
  border-radius: 0;
  font-style: normal;
  font-weight: 700;
  padding: 0.5rem 2rem;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
}

.kachel-overlay-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  color: #b62f3e;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  padding: 0;
}

/* zeige Textblock nur wenn aktiv */
.kachel-row.aktiv .kachel-overlay-text {
  display: block;
}

/* Responsive Design für .kachel */
@media (max-width: 900px) {
  .kachel-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .kachel {
    width: 45vw !important;
    min-width: 220px;
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .kachel-row {
    display: block;
    align-items: center;
  }
  .kachel {
    display: block;
    width: 280px !important;
    min-width: unset;
    height: 180px;
    margin: auto;
    margin-bottom: 1rem;
  }
  .kachel-overlay-text {
    height: auto;
    min-height: 180px;
  }
}


/* #### Kontakt-Seite #### */
/* Foto-Filter s/w */
.kontaktfoto-filter img {
  filter: grayscale(95%);
}

/* #### Kontakt-Formular #### */
/* Wrapper anpassen */
.kontaktformular-wrapper {
  max-width: 550px;
  padding: 2rem;
  background-color: transparent;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
}

/* Input-Felder & Textareas */
.kontaktformular-wrapper input[type="text"],
.kontaktformular-wrapper input[type="email"],
.kontaktformular-wrapper input[type="tel"],
.kontaktformular-wrapper textarea,
.kontaktformular-wrapper select {
  width: 80%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.kontaktformular-wrapper input:focus,
.kontaktformular-wrapper textarea:focus,
.kontaktformular-wrapper select:focus {
  border-color: #B62F3F;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
  outline: none;
}

/* Labels */
.kontaktformular-wrapper label, 
.kontaktformular-wrapper p {
  font-weight: bold;
  margin-bottom: 0.25rem;
  display: block;
  color: #333;
}

/* Submit-Button */
.kontaktformular-wrapper button,
.kontaktformular-wrapper input[type="submit"] {
  background-color: #B62F3F;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.kontaktformular-wrapper button:hover,
.kontaktformular-wrapper input[type="submit"]:hover {
  background-color: #A3A5A5;
  color: #B62F3F;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
  .kontaktformular-wrapper {
    padding: 1.5rem 1rem;
  }
}

