/*
 Theme Name:   Haus Haldeck WP
 Description:  Haus Haldeck WP
 Author:       Mila
 Author URI:   https://haus-haldeck.de
 Template:     twentytwentyfive
 Version:      1.0
*/
	.start-cover-p{
text-shadow: 0px 0px 24px #3f352f;
	}

.nav-overlay-wrapper .wp-block-social-link a {
  font-size: 2rem !important;
}
main {
  background: #f0ebe6;
  position: relative;
  z-index: 1;
	overflow-x: hidden;
}
:root :where(.wp-block-list li) {
  margin-top: 0.3rem;
}
.subline {
  color: var(--wp--preset--color--custom-ocker);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #e8e2da;
}
.startseite .entry-content {
  margin-block-start: 0;
  margin-top: -1px !important;
  z-index: 1;
  position: relative;
  background: #f0ebe6;
}
main ul.wp-block-list {
  padding-left: 1rem;
}
.dsktp-dn {
  display: none !important;
}
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram {
  background-color: #ffffff !important;
  color: #3a4830 !important;
}
.start-img-link-container {
  position: relative;
}
.start-img-link {
  height: 100%;
  width: 100%;
  display: block;
}
.start-img-link a {
  position: absolute;
  bottom: 40px;
  left: 20px;
  font-size: 3rem;
  /* height: 100%; */
  width: 100%;
  display: block;
  text-decoration: none;
  line-height: 1;
}
/* Schwarz-zu-Transparent-Verlauf hinter dem Text, als ::before über dem Bild
   (Hintergrund direkt auf <img> wäre unsichtbar, da das Foto keine Transparenz hat) */
.start-cover-links .start-img-link-container .wp-block-image {
  position: relative;
}
.start-cover-links .start-img-link-container .wp-block-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
  transition: height 0.3s ease;
}
.start-cover-links .start-img-link {
  position: relative;
  z-index: 2;
}
.start-cover-links .start-img-link a {
  transition: font-weight 0.15s ease;
}
/* Hover über die ganze Kachel: Verlauf wird kleiner, Text wird fett */
.start-cover-links .start-img-link-container:hover .wp-block-image::before {
  height: 25%;
}
.start-cover-links .start-img-link-container:hover .start-img-link a {}
#sb_instagram .sb_instagram_header h3, .sb_instagram_header h3 {
  font-size: 24px !important;
  font-family: var(--wp--preset--font-family--satoshi) !important;
}
@media (max-width: 600px) {
  main p,
	main p a,
	main ul li{
    font-size: 16px;
  }
	.start-cover-p{
		font-size: 18px!important;
	}
	.wp-block-media-text.is-stacked-on-mobile{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
  body.home header {
    position: absolute !important;
    z-index: 9 !important;
  }
  body.home header .nav-zeile{
border-bottom: none!important;
	  color: #ffffff!important;
  }
	  body.home header .nav-zeile > div{
    
  }
  .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin: 0;
    width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px) / 2) !important;
  }
  .wp-block-media-text__content {
    padding: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .dsktp-dn {
    display: block !important;
  }
  .entry-content.has-global-padding {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .mob-dn {
    display: none !important;
  }
  main#wp--skip-link--target {
    margin-block-start: 0px;
  }
  /* counter-start: mobil 2x2-Grid, Rahmen ergeben in der Mitte ein Kreuz */
  .counter-start {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: none !important;
    border-bottom: none !important;
  }
  .counter-start > div {
    border: none;
    box-sizing: border-box;
  }
  .counter-start > div:nth-child(1) {
    border-right: 1px solid #00000038;
  }
  .counter-start > div:nth-child(2) {
    border-bottom: 1px solid #00000038;
  }
  .counter-start > div:nth-child(3) {
    border-top: 1px solid #00000038;
  }
  .counter-start > div:nth-child(4) {
    border-left: 1px solid #00000038;
  }
}
a:focus, button:focus, input:focus, textarea:focus, select:focus, .wp-element-button:focus, .wp-block-button__link:focus {
  border-width: 0;
  outline-width: 0;
  outline-offset: 0;
}
@media (max-width: 600px) {
  .wp-block-navigation__responsive-dialog .wp-block-navigation-item__content {
    font-size: 2rem;
  }
  .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    margin-bottom: 0.75rem;
  }
  header.unterseite-header {
    margin-bottom: 1rem;
  }
  .box-preise-grid .is-layout-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}
#anfahrtskarte, #anfahrtskarte.leaflet-container {
  height: 400px;
  width: 100%;
  box-shadow: none !important;
  border-radius: 0 !important;
  z-index: 1;
}

#anfahrtskarte{
	border:1px solid #c4c4c4;
}


@media (max-width: 600px) {
	.spacer-mob-half{
	height:  1rem !important;
	margin:0!important;
}
		.start-headline span{
		display: none;
	}
	.cover-unterseiten img{
	min-height: 270px;
	}
	.start-headline{
		font-size: 2.6rem;
	}
	.start-img-link a {

    font-size: 2.5rem!important;
}
	#anfahrtskarte, #anfahrtskarte.leaflet-container {
    height: 290px!important;
}
  .footer-social-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ffffff30;
    padding-bottom: 1rem!important;
    margin-bottom: 1rem!important;
  }
  .footer-wrapper > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
    padding-top: 20px !important;
    padding-bottom: 30px !important;
  }

  .footer-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  #anfahrtskarte {
    height: 280px;
  }
  .nav-zeile {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  header > div.has-global-padding {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/* Kartenkacheln Richtung Dunkelgrün/Grüntöne einfärben, deutlich dunkler */
#anfahrtskarte .leaflet-tile-pane {
     filter: saturate(0.5);
}
.leaflet-touch .leaflet-bar {
  border: none !important;
  box-shadow: none !important
}
/* Attribution unten rechts: kleiner, Farben aus der Seiten-Palette (Dunkelgrün/Ocker) */
#anfahrtskarte .leaflet-control-attribution, #anfahrtskarte .leaflet-control-attribution a {
  font-size: 12px !important;
  color: #1d610b !important;
}
#anfahrtskarte .leaflet-control-attribution a:hover {
  color: #b57939 !important;
}
/* Eigener SVG-Pin statt Standard-Leaflet-Marker */
.haldeck-marker {
  background: transparent;
  border: none;
}
#anfahrtskarte .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.7);
}
/* Active/Hover-Effekt in der Navigation: nur Schriftfarbe ändert sich, keine Unterstreichung */
.wp-block-navigation-item__content {
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.wp-block-navigation-item__content:hover, .current-menu-item > .wp-block-navigation-item__content {
  color: #b57939 !important;
}
/* Scroll-Reveal: Start-/End-Zustand für js/custom.js */
.hh-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hh-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .hh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Vorhang-Effekt: separates Bild (2x, rechts gespiegelt) über js/custom.js eingefügt,
   liegt über dem unveränderten Hintergrundbild und gleitet beim Scrollen auseinander */
.hh-curtain-wrap {
  position: relative;
  overflow: hidden;
}
.hh-curtain-half {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  max-width: none;
}
.hh-curtain-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hh-curtain-left {
  left: 0;
}
.hh-curtain-right {
  right: -5vw;
}
.hh-curtain-left img {
  object-position: right;
}
.hh-curtain-right img {
  object-position: left;
}
footer a.wp-block-navigation-item__content:hover {
  color: white !important;
  opacity: 0.8;
}
footer .footer-social-wrapper a:not(.wp-block-social-link-anchor) {
  text-decoration: none !important;
  color: white !important;
}
footer .wp-block-social-links .wp-social-link svg {
  height: 24px !important;
  width: 24px !important;
}
footer {
  position: relative;
  background-color: #3a4830;
}
/*
footer:before {
  background-image: url(https://haus-haldeck.de/wp-content/uploads/2026/08/holz.jpg);
  background-size: cover;
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0.5;
  filter: grayscale(1) brightness(0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
*/
@media (prefers-reduced-motion: reduce) {
  .hh-curtain-half {
    display: none;
  }
}