/*
Theme Name: PRUSNAT
Theme URI: https://prusnat-bestattungen.de
Description: PRUSNAT Bestattungen Waldkirch
Author: optimuxX
Author URI: https://optimuxx.de
Template: Total
Version: 1.0
*/


/* === TEXT RENDERING === */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
.prusnatPTSerif {
  color: #8c2546;
  font-family: 'PT Serif';
  font-size: 32px;
  font-style: italic;
  margin-bottom: 50px;
}

.prusnatHeading {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.prusnatHeadingWineRed {
  color: #8c2546 !important;
}

.prusnatHeading2 {
  font-size: 22px;
  color: #8c2546;
  margin-bottom: 30px;
  margin-top: 50px;
}

.prusnatHeading3 {
  font-size: 38px;
  color: #8c2546;
}

.prusnatHeading4 {
  font-size: 28px;
  color: #8c2546;
  margin-top: 0;
}

.prusnatHeading4-2 {
  color: #8c2546;
  margin-bottom: 10px;
  margin-top: 0px;
}

.prusnatNumber {
  color: #8c2546;
  font-size: 28px;
}

.prusnatNumber2 {
  color: #8c2546;
  font-size: 20px;
  font-weight: 600;
}

.prusnatBoxLink a {
  color: #8c2546;
  font-weight: 600;
}

.prusnatPTSerif {
  line-height: 32px;
}



/* === HEADER === */
#site-header {
  position: relative;
}

#site-header-inner {
  width: 100%;
}

#header-aside,
.header-actions {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  align-items: center;
  background-color: #8c1f3a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  width: 48px;
}

.action-btn:hover {
  background-color: #a02b49;
  color: white;
  transform: scale(1.1);
}

#site-navigation a>span {
  padding-top: 0px !important;
}

#site-navigation-wrap {
  height: 80px;
}

/* ==== TEASER === */
.prusnatTeaser {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: flex-start;
  min-height: 200px;
  padding: 30px 30px;
}

.prusnatTeaser h2 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0 0;
  text-transform: uppercase;
}

.prusnatTeaser__text {
  color: white;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
}

.prusnatTeaser__link {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.prusnatTeaser__link:hover {
  color: white;
}

.prusnatTeaser__btn {
  display: flex;
  gap: 12px;
  margin-top: 13px;
}

.prusnatTeaser__btn a {
  align-items: center;
  background-color: white;
  border-radius: 8px;
  border: none;
  color: #8c2546;
  cursor: pointer;
  display: flex;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.5px;
  padding: 10px 0;
  text-decoration: none;
}

.prusnat-btn-primary-2 {
  background: #fff;
  color: #8c1f3a;
  font-weight: 600;
}

.prusnat-btn-secondary-2 {
  background: #fff;
  color: #8c1f3a;
  font-weight: 600;
}

.prusnat-btn-primary,
.prusnat-btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  width: 45%;
  text-align: center;
}

.prusnatContent__btn {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.prusnatContent__btn a {
  align-items: center;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  letter-spacing: 0.5px;
  padding: 11px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.prusnat-btn-primary:hover,
.prusnat-btn-secondary:hover,
.prusnat-btn-primary-2:hover,
.prusnat-btn-secondary-2:hover {
  background-color: #D28FA4;
  color: white;
  text-decoration: none;
}

.prusnat-btn-secondary-2:hover {
  border-color: transparent !important;
}

.has-priority-zindex {
  position: relative !important;
  z-index: 999 !important;
  margin-top: -100px;
  margin-right: -120px;
  margin-left: -120px;
}

@media screen and (max-width: 980px) {
  .has-priority-zindex {
    margin-left: 0;
    margin-right: 0;
    margin-top: -30px;
  }
}

/* === BIG TEASER === */
.prusnatSectionTeaser {
  color: white;
  font-size: 22px;
}

/* === MENU === */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  /* wichtig! */
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-item-home a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.main-navigation li:first-child .menu-item-icon {
  margin-inline-end: 0;
}

/* ==== CONTENT AREA === */
.prusnat-btn-primary-2 {
  background-color: #8c1f3a;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.prusnat-btn-secondary-2 {
  background-color: white;
  border: 2px solid #8c1f3a !important;
  box-sizing: border-box;
  color: #8c1f3a;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vcex-multi-buttons .theme-button {
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
}


.vcex-toggle__content {
  background-color: #f7f5f5 !important;
  padding-top: 45px;
}

.prusnatContactButton {
  background: #8c1f3a;
  border-radius: 8px;
  border: none;
  color: #FFF;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-top: 40px;
  outline: none;
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 12px 20px;
}

.prusnatContactButton:hover {
  background: #D28FA4;
  color: #FFF;
}

.prusnatTile {
  background: #f7f5f5;
  padding: 30px;
}

/* === TESTIMONIALS === */
.prusnatTestimonials {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.prusnatTestimonials .quote {
  font-style: italic;
  line-height: 32px;
}

.prusnatTestimonials .author {
  font-style: normal;
  font-size: 16px;
  margin-top: 12px;
  opacity: 0.8;
}

/* === TEAM === */
.team-card {
  align-items: stretch;
  background: #ece7e6;
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.team-card__content {
  padding: 40px;
}

.team-card__image img {
  height: 100%;
  max-width: 300px;
  object-fit: cover;
}

.team-card__content h3 {
  color: #8c1f3a;
  margin-bottom: 10px;
}

.team-card__content .role {
  font-style: italic;
  margin-bottom: 20px;
}

.team-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .team-card {
    flex-direction: column;
    padding: 20px;
    text-align: center;
    width: 100%;
    gap: 0px;
    max-width: 100%;
  }

  .team-card__image {
    margin-bottom: 15px;
  }

  .team-card__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .team-card__content {
    padding: 0;
  }
}

.prusnatTile {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prusnatTile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* === CONTACTFORM7 === */
.cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.cf7-col {
  flex: 1;
}

.cf7-col.full {
  flex: 100%;
}

.cf7-col input,
.cf7-col textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.cf7-datenschutz {
  display: block;
  margin: 20px 0;
  font-size: 14px;
}

.cf7-datenschutz .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cf7-datenschutz input[type="checkbox"] {
  margin: 0;
}

.cf7-datenschutz,
.cf7-datenschutz-hinweis {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  display: block;
}

.cf7-datenschutz a,
.cf7-datenschutz-hinweis a {
  color: #8c1f3a;
  text-decoration: underline;
}

.wpcf7-submit {
  background-color: #8c2546;
  border-radius: 10px;
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wpcf7-submit:hover {
  background-color: #d28fa4;
}

@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
  }
}

/* === BLOG === */
#single-blocks>header>h1 {
  margin-top: 80px;
}

#post-media>img {
  margin-top: 80px;
}

/* === WIDGETS ==== */
.prusnatSpacer {
  height: 84px
}

#footer-widgets .prusnatLinkList a,
#footer-widgets p a {
  font-style: normal;
  line-height: 34px;
}

@media (max-width: 768px) {
  .prusnatSpacer {
    height: 0;
  }
}

.prusnatLogo {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif !important;
}

.prusnatClaim {
  font-family: 'PT Serif';
  font-size: 22px;
  font-style: italic;
}

/* === FOOTER === */
#menu-footermenu {
  text-transform: uppercase;
  font-weight: 500;
}

#footer-bottom-menu {
  order: -1;
}

#footer-widgets a {
  font-style: italic;
}

#footer-widgets a:hover {
  text-decoration: underline;
}

/* === COMPLIANCE === */
#cmplz-document {
  display: block;
  max-width: none;
}

#cmplz-document p,
#cmplz-document li,
#cmplz-manage-consent-container-nojavascript {
  font-size: 18px !important;
  line-height: 28px;
}

.cmplz-cookiebanner {
  width: 600px !important;
  max-width: 600px !important;
  min-width: 600px !important;
}

.cmplz-category-title {
  font-size: 18px;
  font-weight: 600;
}

.cmplz-description-functional,
.cmplz-description-preferences,
.cmplz-description-statistics {
  font-size: 18px;
}

.cmplz-message {
  width: 100% !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

.cmplz-btn:hover {
  background-color: #d28fa4 !important;
  border-color: #D28FA4 !important;
}

@media (max-width: 768px) {
  .cmplz-cookiebanner {
    width: calc(100% - 20px) !important;
    min-width: auto !important;
    max-width: calc(100% - 20px) !important;
    right: 10px !important;
    left: 10px !important;
  }
}

/* === MEDIA QUERIES REST === */
@media (max-width: 768px) {
  .wpex-mobile-menu__logo img {
    width: 180px !important;
    height: auto;
  }

  #SR7_1_1-1-1 {
    font-size: 20px;
    left: 40px !important;
  }

  .prusnatTeaser {
    margin-bottom: -30px !important;
  }

  .prusnatPTSerif {
    line-height: 1.25;
  }

  .prusnatTestimonials .quote {
    font-size: 20px !important;
  }

  .prusnatHeading3 {
    font-size: 28px !important;
  }

  .prusnatHeading4 {
    font-size: 24px;
  }

  .prusnatSignet {
    display: flex !important;
    justify-content: center !important;
  }

  .prusnatSignet img {
    height: 150px !important;
    margin-top: 40px;
  }

  .prusnatContent__btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .prusnatContent__btn a {
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
  }

  .team-card__image img {
    margin-top: 15px !important
  }

  .related-post-inner.wpex-flex-grow {
    margin-bottom: 40px;
  }

  .post-next {
    font-size: 16px !important;
  }

  #footer-bottom {
    font-size: 14px;
  }

  .prusnatSignet img {
    object-position: center !important;
  }

  .page-id-208 .prusnatSignet img,
  .page-id-215 .prusnatSignet img,
  .page-id-219 .prusnatSignet img {
    margin-top: 0 !important;
  }
}