/*!
Theme Name: pflegewohngemeinschaft
Theme URI: http://underscores.me/
Author: serend.design
Author URI: https://serend.design
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pflegewohngemeinschaft

*/


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
h2.hero-subheading {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 20px;
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


    :root {
      --green-dark: #1A3C34;
      --green-mid: #2D5E4A;
      --gold: #BFA55A;
      --gold-light: #D4C07A;
      --gold-muted: #C8B87C;
      --gold-gradient: #E7DBA7;
      --cream: #FDF8EF;
      --white: #FFFFFF;
      --text-body: #3A3A3A;
      --font-display: 'Domine', Georgia, 'Times New Roman', serif;
      --font-body: 'Poppins', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: hidden; }

    body {
      font-family: var(--font-body);
      color: var(--green-dark);
      margin: 0;
      overflow-x: hidden;
      background: var(--cream);
    }

    /* ═══════════════════════════════════════
       ANIMATED BACKGROUND — #E7DBA7 GRADIENTS
       ═══════════════════════════════════════ */
    .bg-animated {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: -1;
      background: var(--cream);
      overflow: hidden;
    }

    /* Large bottom wash */
    .bg-grad-bottom {
      position: absolute;
      width: 140%;
      height: 65%;
      bottom: -10%;
      left: -20%;
      background: radial-gradient(ellipse at 50% 85%, #E7DBA7 0%, rgba(231,219,167,0.55) 40%, rgba(253,248,239,0) 72%);
      animation: driftBottom 20s ease-in-out infinite alternate;
      will-change: transform;
    }

    /* Upper-right glow */
    .bg-grad-topright {
      position: absolute;
      width: 900px;
      height: 900px;
      top: -160px;
      right: -120px;
      background: radial-gradient(circle, rgba(231,219,167,0.78) 0%, rgba(231,219,167,0.38) 35%, rgba(231,219,167,0.16) 60%, transparent 88%);
      filter: blur(26px);
      mix-blend-mode: screen;
      animation: driftTopRight 16s ease-in-out infinite alternate;
      will-change: transform, filter;
    }

    /* Subtle mid-left accent */
    .bg-grad-mid {
      position: absolute;
      width: 500px;
      height: 500px;
      top: 30%;
      left: -8%;
      background: radial-gradient(circle, rgba(231,219,167,0.2) 0%, transparent 65%);
      animation: driftMid 18s ease-in-out infinite alternate-reverse;
      will-change: transform;
    }

    @keyframes driftBottom {
      0%   { transform: translate(0, 0) scale(1); }
      50%  { transform: translate(25px, -15px) scale(1.03); }
      100% { transform: translate(-15px, 10px) scale(1.01); }
    }

    @keyframes driftTopRight {
      0%   { transform: translate(0, 0) scale(1); }
      25%  { transform: translate(-55px, 35px) scale(1.08); }
      50%  { transform: translate(-30px, 20px) scale(1.12); }
      75%  { transform: translate(20px, -25px) scale(1.04); }
      100% { transform: translate(40px, -10px) scale(0.98); }
    }

    @keyframes driftMid {
      0%   { transform: translate(0, 0) scale(1); }
      50%  { transform: translate(40px, -25px) scale(1.1); }
      100% { transform: translate(-25px, 15px) scale(0.95); }
    }

    /* ═══════════════════════════════════════
       NAVBAR
       ═══════════════════════════════════════ */
    .navbar-custom {
      padding: 1.25rem 0;
      background: transparent;
      transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
    }

    .navbar-custom.scrolled {
      background: rgba(253, 248, 239, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 20px rgba(26, 60, 52, 0.06);
      padding: 0.75rem 0;
    }

    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .navbar-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      flex-shrink: 0;
    }

    .logo-icon {
      width: 52px;
      height: 52px;
      transition: transform 0.3s ease;
    }

    .navbar-brand:hover .logo-icon { transform: scale(1.05); }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .brand-name {
      font-family: var(--font-display);
      font-size: 1.35rem;
      color: var(--green-dark);
      letter-spacing: -0.02em;
    }

    .brand-sub {
      font-family: var(--font-body);
      font-size: 0.85rem;
      color: var(--gold);
      font-weight: 400;
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .nav-link-custom {
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 400;
      color: var(--green-dark);
      padding: 0.5rem 1.25rem;
      text-decoration: none;
      position: relative;
    }

    .nav-link-custom::after {
      content: '';
      position: absolute;
      bottom: 0.25rem;
      left: 1.25rem; right: 1.25rem;
      height: 1.5px;
      background: var(--green-dark);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link-custom:hover { color: var(--green-dark); }
    .nav-link-custom:hover::after { transform: scaleX(1); transform-origin: left; }

    .btn-kontakt {
      font-family: var(--font-display);
      font-size: 0.95rem;
      background: var(--green-dark);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 0.65rem 1.75rem;
      text-decoration: none;
      margin-left: 0.75rem;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-kontakt:hover {
      background: var(--green-mid);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(26, 60, 52, 0.2);
    }

    /* ═══════════════════════════════════════
       MOBILE NAV BAR
       ═══════════════════════════════════════ */
    .mobile-controls {
      display: none;
      align-items: center;
      flex: 1;
      min-width: 0;
      gap: 0.5rem;
      justify-content: flex-end;
    }

    .mobile-wg-label {
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 400;
      color: var(--green-dark);
      background: rgba(26, 60, 52, 0.06);
      border-radius: 50px;
      padding: 0.55rem 1.15rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      min-width: 0;
    }

    .menu-toggle {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: var(--green-dark);
      border: none;
      cursor: pointer;
      position: relative;
      z-index: 1060;
      flex-shrink: 0;
      padding: 0;
      display: none;
    }

    .menu-toggle span {
      display: block;
      width: 22px; height: 2px;
      background: var(--white);
      margin: 5px auto;
      border-radius: 2px;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ═══════════════════════════════════════
       FULLSCREEN MOBILE OVERLAY
       ═══════════════════════════════════════ */
    .mobile-menu-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(26, 60, 52, 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 1050;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s;
    }

    .mobile-menu-overlay.open { opacity: 1; visibility: visible; }

    .mobile-menu-overlay nav { text-align: center; }

    .mobile-nav-link {
      display: block;
      font-family: var(--font-display);
      font-size: 2rem;
      color: var(--white);
      text-decoration: none;
      padding: 0.75rem 0;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }

    .mobile-menu-overlay.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
    .mobile-menu-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 0.18s; }
    .mobile-menu-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 0.26s; }
    .mobile-menu-overlay.open .mobile-nav-link:nth-child(4) { transition-delay: 0.34s; }
    .mobile-menu-overlay.open .mobile-nav-link:nth-child(5) { transition-delay: 0.42s; }

    .mobile-nav-link:hover { color: var(--gold-light); }

    .mobile-nav-divider {
      width: 60px; height: 1.5px;
      background: var(--gold);
      margin: 1.5rem auto;
      opacity: 0;
      transition: opacity 0.5s ease 0.35s;
    }

    .mobile-menu-overlay.open .mobile-nav-divider { opacity: 0.6; }

    .mobile-menu-brand {
      position: absolute;
      top: 1.5rem; left: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .mobile-menu-brand .logo-icon { width: 42px; height: 42px; }
    .mobile-menu-brand .logo-icon path,
    .mobile-menu-brand .logo-icon line { stroke: var(--white); }
    .mobile-menu-brand .brand-name { color: var(--white); font-size: 1.1rem; }
    .mobile-menu-brand .brand-sub { color: var(--gold-light); }

    /* ═══════════════════════════════════════
       HERO
       ═══════════════════════════════════════ */
    .hero {
      padding: 160px 0 80px;
      position: relative;
    }

    .hero-heading {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 4.5vw, 4.5rem);
      line-height: 1.12;
      color: var(--green-dark);
      margin-bottom: 2rem;
      letter-spacing: -0.02em;
    }

    .hero-text {
      font-family: var(--font-body);
      font-size: 1rem;
      line-height: 1.75;
      color: var(--text-body);
      max-width: 880px;
      margin-bottom: 2.5rem;
      font-weight: 300;
    }

    .btn-mehr {
      font-family: var(--font-display);
      font-size: 1rem;
      background: var(--green-dark);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 0.85rem 2rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-mehr:hover {
      background: var(--green-mid);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(26, 60, 52, 0.18);
    }

    /* ═══════════════════════════════════════
       STANDORT CARDS
       ═══════════════════════════════════════ */
    .section-standorte { padding: 2rem 0 6rem; }

    .standort-card {
      background: linear-gradient(160deg, rgba(237,229,200,0.75) 0%, rgba(237,229,200,0.45) 100%);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(191,165,90,0.15);
      border-radius: 20px;
      padding: 2rem 1.75rem 1.75rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    /* Make the whole card a clickable link (when it's an <a> element) */
    .standort-card {
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .standort-card:focus-visible {
      outline: 3px solid rgba(191,165,90,0.28);
      outline-offset: 4px;
    }

    /* Inner 'Mehr Erfahren' should not capture pointer events when the whole card is a link */
    .standort-card .btn-card { pointer-events: none; }

    .standort-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: linear-gradient(145deg, rgba(191,165,90,0.08) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .standort-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(26, 60, 52, 0.1);
      border-color: rgba(191,165,90,0.3);
    }

    .standort-card:hover::before { opacity: 1; }

    .card-badge-row { margin-bottom: 1rem; position: relative; z-index: 1; }

    .badge-zimmer {
      display: inline-flex;
      align-items: center;
    }

    .badge-label {
      font-family: var(--font-display);
      font-size: 0.85rem;
      background: var(--green-dark);
      color: var(--white);
      padding: 0.45rem 1.1rem;
      border-radius: 50px ;
      line-height: 1.3;
    }

    .badge-arrow {
      width: 36px; height: 36px;
      background: var(--green-dark);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-left: -4px;
      transition: transform 0.3s ease;
      transform: rotate(-45deg);
    }

    .standort-card:hover .badge-arrow { transform: translateX(5px) rotate(0deg); }

    .badge-arrow svg {
      width: 16px; height: 16px;
      stroke: var(--white); fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }

    .badge-warteliste .badge-label { background: var(--gold-muted); color: var(--green-dark); }
    .badge-warteliste .badge-arrow { background: var(--gold-muted); }
    .badge-warteliste .badge-arrow svg { stroke: var(--green-dark); }

    .standort-name {
      font-family: var(--font-display);
      font-size: 1.65rem;
      color: var(--green-dark);
      margin-bottom: 0.75rem;
      position: relative; z-index: 1;
    }

    .standort-desc {
      font-family: var(--font-body);
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-body);
      font-weight: 300;
      flex-grow: 1;
      margin-bottom: 1.5rem;
      position: relative; z-index: 1;
    }

    .btn-card {
      font-family: var(--font-display);
      font-size: 0.9rem;
      background: var(--green-dark);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 0.7rem 1.6rem;
      text-decoration: none;
      display: inline-block;
      align-self: flex-start;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative; z-index: 1;
    }

    .btn-card:hover {
      background: var(--green-mid);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(26, 60, 52, 0.18);
    }

    /* ═══════════════════════════════════════
       SCROLL REVEAL
       ═══════════════════════════════════════ */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ═══════════════════════════════════════
       RESPONSIVE
       ═══════════════════════════════════════ */
    @media (max-width: 991.98px) {
      .desktop-nav { display: none !important; }
      .mobile-controls { display: flex !important; }
      .menu-toggle { display: block !important; }

      .navbar-brand .brand-text { display: none; }
      .navbar-brand { margin-right: 0; }
      .logo-icon { width: 44px; height: 44px; }

      .navbar-custom { padding: 0.85rem 0; }

      .hero { padding: 5.5rem 0 2rem; }
      .hero-heading { font-size: clamp(1.85rem, 7.5vw, 2.8rem); margin-bottom: 1.25rem; }
      .hero-text { font-size: 0.95rem; margin-bottom: 2rem; }
      .btn-mehr { padding: 0.9rem 2.2rem; font-size: 1.05rem; }

      .section-standorte { padding: 1rem 0 3.5rem; }

      .bg-grad-bottom { width: 200%; height: 55%; bottom: -5%; left: -50%; }
      .bg-grad-topright { width: 520px; height: 520px; top: -60px; right: -40px; filter: blur(18px); }
    }

    @media (min-width: 992px) {
      .mobile-controls { display: none !important; }
    }

    @media (max-width: 575.98px) {
      .hero-heading { font-size: 1.8rem; }
      .standort-name { font-size: 1.35rem; }
      .logo-icon { width: 38px; height: 38px; }
      .mobile-wg-label { font-size: 0.8rem; padding: 0.5rem 1rem; }
      .menu-toggle { width: 44px; height: 44px; }
    }

    /* ═══════════════════════════════════════
       PAGE — ÜBERSICHT (ubersicht.html)
       ═══════════════════════════════════════ */
    .section-uebersicht { padding: 120px 0 6rem; }

    .uebersicht-intro {
      margin-bottom: 3.5rem;
    }

    .uebersicht-label {
      font-family: var(--font-body);
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem;
    }

    .uebersicht-heading {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 3.25rem);
      color: var(--green-dark);
      letter-spacing: -0.02em;
      line-height: 1.12;
      margin-bottom: 1rem;
    }

    .uebersicht-subtext {
      font-family: var(--font-body);
      font-size: 0.95rem;
      line-height: 1.75;
      color: var(--text-body);
      font-weight: 300;
      margin-bottom: 0;
    }

    /* WG Cards */
    .wg-card {
      background: linear-gradient(160deg, rgba(237,229,200,0.7) 0%, rgba(237,229,200,0.4) 100%);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(191,165,90,0.18);
      border-radius: 22px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .wg-card:focus-visible {
      outline: 3px solid rgba(191,165,90,0.3);
      outline-offset: 4px;
    }

    .wg-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: linear-gradient(145deg, rgba(191,165,90,0.07) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.4s ease;
      border-radius: 22px;
    }

    .wg-card { position: relative; }

    .wg-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 56px rgba(26, 60, 52, 0.1);
      border-color: rgba(191,165,90,0.32);
    }

    .wg-card:hover::before { opacity: 1; }

    .wg-card-image {
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: rgba(26, 60, 52, 0.08);
      flex-shrink: 0;
    }

    .wg-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .wg-card:hover .wg-card-image img { transform: scale(1.04); }

    .wg-card-body {
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .wg-card-badge-row { margin-bottom: 1rem; }

    .wg-badge {
      display: inline-flex;
      align-items: center;
    }

    .wg-badge-label {
      font-family: var(--font-display);
      font-size: 0.82rem;
      background: var(--green-dark);
      color: var(--white);
      padding: 0.4rem 1rem;
      border-radius: 50px;
      line-height: 1.3;
    }

    .wg-badge-label.warteliste {
      background: var(--gold-muted);
      color: var(--green-dark);
    }

    .wg-badge-arrow {
      width: 34px; height: 34px;
      background: var(--green-dark);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-left: -3px;
      transition: transform 0.3s ease;
      transform: rotate(-45deg);
    }

    .wg-badge-arrow.warteliste { background: var(--gold-muted); }
    .wg-badge-arrow.warteliste svg { stroke: var(--green-dark); }

    .wg-card:hover .wg-badge-arrow { transform: translateX(4px) rotate(0deg); }

    .wg-badge-arrow svg {
      width: 14px; height: 14px;
      stroke: var(--white); fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }

    .wg-card-name {
      font-family: var(--font-display);
      font-size: 1.55rem;
      color: var(--green-dark);
      margin-bottom: 0.65rem;
      letter-spacing: -0.01em;
    }

    .wg-card-desc {
      font-family: var(--font-body);
      font-size: 0.88rem;
      line-height: 1.7;
      color: var(--text-body);
      font-weight: 300;
      flex-grow: 1;
      margin-bottom: 1.5rem;
    }

    .wg-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .wg-card-link {
      font-family: var(--font-display);
      font-size: 0.88rem;
      color: var(--green-dark);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      opacity: 0.7;
      transition: opacity 0.3s ease, gap 0.3s ease;
    }

    .wg-card:hover .wg-card-link { opacity: 1; gap: 0.65rem; }

    .wg-card-link svg {
      width: 16px; height: 16px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }

    @media (max-width: 991.98px) {
      .section-uebersicht { padding: 5.5rem 0 3.5rem; }
      .uebersicht-intro { margin-bottom: 2.5rem; }
    }

    /* ═══════════════════════════════════════
       PAGE — DETAIL (page.html)
       ═══════════════════════════════════════ */
    .section-page { padding: 120px 0 5rem; }

    .page-badges {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }

    .page-badge-wg {
      font-family: var(--font-body);
      font-size: 0.8rem;
      font-weight: 400;
      color: var(--green-dark);
      background: rgba(26, 60, 52, 0.08);
      border-radius: 50px;
      padding: 0.4rem 1rem;
    }

    .page-badge-zimmer {
      font-family: var(--font-body);
      font-size: 0.8rem;
      font-weight: 400;
      color: var(--white);
      background: var(--green-dark);
      border-radius: 50px;
      padding: 0.4rem 1rem;
    }

    .page-heading {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 5vw, 4rem);
      color: var(--green-dark);
      letter-spacing: -0.02em;
      margin-bottom: 2rem;
      line-height: 1.1;
    }

    .page-section { margin-bottom: 1.5rem; }

    .section-label {
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--green-dark);
      margin-bottom: 0.35rem;
    }

    .section-text {
      font-family: var(--font-body);
      font-size: 0.9rem;
      line-height: 1.75;
      color: var(--text-body);
      font-weight: 300;
      margin-bottom: 0;
    }

    .photo-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
      margin-top: 2rem;
    }

    .photo-item {
      border-radius: 12px;
      overflow: hidden;
      aspect-ratio: 4 / 3;
      background: rgba(26, 60, 52, 0.07);
    }

    .photo-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Contact card */
    .contact-card {
      background: linear-gradient(160deg, rgba(231,219,167,0.65) 0%, rgba(231,219,167,0.35) 100%);
      border: 1px solid rgba(191,165,90,0.2);
      border-radius: 20px;
      padding: 2rem;
      position: sticky;
      top: 100px;
    }

    .contact-heading {
      font-family: var(--font-display);
      font-size: 1.5rem;
      color: var(--green-dark);
      line-height: 1.3;
      margin-bottom: 1.5rem;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: 1.25rem;
    }

    .form-group-custom { position: relative; }

    .input-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      color: var(--green-dark);
      opacity: 0.45;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .input-icon svg { width: 16px; height: 16px; }

    .input-custom {
      width: 100%;
      border: 1px solid rgba(26, 60, 52, 0.2);
      border-radius: 10px;
      padding: 0.7rem 1rem 0.7rem 2.75rem;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--green-dark);
      background: rgba(255,255,255,0.6);
      outline: none;
      transition: border-color 0.3s ease, background 0.3s ease;
    }

    .input-custom::placeholder { color: rgba(26, 60, 52, 0.4); }
    .input-custom:focus {
      border-color: rgba(191,165,90,0.65);
      background: rgba(255,255,255,0.85);
    }

    .btn-kontakt-senden {
      width: 100%;
      background: var(--green-dark);
      color: var(--white);
      border: none;
      border-radius: 10px;
      padding: 0.85rem 1.5rem;
      font-family: var(--font-display);
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      margin-top: 0.25rem;
    }

    .btn-kontakt-senden:hover {
      background: var(--green-mid);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(26, 60, 52, 0.2);
    }

    .contact-oder {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 1.25rem 0;
    }

    .oder-line {
      flex: 1;
      height: 1px;
      background: rgba(26, 60, 52, 0.15);
    }

    .oder-text {
      font-family: var(--font-body);
      font-size: 0.85rem;
      color: rgba(26, 60, 52, 0.5);
      font-weight: 300;
    }

    .contact-sub-heading {
      font-family: var(--font-display);
      font-size: 1.2rem;
      color: var(--green-dark);
      margin-bottom: 1rem;
      line-height: 1.35;
    }

    .contact-info p {
      font-family: var(--font-body);
      font-size: 0.85rem;
      line-height: 1.65;
      color: var(--text-body);
      margin-bottom: 0.4rem;
      font-weight: 300;
    }

    .contact-company { font-weight: 600 !important; color: var(--green-dark) !important; }
    .contact-hours-label { font-weight: 500 !important; color: var(--green-dark) !important; margin-top: 0.75rem !important; }

    @media (max-width: 991.98px) {
      .section-page { padding: 5.5rem 0 3rem; }
      .contact-card { position: static; }
      .photo-grid { gap: 0.5rem; }
    }

    /* Grain overlay */
    body::after {
      content: '';
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 200px 200px;
    }

.logobunk figure {
    background: #fff;
    text-align: center;
    height: 150px;
    padding: 20px;
    border-radius: 20px;
}

.logobunk img {
    height: 100%;
    width: auto;
    max-height: 100px;
}


#TB_secondLine {
  display: none;
}


    /* ═══════════════════════════════════════
       FOOTER
       ═══════════════════════════════════════ */
.site-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
    position: relative;
    z-index: 1;
    margin: 20px;
    border-radius: 20px;
}
.footer-logo img {
    max-width: 400px;
}
    .footer-grid {
      display: grid;
      grid-template-columns: 4fr 1fr 1fr ;
      gap: 3rem;
      padding-bottom: 3.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Column 1 – Brand */
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .footer-logo .logo-icon path,
    .footer-logo .logo-icon line { stroke: var(--gold-light); }
    .footer-logo .logo-icon { width: 40px; height: 40px; }

    .footer-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
    .footer-logo-name {
      font-family: var(--font-display);
      font-size: 1.05rem;
      color: var(--white);
      letter-spacing: -0.01em;
    }
    .footer-logo-sub {
      font-family: var(--font-body);
      font-size: 0.78rem;
      color: var(--gold-light);
      font-weight: 300;
    }

    .footer-desc {
      font-family: var(--font-body);
      font-size: 0.85rem;
      line-height: 1.75;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
    }

    .footer-contact-block {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .footer-contact-block a,
    .footer-contact-block span {
      font-family: var(--font-body);
      font-size: 0.82rem;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      text-decoration: none;
      transition: color 0.25s ease;
    }

    .footer-contact-block a:hover { color: var(--gold-light); }

    /* Columns 2 & 3 – Nav */
    .footer-nav-col h4 {
      font-family: var(--font-display);
      font-size: 0.9rem;
      color: var(--white);
      margin-bottom: 1.25rem;
      letter-spacing: 0.02em;
    }

    .footer-nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .footer-nav-list a {
      font-family: var(--font-body);
      font-size: 0.85rem;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      text-decoration: none;
      transition: color 0.25s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .footer-nav-list a::before {
      content: '';
      width: 14px;
      height: 1px;
      background: var(--gold);
      opacity: 0;
      transform: scaleX(0);
      transform-origin: left;
      transition: opacity 0.25s ease, transform 0.25s ease;
      flex-shrink: 0;
    }

    .footer-nav-list a:hover { color: var(--white); }
    .footer-nav-list a:hover::before { opacity: 1; transform: scaleX(1); }

    /* Column 4 – Partner Logos */
    .footer-partners h4 {
      font-family: var(--font-display);
      font-size: 0.9rem;
      color: var(--white);
      margin-bottom: 1.25rem;
      letter-spacing: 0.02em;
    }

    .partner-logos {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .partner-logo-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      padding: 0.85rem 1.1rem;
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    .partner-logo-item:hover {
      background: rgba(255,255,255,0.09);
      border-color: rgba(191,165,90,0.35);
    }

    .partner-logo-placeholder {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(255,255,255,0.1);
      border: 1px dashed rgba(191,165,90,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .partner-logo-placeholder img {
      width: 36px;
      height: 36px;
      object-fit: contain;
      display: block;
    }

    .partner-logo-placeholder svg {
      width: 22px;
      height: 22px;
      opacity: 0.35;
      stroke: var(--gold-light);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .partner-logo-info {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .partner-logo-name {
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 500;
      color: rgba(255,255,255,0.8);
      line-height: 1.2;
    }

    .partner-logo-sub {
      font-family: var(--font-body);
      font-size: 0.74rem;
      color: rgba(255,255,255,0.38);
      font-weight: 300;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
      padding: 1.5rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .footer-bottom-copy {
      font-family: var(--font-body);
      font-size: 0.78rem;
      color: rgba(255,255,255,0.3);
      font-weight: 300;
    }

    .footer-bottom-links {
      display: flex;
      gap: 1.5rem;
    }

    .footer-bottom-links a {
      font-family: var(--font-body);
      font-size: 0.78rem;
      color: rgba(255,255,255,0.35);
      font-weight: 300;
      text-decoration: none;
      transition: color 0.25s ease;
    }

    .footer-bottom-links a:hover { color: var(--gold-light); }

    .footer-divider {
      width: 1px;
      height: 14px;
      background: rgba(255,255,255,0.15);
    }

    @media (max-width: 1199.98px) {
      .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; }
    }

    @media (max-width: 991.98px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
      }
      .footer-brand { grid-column: 1 / -1; }
      .footer-desc { max-width: 100%; }
    }

    @media (max-width: 575.98px) {
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
      .footer-brand { grid-column: auto; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
      .footer-bottom-links { flex-wrap: wrap; gap: 1rem; }
      .site-footer { padding: 3rem 0 0; }
    }

    /* Grain overlay */
    body::after {
      content: '';
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 200px 200px;
    }