/**
 * Klausner Hiddensee — Custom CSS
 * Bootstrap-5-Overrides + Eigenes Design
 * Farben: Ozeanblau #1176a6, Erdtöne/Sand, Warmes Beige #f4ebcc
 */

:root {
  --color-primary: #1176a6;
  --color-primary-dark: #0d5e85;
  --color-secondary: #c8a96e;
  --color-secondary-dark: #b08f55;
  --color-bg-warm: #f4ebcc;
  --color-text: #333333;
  --color-text-light: #666666;
  --font-family-base: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-bg-warm);
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* ── Navbar ── */
.navbar-klausner {
  background-color: var(--color-bg-warm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}
.navbar-klausner .navbar-brand img { max-height: 50px; }
.navbar-klausner .nav-link {
  color: var(--color-text) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}
.navbar-klausner .nav-link:hover,
.navbar-klausner .nav-link.active { color: var(--color-primary) !important; }
.navbar-klausner .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.navbar-klausner .dropdown-item {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}
.navbar-klausner .dropdown-item:hover {
  background-color: var(--color-bg-warm);
  color: var(--color-primary);
}
.btn-email {
  background-color: var(--color-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn-email:hover { background-color: var(--color-primary-dark); color: #ffffff !important; }

/* ── Hero Section (statisches Hintergrundbild + Wellen-Clip, boxed) ── */
.hero-container {
  /* max-width: 1200px; */
  margin: 1.5rem auto 0;
}
.hero-section {
    height: 600px;
    background-size: cover;
    background-position: unset;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.22) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

/* ── Sonne ── */
.sun-layer {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 220px;
  height: 220px;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.85))
          drop-shadow(0 0 40px rgba(255, 235, 100, 0.6))
          drop-shadow(0 0 70px rgba(255, 200, 50, 0.4));
}
.sun-rays {
  transform-origin: 55px 55px;
  animation: sunSpin 40s linear infinite;
}
.sun-core {
  transform-origin: 55px 55px;
  animation: sunPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 220, 80, 0.9))
          drop-shadow(0 0 16px rgba(255, 200, 50, 0.7));
}
@keyframes sunSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sunPulse {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 8px rgba(255,220,80,0.9)) drop-shadow(0 0 16px rgba(255,200,50,0.7)); }
  50%      { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 14px rgba(255,240,120,1)) drop-shadow(0 0 30px rgba(255,210,80,0.9)); }
}

/* ── Vögel ── */
.birds-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.bird {
  position: absolute;
  width: 56px;
  height: auto;
  opacity: .92;
  animation-name: flyAcross;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.bird path {
  animation: flap .7s ease-in-out infinite;
  transform-origin: center;
}
.bird.b1 { top: 10%; width: 56px; animation-duration: 20s; }
.bird.b2 { top: 20%; width: 48px; animation-duration: 24s; animation-delay: -6s; }
.bird.b3 { top: 6%;  width: 42px; animation-duration: 28s; animation-delay: -14s; }
.bird.b4 { top: 28%; width: 40px; animation-duration: 32s; animation-delay: -20s; }

@keyframes flyAcross {
  from { transform: translateX(-60px); }
  to   { transform: translateX(calc(100vw + 60px)); }
}
@keyframes flap {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(.55); }
}
/* ── Page Header ── */
.page-header {
  background-color: var(--color-bg-warm);
  padding: 3rem 0;
  text-align: center;
}
.page-header h1 {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-header p { color: var(--color-text-light); font-size: 1.1rem; }

.content-section     { padding: 3rem 0; }
.content-section-alt { background-color: var(--color-bg-warm); padding: 3rem 0; }

.card-klausner {
  border: none; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease; overflow: hidden;
}
.card-klausner:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.card-klausner .card-img-top { height: 200px; object-fit: cover; }
.card-klausner .card-body    { padding: 1.5rem; }

.info-box {
  background-color: var(--color-bg-warm);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px; padding: 1.5rem; margin: 1.5rem 0;
}
.info-box h5 { color: var(--color-primary); margin-bottom: 0.75rem; }

.table-klausner { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.table-klausner thead { background-color: var(--color-primary); color: #fff; }
.table-klausner th { font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.table-klausner tbody tr:hover { background-color: var(--color-bg-warm); }

.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(17,118,166,0.25);
}
.btn-klausner {
  background-color: var(--color-primary); color: #fff; border: none;
  border-radius: 4px; padding: 0.6rem 1.5rem; font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn-klausner:hover { background-color: var(--color-primary-dark); color: #fff; }

.footer-klausner { background-color: #1a2a3a; color: #ccc; padding: 3rem 0 1.5rem; }
.footer-klausner h5 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-klausner a { color: #ccc; transition: color 0.2s ease; }
.footer-klausner a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid #444; padding-top: 1.5rem; margin-top: 2rem; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background-color: #1a2a3a; color: #fff; padding: 1rem 2rem;
  z-index: 9999; display: none; box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: block; }
.cookie-banner a { color: var(--color-bg-warm); text-decoration: underline; }
.cookie-btn-accept {
  background-color: var(--color-primary); color: #fff; border: none;
  border-radius: 4px; padding: 0.5rem 1.5rem; font-weight: 600; cursor: pointer;
}
.cookie-btn-accept:hover { background-color: var(--color-primary-dark); }

/* ── Bewegungsreduktion respektieren ── */
@media (prefers-reduced-motion: reduce) {
  .sun-rays, .sun-core, .bird, .bird path {
    animation: none !important;
  }
}

@media (max-width: 767.98px) {
  .hero-container { margin: 0.75rem auto 0; }
  .hero-section { height: 350px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .sun-layer { width: 120px; height: 120px; top: 8px; left: 8px; }
  .page-header { padding: 2rem 0; }
  .content-section { padding: 2rem 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section { height: 400px; }
}

.bg-warm { background-color: var(--color-bg-warm) !important; }
.text-primary-klausner { color: var(--color-primary) !important; }
.section-divider { border: none; height: 3px; background-color: var(--color-bg-warm); margin: 2rem 0; }

/* ── TopBar ── */
.klausner-topbar { font-size: 14px; }

/* ── TopBar Sliding Text ── */
.klausner-topbar-sliding { overflow: hidden; position: relative; }
.klausner-topbar-sliding .container { position: relative; }
.topbar-sliding-track { width: 100%; height: 1.4em; position: relative; overflow: hidden; }
.topbar-sliding-text { position: absolute; left: 0; white-space: nowrap; will-change: transform, opacity; line-height: 1.4; font-weight: 500; letter-spacing: 0.3px; }
.klausner-topbar-static .topbar-left, .klausner-topbar-static .topbar-right { font-size: inherit; font-weight: 500; }
@media (max-width: 767.98px) { .klausner-topbar { font-size: 12px !important; } .klausner-topbar-static .topbar-left, .klausner-topbar-static .topbar-right { font-size: 12px; } }

.section-divider { border: none; height: 3px; background-color: var(--color-bg-warm); margin: 2rem 0; }
/* ── Marquee / Lauftext ── */
.klausner-marquee { overflow: hidden; white-space: nowrap; padding: 8px 0; }
.klausner-marquee-track { display: inline-block; }
.klausner-marquee-text { display: inline-block; padding-right: 3em; }
@keyframes klausnerMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }
.klausner-marquee-track { animation: klausnerMarquee 20s linear infinite; }
.klausner-marquee-track:hover { animation-play-state: paused; }

/* ═══════════════════════════════════════════
   KLAUSNER HEADER — Pill-Menü + Burger Mobile
   ═══════════════════════════════════════════ */

.klausner-header {
  position: relative;
  background: #f4ecd8;
  padding: 18px 32px 25px;
  overflow: visible;
  z-index: 1030;
}
.klausner-header-wave {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.klausner-header-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  align-items: center;
}
/* Logo */
.klausner-branding { grid-row: 1 / 3; grid-column: 1; }
.klausner-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.klausner-logo-icon { width: 56px; height: 56px; flex-shrink: 0; }
.klausner-logo-icon svg, .klausner-logo-icon img { width: 100%; height: 100%; }
.klausner-logo-img { max-height: 56px; width: auto; flex-shrink: 0; display: block; }
.klausner-logo-main {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; font-size: 1.6rem; line-height: 1.05;
  color: #2f6b3a; text-transform: uppercase;
}
.klausner-logo-sub {
  display: block; font-size: 0.7rem; letter-spacing: .08em;
  color: #2f6b3a; text-transform: uppercase;
  font-family: Georgia, 'Times New Roman', serif;
}
/* Kontaktzeile */
.klausner-contact-row {
  grid-row: 1; grid-column: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; color: #2f6b3a; padding-top: 6px; font-size: 20px;
}
.klausner-contact-item { white-space: nowrap; }
.klausner-contact-email {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 700;
    padding: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.klausner-contact-email:hover {
    color: white;
    background: var(--color-primary);
    padding: 5px;
}



/* Hauptnavigation (Desktop Pill-Leiste — auf Bogen positioniert) */
.klausner-main-nav {
  grid-row: 2; grid-column: 2;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 18px;
}
/* Bogen-Menü: Die LI-Elemente folgen der Krümmung des Bogens */
.klausner-nav-list {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}
.klausner-nav-list > li { flex: 1 1 0; text-align: center; }

/* Bogen-Transform: Rotation sitzt auf dem Link (<a>), nicht auf dem <li>.
   Ein Untermenü ist ein Kind-Element des <li> und würde eine dort
   gesetzte Rotation sonst mit erben und schräg/verschoben erscheinen. */
/* Menüpunkte grade statt schräg ── */
.klausner-nav-list > li:nth-child(1) > a { /* transform: rotate(-4deg) translateY(3px); */ }
.klausner-nav-list > li:nth-child(2) > a { /* transform: rotate(-2.5deg) translateY(1px); */ }
.klausner-nav-list > li:nth-child(3) > a { /* transform: rotate(-1deg) translateY(0px); */ }
.klausner-nav-list > li:nth-child(4) > a { /* transform: rotate(0deg) translateY(-1px); */ }
.klausner-nav-list > li:nth-child(5) > a { /* transform: rotate(1deg) translateY(0px); */ }
.klausner-nav-list > li:nth-child(6) > a { /* transform: rotate(2.5deg) translateY(1px); */ }
.klausner-nav-list > li:nth-child(7) > a { /* transform: rotate(4deg) translateY(3px); */ }
.klausner-nav-list > li:nth-child(8) > a { /* transform: rotate(5.5deg) translateY(5px); */ }

.klausner-nav-list > li > a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  color: #2f6b3a;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
  font-size: 0.88rem;
  display: block;
}
.klausner-nav-list > li > a:hover,
.klausner-nav-list > li > a:focus-visible {
  background: rgba(47, 107, 58, 0.12);
}
.klausner-nav-list > li.current-menu-item > a,
.klausner-nav-list > li.current-menu-parent > a,
.klausner-nav-list > li.current_page_item > a,
.klausner-nav-list > li.current_page_parent > a {
  background: #2f6b3a;
  color: #ffffff;
}

/* ── Desktop Dropdown (Untermenüs) — WordPress-Klassen ── */
/* Das <li> bleibt gerade – Rotation sitzt auf dem <a>-Link */
.klausner-nav-list > li.menu-item-has-children {
  position: relative;
}
/* Invisible bridge: füllt die Lücke zwischen Parent-Pill und Dropdown,
   sodass der Mauszeiger die Lücke überqueren kann, ohne :hover zu verlieren. */
.klausner-nav-list > li.menu-item-has-children::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 1035;
}
.klausner-nav-list > li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #fdfbf3;
  border: 1px solid #2f6b3a;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  margin: 4px 0 0 0;
  padding: 4px 0;
  z-index: 1040;
  /* Weiche Ein-/Ausblendung statt harter display-Umschaltung */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.klausner-nav-list > li.menu-item-has-children:hover > .sub-menu,
.klausner-nav-list > li.menu-item-has-children:focus-within > .sub-menu,
/* Touch: via JS gesetzte Klasse */
.klausner-nav-list > li.menu-item-has-children.is-active > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.klausner-nav-list .sub-menu > li > a {
  display: block;
  padding: 8px 18px;
  color: #2f6b3a;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color .2s ease, color .2s ease;
  white-space: nowrap;
  transform: none;
}
.klausner-nav-list .sub-menu > li > a:hover,
.klausner-nav-list .sub-menu > li > a:focus-visible {
  background: rgba(47,107,58,0.12);
}
.klausner-nav-list .sub-menu > li.current-menu-item > a,
.klausner-nav-list .sub-menu > li.current-menu-parent > a,
.klausner-nav-list .sub-menu > li.current_page_item > a,
.klausner-nav-list .sub-menu > li.current_page_parent > a {
  background: #2f6b3a;
  color: #ffffff;
}

/* Kleiner Pfeil-Indikator bei Menüpunkten mit Untermenü (Desktop) */
.klausner-nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}

/* Pfeil-Indikator für mobile Menüpunkte mit Untermenü */
.klausner-mobile-nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.klausner-mobile-nav-list > li.menu-item-has-children.is-open > a::after {
  transform: rotate(-135deg) translateY(-3px);
}

/* Burger Button (nur Mobile sichtbar) */
.klausner-burger {
  display: none;
  position: absolute;
  top: 5px; right: 20px;
  z-index: 1060;
  width: 40px; height: 32px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.klausner-burger-line {
  display: block;
  width: 28px; height: 3px;
  background: #2f6b3a;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.klausner-burger-line + .klausner-burger-line { margin-top: 5px; }
.klausner-burger[aria-expanded="true"] .klausner-burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.klausner-burger[aria-expanded="true"] .klausner-burger-line:nth-child(2) { opacity: 0; }
.klausner-burger[aria-expanded="true"] .klausner-burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Overlay */
.klausner-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(244, 236, 216, 0.97);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.klausner-mobile-overlay.is-open { display: block; opacity: 1; }
.klausner-mobile-overlay-inner {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1.5rem; gap: 2rem;
}
.klausner-mobile-branding { margin-bottom: 0.5rem; }
.klausner-mobile-logo-link .klausner-logo-icon { width: 48px; height: 48px; }
.klausner-mobile-logo-link .klausner-logo-img { max-height: 48px; width: auto; }
.klausner-mobile-logo-link .klausner-logo-main { font-size: 1.3rem; }
.klausner-mobile-nav { width: 100%; max-width: 360px; }
.klausner-mobile-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
/* Mobile Sub-Liste (Untermenüs) — WordPress erzeugt hier class="sub-menu" */
.klausner-mobile-nav-list .sub-menu {
  list-style: none; margin: 4px 0 8px; padding-left: 0;
  display: none; flex-direction: column; gap: 2px;
}
.klausner-mobile-nav-list > li.menu-item-has-children.is-open > .sub-menu {
  display: flex;
}
.klausner-mobile-nav-list .sub-menu li > a {
  display: block; padding: 8px 16px; text-align: center;
  color: #2f6b3a;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 0.9rem;
}
.klausner-mobile-nav-list .sub-menu li > a:hover,
.klausner-mobile-nav-list .sub-menu li > a:focus-visible { background: rgba(47,107,58,0.12); }
.klausner-mobile-nav-list .sub-menu li.current-menu-item > a,
.klausner-mobile-nav-list .sub-menu li.current_page_item > a {
  background: #2f6b3a;
  color: #ffffff;
}
.klausner-mobile-nav-list > li > a {
  display: block; padding: 12px 20px; text-align: center;
  color: #2f6b3a;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}
.klausner-mobile-nav-list > li > a:hover,
.klausner-mobile-nav-list > li > a:focus-visible { background: rgba(47, 107, 58, 0.12); }
.klausner-mobile-nav-list > li.current-menu-item > a,
.klausner-mobile-nav-list > li.current-menu-parent > a,
.klausner-mobile-nav-list > li.current_page_item > a,
.klausner-mobile-nav-list > li.current_page_parent > a {
  background: #2f6b3a;
  color: #ffffff;
}
.klausner-mobile-contact {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; color: #2f6b3a; font-size: 0.95rem;
}
.klausner-mobile-contact a { color: #2f6b3a; text-decoration: underline; }

/* ── Startseite: Widget-Bereich in der Sidebar ── */
.klausner-frontpage-widgets {
  margin-top: 1rem;
}
.klausner-frontpage-widgets .widget {
  margin-bottom: 1.5rem;
}
/* ── Content + Sidebar Layout ── */
.klausner-content-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.klausner-content-sidebar .site-main {
  flex: 0 0 75%;
  max-width: 75%;
}
.klausner-content-sidebar .sidebar-klausner {
  flex: 0 0 20%;
  max-width: 20%;
}
/* ── Widgets (global – Sidebar, Footer, Content) ── */
.widget {
  background: transparent !important;
  border: none;
  border-left: 4px solid var(--color-primary);
  border-radius: 0;
  padding: 0.25rem 0 0.25rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: none;
}
.widget-title,
.widget .widget-title {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
}
.widget ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.widget ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(17, 118, 166, 0.15);
}
.widget ul li:last-child { border-bottom: none; }
.widget a { color: var(--color-text); }
.widget a:hover { color: var(--color-primary); text-decoration: underline; }
.widget p { margin-bottom: 0.5rem; }
.widget select,
.widget input[type="text"],
.widget input[type="search"] {
  border: 1px solid rgba(17, 118, 166, 0.3);
  border-radius: 4px;
  background: transparent;
}
/* Text-Widget (widget_text) explizit transparent */
.widget_text,
.widget.widget_text {
  background: transparent !important;
  box-shadow: none;
  border: none;
  border-left: 4px solid var(--color-primary);
  border-radius: 0;
}
@media (max-width: 991px) {
  .klausner-content-sidebar .site-main,
  .klausner-content-sidebar .sidebar-klausner {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .klausner-content-sidebar .sidebar-klausner {
    order: 2;
  }
}

/* Responsive ≤900px → Burger-Menü */
@media (max-width: 900px) {
  .klausner-header { padding: 12px 16px 8px; }
  .klausner-header-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: center;
    position: relative;
  }
  .klausner-branding { grid-row: auto; grid-column: 1; }
  .klausner-logo-icon { width: 44px; height: 44px; }
  .klausner-logo-img { max-height: 44px; }
  .klausner-logo-main { font-size: 1.2rem; }
  .klausner-logo-sub { font-size: 0.6rem; }
  .klausner-contact-row { display: none; }
  .klausner-main-nav { display: none; }
  .klausner-burger { display: block; }
  .klausner-header-wave { height: 50px; top: 6px; }
}