/*
	c goeldi.eu
	Gestaltung nach Frontend-Mockup v3 (templates/mockup3.html)
*/
*, *::before, *::after {
  box-sizing: border-box;
}

:where(*:not(.formie-form, .formie-form *)) {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: #f4f9f9;
  color: #1c2820;
  font-size: 15px;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.overlay-open {
  overflow: hidden;
}

a {
  color: #2a7f78;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: #fff;
  color: #2a7f78;
  padding: 8px 14px;
  border-radius: 7px;
}
.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid #5bbfb5;
  outline-offset: 2px;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.header {
  background: #2a7f78;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 72px;
  width: auto;
}
@media (max-width: 600px) {
  .logo-img {
    height: 56px;
  }
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-btn {
  color: rgba(255, 255, 255, 0.75);
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-btn:hover, .nav-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0.7rem 1rem;
  }
  .nav {
    margin-left: 0;
    width: 100%;
  }
  .nav-btn {
    padding: 6px 10px;
  }
}
.main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
@media (max-width: 600px) {
  .main {
    padding: 1rem;
  }
}

.page-intro {
  margin-bottom: 1.25rem;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.page-lead {
  color: #5a7a78;
  font-size: 14px;
  line-height: 1.5;
  max-width: 760px;
}

.placeholder-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: 1.5rem;
  color: #5a7a78;
}
.placeholder-card p + p {
  margin-top: 0.5rem;
}

.page-text .page-intro {
  max-width: 760px;
}

.text-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: 1.5rem;
}

.rich-text {
  font-size: 15px;
  line-height: 1.6;
}
.rich-text h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
  line-height: 1.3;
}
.rich-text h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 1.1rem 0 0.3rem;
}
.rich-text > :first-child {
  margin-top: 0;
}
.rich-text p, .rich-text ul, .rich-text ol {
  margin-bottom: 0.75rem;
}
.rich-text ul, .rich-text ol {
  padding-left: 1.4rem;
}
.rich-text li + li {
  margin-top: 0.2rem;
}
.rich-text a {
  color: #2a7f78;
  overflow-wrap: anywhere;
}

.page-einreichen .page-intro {
  max-width: 760px;
}

.einreichen-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 1.75rem 2rem;
}
@media (max-width: 600px) {
  .einreichen-card {
    padding: 1.25rem 1rem;
  }
}
.einreichen-card .formie-form {
  --formie-font-family: Segoe UI, Helvetica Neue, Arial, sans-serif;
  --formie-color-primary: #2a7f78;
  --formie-color-primary-hover: #1f6560;
  --formie-color-text: #1c2820;
  --formie-color-text-muted: #5a7a78;
  --formie-color-heading: #1c2820;
  --formie-color-border-control: rgba(0, 0, 0, 0.15);
  --formie-color-focus-ring: rgba(91, 191, 181, 0.35);
  --formie-control-font-size: 14px;
  --formie-label-size: 13px;
  --formie-radius-sm: 7px;
  --formie-radius-md: 7px;
  --formie-button-border-radius: 10px;
  --formie-button-primary-background: #2a7f78;
  --formie-button-primary-background-hover: #1f6560;
  --formie-button-primary-border: #2a7f78;
  --formie-button-primary-border-hover: #1f6560;
}
.einreichen-card .formie-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #5a7a78;
  margin: 0;
}
.einreichen-card .formie-row:has(.formie-heading):not(:first-child) {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}
.einreichen-card .formie-checkboxes-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px 14px;
}
.einreichen-card .formie-button-submit {
  font-weight: 700;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.search-bar:focus-within {
  border-color: #5bbfb5;
}
.search-bar input {
  border: none;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: #1c2820;
  background: transparent;
  flex: 1;
  width: 100%;
}
.search-bar input::placeholder {
  color: #5a7a78;
}

.search-icon {
  color: #5a7a78;
  font-size: 17px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 150px;
}
.filter-group select {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 7px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  background: #f4f9f9;
  color: #1c2820;
  cursor: pointer;
  width: 100%;
}
.filter-group select:focus {
  border-color: #5bbfb5;
}

.filter-label {
  font-size: 11px;
  color: #5a7a78;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.filter-submit, .reset-btn {
  font: inherit;
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  color: #5a7a78;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-submit:hover, .reset-btn:hover {
  border-color: #2a7f78;
  color: #2a7f78;
}

.reset-btn {
  margin-left: auto;
}

.filter-submit {
  background: #2a7f78;
  color: #fff;
  border-color: #2a7f78;
}
.filter-submit:hover {
  background: #3a9e94;
  color: #fff;
}
.js .filter-submit {
  display: none;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.count-badge {
  background: #d4efed;
  color: #2a7f78;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.view-pills {
  display: flex;
  gap: 6px;
  border: 0;
}

.pill {
  cursor: pointer;
}
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill span {
  display: block;
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #fff;
  color: #5a7a78;
  transition: all 0.15s;
}
.pill:hover input:not(:checked) + span {
  border-color: #3a9e94;
  color: #2a7f78;
}
.pill input:checked + span {
  background: #2a7f78;
  color: #fff;
  border-color: #2a7f78;
}
.pill input:focus-visible + span {
  outline: 2px solid #5bbfb5;
  outline-offset: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.angebot-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.12s;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.angebot-card:hover, .angebot-card:focus-within {
  box-shadow: 0 4px 18px rgba(26, 74, 58, 0.12);
  border-color: #5bbfb5;
  transform: translateY(-1px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1c2820;
  flex: 1;
  line-height: 1.35;
}

.card-link {
  color: inherit;
  text-decoration: none;
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card-link:focus-visible {
  outline: none;
}

.angebot-card:has(.card-link:focus-visible) {
  outline: 2px solid #5bbfb5;
  outline-offset: 2px;
}

.format-badge {
  --badge: #5a7a78;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--badge);
  background: color-mix(in srgb, var(--badge) 14%, #fff);
}

.card-org {
  font-size: 12px;
  color: #5a7a78;
}

.card-desc {
  font-size: 12.5px;
  color: #5a7a78;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f4f9f9;
  color: #5a7a78;
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-weight: 400;
  vertical-align: 1px;
}

.tag-free {
  background: #d4efed;
  color: #0f6e56;
  border-color: #80d4ce;
}

.tag-new {
  background: #faeeda;
  color: #854f0b;
  border-color: #fac775;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.card-ort {
  font-size: 11px;
  color: #5a7a78;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-detail-link {
  font-size: 12px;
  color: #2a7f78;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: #5a7a78;
}

.pager-slot {
  margin-left: auto;
}

.pager-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.pager {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #fff;
  color: #5a7a78;
  transition: all 0.15s;
}
.pager-btn .icon {
  width: 14px;
  height: 14px;
}
.pager-btn:is(a):hover {
  border-color: #3a9e94;
  color: #2a7f78;
}
.pager-btn:focus-visible {
  outline: 2px solid #5bbfb5;
  outline-offset: 2px;
}
.pager-btn.current {
  background: #2a7f78;
  color: #fff;
  border-color: #2a7f78;
  font-weight: 600;
}
.pager-btn.disabled {
  opacity: 0.4;
}

.pager-gap {
  color: #5a7a78;
  font-size: 12px;
  padding: 0 2px;
}

.card-grid.loading {
  opacity: 0.5;
  transition: opacity 0.15s;
  pointer-events: none;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overscroll-behavior: contain;
}
@media (max-width: 600px) {
  .detail-overlay {
    align-items: flex-end;
    padding: 1rem 0 0;
  }
}

.detail-panel {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  padding: 1.5rem 1.75rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.2s ease;
}
.detail-panel:focus {
  outline: none;
}
.detail-panel.loading {
  min-height: 30vh;
}
@media (max-width: 600px) {
  .detail-panel {
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.1rem 1.5rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.back-link {
  margin-bottom: 1rem;
  font-size: 13px;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  text-decoration: none;
}

.preview-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
  background: #fff4e5;
  border: 1px solid #f4a836;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #7a4a00;
}

.detail-page {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  max-width: 760px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
@media (max-width: 600px) {
  .detail-page {
    padding: 1.25rem 1.1rem;
  }
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.detail-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
}

.detail-org {
  font-size: 13px;
  color: #5a7a78;
}

.detail-close {
  margin-left: auto;
  background: #f4f9f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  color: #1c2820;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-close:hover {
  background: #d4efed;
  color: #2a7f78;
}

.detail-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.detail-badges:empty {
  display: none;
}

.detail-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: #f4f9f9;
  color: #5a7a78;
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-weight: 500;
}
.detail-badge.format-badge {
  border-color: transparent;
  font-weight: 600;
}

.detail-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #1c2820;
}

.detail-section {
  margin-bottom: 1.25rem;
}

.detail-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #5a7a78;
  margin-bottom: 8px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 600px) {
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

.detail-info-item {
  background: #f4f9f9;
  border-radius: 8px;
  padding: 10px 12px;
}

.detail-info-label {
  font-size: 11px;
  color: #5a7a78;
  margin-bottom: 2px;
}

.detail-info-val {
  font-size: 13px;
  font-weight: 600;
  color: #1c2820;
}

.contact-card {
  background: #d4efed;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.contact-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2a7f78;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 5px;
}
.contact-row .icon {
  color: #2a7f78;
  margin-top: 2px;
}
.contact-row a {
  color: #2a7f78;
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-row a:hover {
  text-decoration: underline;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  color: #5a7a78;
  font-size: 12px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner a {
  color: #5a7a78;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 150;
  background: #2a7f78;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: #3a9e94;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/*# sourceMappingURL=gesundheit.css.map */
