.kachel-side-nav-search {
  margin: -8px 0 -4px;
}

.kachel-site-search {
  margin: 0;
  width: 100%;
}

.kachel-site-search-field {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(26, 26, 26, 0.1);
  border-radius: var(--radius, 8px);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  min-height: 48px;
  overflow: visible;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kachel-site-search-field:hover,
.kachel-site-search-field:focus-within {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--kachel-orange, #f7941d);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.1);
  transform: translateX(3px);
}

.kachel-site-search-input {
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--kachel-text, #231f20);
  font-family: var(--schrift-text, inherit);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  min-width: 0;
  outline: 0;
  padding: 13px 4px 13px 15px;
  width: 100%;
}

.kachel-site-search-input::placeholder {
  color: rgba(35, 31, 32, 0.56);
  opacity: 1;
}

.kachel-site-search-input::-webkit-search-decoration,
.kachel-site-search-input::-webkit-search-cancel-button,
.kachel-site-search-input::-webkit-search-results-button,
.kachel-site-search-input::-webkit-search-results-decoration {
  appearance: none;
}

.kachel-site-search-submit {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--kachel-text, #231f20);
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin: 0 10px 0 0;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 34px;
}

.kachel-site-search-field:hover .kachel-site-search-submit,
.kachel-site-search-field:focus-within .kachel-site-search-submit {
  background: var(--kachel-orange, #f7941d);
  color: var(--kachel-weiss, #fff);
  transform: scale(1.03);
}

.kachel-site-search-submit:focus-visible {
  outline: 3px solid rgba(247, 148, 29, 0.28);
  outline-offset: 3px;
}

.kachel-site-search-icon {
  background: currentColor;
  display: block;
  height: 18px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.8 4.2a6.6 6.6 0 1 0 0 13.2 6.6 6.6 0 0 0 0-13.2Zm0 2.2a4.4 4.4 0 1 1 0 8.8 4.4 4.4 0 0 1 0-8.8Zm5.1 8.1 5 5a1.3 1.3 0 0 1-1.8 1.8l-5-5 1.8-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.8 4.2a6.6 6.6 0 1 0 0 13.2 6.6 6.6 0 0 0 0-13.2Zm0 2.2a4.4 4.4 0 1 1 0 8.8 4.4 4.4 0 0 1 0-8.8Zm5.1 8.1 5 5a1.3 1.3 0 0 1-1.8 1.8l-5-5 1.8-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 18px;
}

body.kachel-search-results-page .seiten-kopf {
  margin-left: 0;
  max-width: 1080px;
}

body.kachel-search-results-page .seiten-kopf h1 em {
  color: var(--kachel-orange, #f7941d);
  font-style: normal;
}

body.kachel-search-results-page .search-wrap {
  margin: 0 0 clamp(64px, 8vw, 110px);
  max-width: 1080px;
  padding: 0 clamp(20px, 4vw, 44px) clamp(48px, 6vw, 80px) 0;
}

body.kachel-search-results-page .search-form-wrap {
  display: none;
}

body.kachel-search-results-page .beitraege-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.kachel-search-results-page .beitrag-karte {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--radius, 8px);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.kachel-search-results-page .beitrag-karte:hover,
body.kachel-search-results-page .beitrag-karte:focus-within {
  border-color: rgba(247, 148, 29, 0.42);
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
  transform: translateY(-3px);
}

body.kachel-search-results-page .beitrag-karte-inhalt {
  padding: 22px 22px 20px;
}

body.kachel-search-results-page .beitrag-karte-titel {
  font-family: var(--schrift-display, inherit);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 700;
  line-height: 1.24;
  margin: 0 0 10px;
}

body.kachel-search-results-page .beitrag-karte-titel a {
  color: var(--kachel-text, #231f20);
  text-decoration: none;
}

body.kachel-search-results-page .beitrag-karte-titel a:hover,
body.kachel-search-results-page .beitrag-karte-titel a:focus-visible {
  color: var(--kachel-orange, #f7941d);
  text-decoration: none;
}

body.kachel-search-results-page .beitrag-karte-auszug,
body.kachel-search-results-page .search-wrap > p {
  color: #3a3a3a;
  font-family: var(--schrift-text, inherit);
  font-size: 1rem;
  line-height: 1.65;
}

body.kachel-search-results-page .beitrag-karte-auszug p {
  margin: 0;
}

body.kachel-search-results-page .beitrag-karte-meta {
  display: none;
}

body.kachel-search-results-page .paginierung {
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .kachel-side-nav-search {
    margin: 0;
  }

  .kachel-site-search-field:hover,
  .kachel-site-search-field:focus-within {
    transform: translateY(-2px);
  }

  body.kachel-search-results-page .search-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 640px) {
  .kachel-site-search-field {
    min-height: 44px;
  }

  .kachel-site-search-input {
    font-size: 0.9rem;
    padding: 11px 4px 11px 13px;
  }

  .kachel-site-search-submit {
    height: 32px;
    width: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kachel-site-search-field,
  .kachel-site-search-submit,
  body.kachel-search-results-page .beitrag-karte {
    transition: none;
  }

  .kachel-site-search-field:hover,
  .kachel-site-search-field:focus-within,
  body.kachel-search-results-page .beitrag-karte:hover,
  body.kachel-search-results-page .beitrag-karte:focus-within {
    transform: none;
  }
}
