:root {
  --color-primary: #1643D5;
  --color-navy: #002059;
  --color-navy-dark: #000E26;
  --color-text: #535862;
  --color-heading: #000E26;
  --color-border: #E9EAEB;
  --color-hero-bg: #E5F1FF;
  --color-accent: #FFE481;
  --section-width: 1260px;
  --section-padding: 20px;
  --listing-overlap: 96px;
  --alphabet-gap: 24px;
  --entry-measure: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  background: #fff;
}

a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 { font-size: 60px; }
h2 { font-size: 48px; }
h3 { font-family: "Source Serif 4", serif; font-size: 22px; }
h4 { font-family: "Source Serif 4", serif; font-size: 30px; }
h5 { font-family: "Source Serif 4", serif; font-size: 18px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section-container {
  max-width: var(--section-width);
  margin: 0 auto;
  padding-left: var(--section-padding);
  padding-right: var(--section-padding);
}

/* Topbar */
.topbar {
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  background: #fff;
}

.topbar-inner { padding-top: 8px; padding-bottom: 8px; }

.topbar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 24px;
}

.topbar-item--appointment {
  margin-left: auto;
}

.topbar-list a {
  color: var(--color-navy-dark);
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-list a:hover { color: var(--color-primary); }

.topbar-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar-icon svg { display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.site-header .topbar {
  order: -1;
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  order: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-logo { flex-shrink: 0; }

.site-logo img { display: block; height: 40px; width: auto; }

.site-nav {
  margin-left: auto;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-dark);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after { top: 7px; }

.nav-item { position: relative; }

.nav-link {
  border: 0;
  background: transparent;
  color: var(--color-navy-dark);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover { color: var(--color-primary); }

.nav-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
}

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 14, 38, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.nav-item.is-open > .nav-dropdown,
.nav-item.has-dropdown:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--color-navy-dark);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: #f5f7fb;
  color: var(--color-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-search-wrap {
  position: relative;
}

.header-search-toggle {
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.header-search-toggle:hover { background: #f5f7fb; }

.header-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  z-index: 210;
}

.header-search-panel .search-form__container {
  box-shadow: 0 8px 24px rgba(0, 14, 38, 0.12);
}

.header-search-panel .search-form__button--sparkle {
  width: 40px;
  height: 40px;
  background: transparent;
}

.header-search-panel .search-form__field {
  font-size: 16px;
  padding: 10px 14px;
}

.header-search-wrap.is-open .header-search-panel { display: block !important; }

.header-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
}

.header-icon-link:hover { background: #f5f7fb; }

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-navy-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
}

.header-cart:hover {
  background: #f5f7fb;
  text-decoration: none;
}

.header-cart__icon {
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 2.5H4.16667L6.66667 13.3333H15.8333L17.5 6.66667H5.83333' stroke='%23000E26' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8.33333' cy='16.6667' r='1.25' fill='%23000E26'/%3E%3Ccircle cx='14.1667' cy='16.6667' r='1.25' fill='%23000E26'/%3E%3C/svg%3E") center/contain no-repeat;
}

.header-cart__count {
  font-size: 12px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: var(--color-navy);
  color: #fff;
  border-radius: 999px;
  padding: 0 5px;
}

/* Breadcrumb */
.breadcrumb-bar {
  padding: 16px 0;
  font-size: 14px;
  color: var(--color-text);
}

.breadcrumb-nav p { margin: 0; }

.breadcrumb-nav a {
  color: var(--color-text);
  font-weight: 400;
  text-decoration: none;
}

.breadcrumb-nav a:hover { color: var(--color-primary); }

.breadcrumb-separator,
.breadcrumb-current {
  color: var(--color-text);
  font-weight: 400;
}

.page-glossary .breadcrumb-bar {
  display: none;
}

.page-glossary .header-icon-link,
.page-glossary .header-cart,
.page-entry .header-icon-link,
.page-entry .header-cart {
  display: none;
}

/* Hero */
.hero-section {
  background-color: var(--color-hero-bg);
  background-image: url('../assets/hero-decoration.svg');
  background-size: 521px auto;
  background-repeat: no-repeat;
  background-position: 100% 0;
  padding: 72px 0 96px;
}

.hero-label {
  font-family: "Source Serif 4", serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  position: relative;
  padding-left: 42px;
}

.hero-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-section h1 { margin-bottom: 24px; }

.hero-subtitle {
  width: 50%;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 25px;
}

.hero-search {
  width: 67%;
  --search-size: 48px;
}

.search-form__container {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.search-form__field {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  font-size: 18px;
  min-width: 0;
}

.hero-search .search-form__button {
  width: 40px;
  height: 40px;
}

.search-form__button {
  border: 0;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* Listing overlap */
.listing-section {
  margin-top: calc(-1 * var(--listing-overlap));
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 14px 24px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-accent);
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--color-navy);
  color: var(--color-accent);
  text-decoration: none;
}

.btn-with-arrow::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' viewBox='0 0 12 11' fill='none'%3E%3Cpath d='M6.83333 1L11 5.375M11 5.375L6.83333 9.75M11 5.375L1 5.375' stroke='%23FFE481' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
  font-size: 14px;
  padding: 10px 16px;
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: #fff;
  text-decoration: none;
}

.lexikon-card-link { color: var(--color-primary); }

/* Search results mode */
.search-results-header {
  margin-bottom: 24px;
}

.search-results-header h2 {
  font-size: 24px;
}

.search-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  background: #fff;
}

/* Single entry page */
.page-entry .entry-hero-band {
  display: none;
}

.page-entry .entry-body-section {
  margin-top: 0;
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.page-entry .lexikon-single-hero {
  position: relative;
  min-height: 0;
  margin-top: 0;
  margin-left: calc(-1 * var(--section-padding));
  margin-right: calc(-1 * var(--section-padding));
  padding: 0 var(--section-padding) 24px;
  background: #EDF5FF;
}

.page-entry .entry-hero-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  grid-area: actions;
  align-self: center;
  margin-bottom: 0;
}

.page-entry .lexikon-single-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e2e6ec;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.page-entry .lexikon-single-share-btn:hover {
  background: #edf0f7;
}

.page-entry .lexikon-single-share-btn.is-bookmarked svg path,
.lexikon-card-heart.is-bookmarked svg path {
  fill: #e53935;
  stroke: #e53935;
}

.lexikon-card-heart {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.wissen-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 2000;
  max-width: min(90vw, 420px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #002059;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wissen-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-entry .lexikon-single-nav-top {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  pointer-events: none;
}

.page-entry .lexikon-single-nav-top a {
  pointer-events: auto;
}

.page-entry .lexikon-single-hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title title"
    "tags actions";
  align-items: center;
  gap: 24px;
  width: 100%;
  padding-top: 80px;
}

.page-entry .lexikon-single-hero-main {
  display: contents;
  min-height: 0;
  padding: 0;
}

.page-entry .lexikon-single-back-link {
  margin-bottom: 0;
}

.page-entry .lexikon-single-tags {
  grid-area: tags;
  gap: 16px;
  margin-top: 0;
}

.page-entry .lexikon-single-tag {
  padding: 10px 18px;
  min-height: 40px;
  box-sizing: border-box;
}

.page-entry #verwandte-begriffe {
  scroll-margin-top: 120px;
}

.page-entry .lexikon-single-title {
  grid-area: title;
  max-width: min(var(--entry-measure), 100%);
  font-size: 48px;
  margin: 0;
  color: #000E26;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

.page-entry .lexikon-single-layout {
  display: block;
  margin-left: calc(-1 * var(--section-padding));
  margin-right: calc(-1 * var(--section-padding));
  padding: 24px var(--section-padding) 0;
  background: #fff;
  position: relative;
}

.page-entry .lexikon-single-toc {
  display: none !important;
}

.page-entry .lexikon-single-content {
  max-width: min(var(--entry-measure), 100%);
}

.page-entry .lexikon-single-content .h3,
.page-entry .lexikon-single-content h3 {
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 16px;
  color: #000E26;
  scroll-margin-top: 120px;
}

.page-entry .lexikon-single-content p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: #535862;
}

.page-entry .lexikon-single-content ul {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #535862;
}

.page-entry .lexikon-single-content li {
  margin: 0 0 8px;
  line-height: 1.6;
}

.page-entry .lexikon-single-content strong {
  font-weight: 600;
  color: #000E26;
}

.page-entry .single-actions {
  margin-top: 32px;
}

.page-entry .lexikon-single-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-entry .lexikon-single-nav-link {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 16px;
  background: #fff;
  width: calc(50% - 8px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-entry .lexikon-single-nav-link:hover {
  background: #f5f7fb;
  text-decoration: none;
}

.page-entry .lexikon-single-nav-next {
  text-align: right;
  align-items: flex-end;
}

.page-entry .lexikon-single-nav-link.lexikon-single-nav-prev,
.page-entry .lexikon-single-nav-link.lexikon-single-nav-next {
  flex-direction: column;
}

.page-entry .lexikon-single-nav-label {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-entry .lexikon-single-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 7px;
}

.page-entry .lexikon-related-section {
  padding: 48px 0 80px;
  background: #fff;
}

.page-entry .lexikon-related-heading {
  font-family: "Source Serif 4", serif;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #000E26;
}

.page-entry .lexikon-related-heading-secondary {
  font-style: italic;
  color: var(--color-primary);
}

.page-entry .lexikon-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.page-entry .lexikon-related-item {
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.page-entry .lexikon-related-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.page-entry .lexikon-related-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.page-entry .lexikon-related-item-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #041423;
  line-height: 1.4;
}

.page-entry .lexikon-related-item-excerpt {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 16px;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-entry .lexikon-related-read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
}

/* WhatsApp side tab (fixed middle-right) */
.whatsapp-float {
  position: fixed;
  top: calc(50% + 175px);
  right: 5px;
  transform: translateY(-50%);
  z-index: 999;
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float img {
  display: block;
  width: 57px;
  height: 48px;
}

.whatsapp-float:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.95;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #fff;
  color: #50576B;
  padding: 24px 0;
}

.footer-container-1340 {
  max-width: 1340px;
}

.footer-card {
  position: relative;
  width: 100%;
  padding: 70px 40px 24px;
  border: 1px solid #E5E9EE;
  border-radius: 12px;
  background-color: #F7F8F9;
  overflow: hidden;
}

.footer-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/footer-bg.svg");
  background-repeat: no-repeat;
  background-position: right top;
  pointer-events: none;
}

.footer-card > :not(.footer-card-bg) {
  position: relative;
  z-index: 1;
}

.footer-newsletter-block {
  width: 100%;
}

.footer-newsletter-heading h4 {
  color: #000E26;
  font-family: "Source Serif 4", serif;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 330px;
}

.footer-newsletter-form-wrap {
  max-width: 650px;
  width: 100%;
}

.newsletter-footer {
  position: relative;
}

.newsletter-footer .newsletter-field--email input {
  display: block;
  width: 100%;
  max-width: 80%;
  padding: 13px 16px;
  border: 1px solid #E5E9EE;
  border-radius: 8px;
  font: inherit;
  font-size: 18px;
  color: #000;
  background: #fff;
}

.newsletter-footer .newsletter-field--email input::placeholder {
  color: #000;
  opacity: 1;
}

.newsletter-footer .newsletter-field--email input:focus {
  outline: 2px solid #1643D5;
  outline-offset: 1px;
}

.newsletter-form-footer {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.btn-newsletter {
  background: #002059;
  color: #FFE481;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: #002059;
  color: #FFE481;
}

.newsletter-checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
}

.newsletter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #002059;
}

.newsletter-checkbox label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

.newsletter-checkbox a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.newsletter-checkbox a:hover {
  text-decoration: underline;
}

.newsletter-form-message {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.newsletter-form-message.is-success {
  color: #0f6b3a;
}

.newsletter-form-message.is-error {
  color: #b42318;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #CCD2DE;
  margin: 24px 0 0;
  width: 100%;
}

.footer-divider--bottom {
  margin-top: 80px;
}

.site-footer h5 {
  color: #000E26;
  font-family: "Source Serif 4", serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
}

.site-footer a {
  color: #50576B;
  font-weight: 400;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-columns li {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #50576B;
}

.footer-cta { margin-top: 16px; }

.footer-bottom {
  border-top: none;
  padding-top: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  font-size: 12px;
  color: #717680;
}

.footer-logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.footer-logo-link img {
  display: block;
  width: 120px;
  height: auto;
}

.footer-bottom-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-bottom-menu a {
  color: #717680;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
}

.footer-bottom-menu a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  margin: 0;
  color: #717680;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.footer-social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1023px) {
  .hero-subtitle { width: 100%; }
  .hero-search { width: 100%; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-newsletter-form-wrap { max-width: 500px; }
  .page-entry .lexikon-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-entry .lexikon-single-title { font-size: 36px; }
}

@media (max-width: 767px) {
  h1 { font-size: 36px; }

  .site-header .topbar {
    order: 1;
    border-top: 1px solid var(--color-border);
    border-bottom: 0;
    font-size: 11px;
  }

  .site-header-inner {
    order: 0;
  }

  .topbar-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topbar-item--appointment {
    display: none;
  }

  .topbar-list {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
  }

  .topbar-item--phone {
    flex: 0 0 38%;
    min-width: 0;
  }

  .topbar-item--email {
    flex: 1 1 0;
    min-width: 0;
  }

  .topbar-list a {
    gap: 4px;
    font-size: 11px;
    line-height: 1.2;
    min-width: 0;
    max-width: 100%;
  }

  .topbar-item--phone .topbar-icon svg {
    width: 28px;
    height: auto;
  }

  .topbar-item--email .topbar-icon svg {
    width: 12px;
    height: 12px;
  }

  .topbar-item--phone a,
  .topbar-item--email a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 14, 38, 0.1);
    min-width: 240px;
  }
  .nav-list.is-open { display: flex; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 12px;
    display: none;
  }
  .nav-item.is-open > .nav-dropdown { display: block; }
  .header-search-panel { width: min(280px, calc(100vw - 40px)); }
  .header-cart__subtotal { display: none; }
  :root { --listing-overlap: 0px; }
  .hero-section {
    padding: 48px 0 0;
    background-size: 280px auto;
    background-position: 100% -20px;
  }
  .page-glossary .hero-section h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .page-glossary .hero-label { margin-bottom: 12px; }
  .page-glossary .hero-subtitle { margin-bottom: 16px; font-size: 18px; }
  .listing-section { margin-top: 0; }
  .page-entry .entry-hero-band {
    position: relative;
    height: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    z-index: 1;
  }
  .page-entry .entry-hero-band-inner {
    display: none;
  }
  .page-entry .entry-body-section {
    margin-top: 0;
  }
  .page-entry .lexikon-single-hero {
    position: relative;
    min-height: 0;
    margin-left: calc(-1 * var(--section-padding));
    margin-right: calc(-1 * var(--section-padding));
    padding: 0 var(--section-padding) 16px;
    background: #EDF5FF;
  }
  .page-entry .lexikon-single-nav-top {
    top: 12px;
    left: var(--section-padding);
    right: var(--section-padding);
    width: auto;
    padding-right: 0;
  }
  .page-entry .lexikon-single-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title title"
      "tags actions";
    align-items: center;
    gap: 12px 8px;
    padding-top: 44px;
  }
  .page-entry .lexikon-single-hero-main {
    display: contents;
    min-height: 0;
    padding: 0;
  }
  .page-entry .lexikon-single-title {
    grid-area: title;
    font-size: 32px;
    margin-bottom: 0;
  }
  .page-entry .lexikon-single-tags {
    grid-area: tags;
    gap: 8px;
    margin-top: 0;
  }
  .page-entry .lexikon-single-tag {
    font-size: 12px;
    padding: 5px 9px;
    min-height: 20px;
    border-radius: 6px;
  }
  .page-entry .entry-hero-actions {
    position: static;
    grid-area: actions;
    align-self: center;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .page-entry .lexikon-single-share-btn {
    width: 28px;
    height: 28px;
  }
  .page-entry .lexikon-single-share-btn svg {
    transform: scale(0.85);
  }
  .page-entry .lexikon-single-layout {
    padding-top: 16px;
    background: #fff;
  }
  .page-entry .lexikon-single-content .h3,
  .page-entry .lexikon-single-content h3 {
    margin-top: 8px;
  }
  .page-entry .lexikon-single-nav-link { width: 100%; }
  .page-entry .lexikon-related-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-card { padding: 40px 24px 24px; }
  .footer-newsletter-form-wrap { max-width: 100%; }
  .newsletter-footer .newsletter-field--email input { max-width: 100%; }
  .newsletter-form-footer {
    position: static;
    margin-top: 12px;
  }
  .whatsapp-float { right: 5px; }
  .footer-bottom {
    justify-content: center;
    gap: 24px;
  }
  .footer-social-icons {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .footer-bottom-menu {
    justify-content: center;
  }
}
