/* ==========================================================================
   tiny.homes Design System v2 – Claude-Design-Zielreferenz
   Ersetzt die Palette/Typografie aus dem urspruenglichen Design-Fundament.
   Farben: Creme/Sand/Waldgruen/Olivgruen/Holzbraun/Orange (siehe Analyse-Doc)
   Fonts: Bricolage Grotesque (Headlines) + Hanken Grotesk (Body/UI), selbst
   gehostet unter wp-content/uploads/tinyhomes-fonts/.
   ========================================================================== */

@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:500; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/bricolage-500.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:600; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/bricolage-600.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:700; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/bricolage-700.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:800; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/bricolage-800.woff2') format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:400; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/hanken-400.woff2') format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:500; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/hanken-500.woff2') format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:600; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/hanken-600.woff2') format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:700; font-display:swap; src:url('https://staging.dwahlers.de/wp-content/uploads/tinyhomes-fonts/hanken-700.woff2') format('woff2'); }

:root {
  /* Farben */
  --th-color-bg: #FAF6EE;
  --th-color-card-bg: #FFFFFF;
  --th-color-sand: #F2ECDE;
  --th-color-sand-deep: #E7DFCB;
  --th-color-border: #E7E0D0;
  --th-color-border-light: #EFEADD;
  --th-color-border-btn: #D8D0BE;
  --th-color-text: #232520;
  --th-color-text-muted: #55584E;
  --th-color-text-faint: #9a9689;
  --th-color-green-dark: #2F5A40;
  --th-color-green-darker: #234531;
  --th-color-green-olive: #6E7D43;
  --th-color-green-tint: #EAF0DD;
  --th-color-brown: #8A5A38;
  --th-color-brown-tint: #F0E6DA;
  --th-color-tag-bg: #F2ECDE;
  --th-color-tag-fg: #6b5a45;
  --th-color-orange: #E07B3C;
  --th-color-orange-hover: #C9682B;
  --th-color-badge-new-bg: #F7E9DF;
  --th-color-badge-new-fg: #C9682B;
  --th-color-badge-verified-bg: #EAF0DD;
  --th-color-badge-verified-fg: #2F5A40;
  --th-color-badge-demo-bg: #F2ECDE;
  --th-color-badge-demo-fg: #8A5A38;
  --th-color-dark: #232520;

  /* Typografie */
  --th-font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --th-font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --th-h1-size: 56px;
  --th-h1-size-mobile: 34px;
  --th-h2-size: 36px;
  --th-h2-size-mobile: 26px;
  --th-h3-size: 22px;
  --th-h3-size-mobile: 19px;
  --th-body-size: 16px;
  --th-body-size-mobile: 15px;
  --th-label-size: 13px;
  --th-button-size: 15px;
  --th-price-size: 34px;
  --th-price-size-mobile: 26px;

  /* Abstaende */
  --th-space-1: 4px; --th-space-2: 8px; --th-space-3: 12px; --th-space-4: 16px;
  --th-space-5: 24px; --th-space-6: 32px; --th-space-7: 48px; --th-space-8: 64px; --th-space-9: 96px;

  /* Radien */
  --th-radius-pill: 100px;
  --th-radius-card: 20px;
  --th-radius-card-sm: 14px;
  --th-radius-input: 12px;

  /* Schatten */
  --th-shadow-sm: 0 6px 20px rgba(35,37,32,.04);
  --th-shadow-card: 0 6px 24px rgba(35,37,32,.05);
  --th-shadow-card-hover: 0 14px 32px rgba(35,37,32,.10);
  --th-shadow-md: 0 10px 32px rgba(35,37,32,.07);
  --th-shadow-lg: 0 18px 48px rgba(35,37,32,.14);
  --th-shadow-header: 0 1px 0 rgba(35,37,32,.06);
}

/* ==========================================================================
   Typografie-Basisklassen
   ========================================================================== */

.th-h1, .th-h2, .th-h3 {
  font-family: var(--th-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--th-color-text);
  line-height: 1.08;
  margin: 0 0 var(--th-space-3);
}
.th-h1 { font-size: var(--th-h1-size); letter-spacing: -0.03em; }
.th-h2 { font-size: var(--th-h2-size); }
.th-h3 { font-size: var(--th-h3-size); }

@media (max-width: 767px) {
  .th-h1 { font-size: var(--th-h1-size-mobile); }
  .th-h2 { font-size: var(--th-h2-size-mobile); }
  .th-h3 { font-size: var(--th-h3-size-mobile); }
}

.th-body {
  font-family: var(--th-font-body);
  font-weight: 400;
  font-size: var(--th-body-size);
  line-height: 1.6;
  color: var(--th-color-text-muted);
}
@media (max-width: 767px) { .th-body { font-size: var(--th-body-size-mobile); } }

.th-label {
  font-family: var(--th-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--th-color-brown);
}

.th-price {
  font-family: var(--th-font-heading);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: var(--th-price-size);
  color: var(--th-color-text);
}
@media (max-width: 767px) { .th-price { font-size: var(--th-price-size-mobile); } }
.th-price--card { font-size: 20px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--th-font-body);
  font-weight: 600;
  font-size: var(--th-button-size);
  line-height: 1;
  border-radius: var(--th-radius-input);
  padding: 15px 24px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.th-btn:hover { text-decoration: none; transform: translateY(-1px); }

.th-btn--primary { background: var(--th-color-orange); color: #fff; box-shadow: 0 4px 14px rgba(224,123,60,.28); }
.th-btn--primary:hover { background: var(--th-color-orange-hover); color: #fff; }

.th-btn--save { background: var(--th-color-green-dark); color: #fff; }
.th-btn--save:hover { background: var(--th-color-green-darker); color: #fff; }

.th-btn--outline { background: #fff; color: var(--th-color-text); border-color: var(--th-color-border-btn); }
.th-btn--outline:hover { border-color: var(--th-color-green-olive); }

.th-btn--outline-brand { background: #fff; color: var(--th-color-green-dark); border-color: #C4CDA8; }
.th-btn--outline-brand:hover { background: var(--th-color-green-tint); }

@media (max-width: 767px) {
  .th-btn-row { display: flex; flex-direction: column; gap: var(--th-space-2); }
  .th-btn-row .th-btn { width: 100%; }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.th-card {
  background: var(--th-color-card-bg);
  border: 1px solid var(--th-color-border-light);
  border-radius: var(--th-radius-card);
  box-shadow: var(--th-shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.th-card:hover { box-shadow: var(--th-shadow-card-hover); text-decoration: none; color: inherit; }
.th-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--th-color-sand);
  border-radius: var(--th-radius-card) var(--th-radius-card) 0 0;
}
.th-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.th-card:hover .th-card__image-wrap img { transform: scale(1.03); }
.th-card__save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--th-color-green-dark);
  z-index: 2;
}
.th-card__body { padding: var(--th-space-4) var(--th-space-5) var(--th-space-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.th-card__title { font-family: var(--th-font-heading); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--th-color-text); margin: 0; }
.th-card__location { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--th-color-brown); margin-bottom: 4px; }
.th-card__meta { font-size: 13px; color: var(--th-color-text-muted); border-top: 1px solid var(--th-color-border-light); padding-top: 10px; margin-top: 6px; }
.th-card__tag { display: inline-block; background: var(--th-color-tag-bg); color: var(--th-color-tag-fg); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 600; margin-top: 8px; }
.th-card__cta { margin-top: auto; padding-top: var(--th-space-2); }

/* ==========================================================================
   Badges & Chips
   ========================================================================== */

.th-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--th-font-body);
  font-weight: 700;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 7px;
  line-height: 1.5;
}
.th-badge--category { background: var(--th-color-badge-verified-bg); color: var(--th-color-badge-verified-fg); }
.th-badge--new { background: var(--th-color-badge-new-bg); color: var(--th-color-badge-new-fg); }
.th-badge--verified { background: var(--th-color-badge-verified-bg); color: var(--th-color-badge-verified-fg); border-radius: 8px; padding: 5px 12px; }
.th-badge--verified::before { content:''; width:6px; height:6px; border-radius:50%; background: currentColor; display:inline-block; }
.th-badge--demo { background: var(--th-color-badge-demo-bg); color: var(--th-color-badge-demo-fg); }
.th-badge--position-topleft { position: absolute; top: 12px; left: 12px; z-index: 2; }

.th-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--th-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--th-color-text);
  background: #fff;
  border: 1px solid var(--th-color-border);
  padding: 12px 16px;
  border-radius: var(--th-radius-card-sm);
  line-height: 1.3;
}
.th-chip__icon { color: var(--th-color-green-dark); font-size: 15px; }

.th-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--th-font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--th-color-text);
  background: #fff;
  border: 1px solid var(--th-color-border-btn);
  padding: 8px 16px;
  border-radius: var(--th-radius-pill);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  user-select: none;
}
.th-filter-chip:hover { border-color: var(--th-color-green-dark); }
.th-filter-chip.is-active { background: var(--th-color-green-dark); border-color: var(--th-color-green-dark); color: #fff; }
.th-filter-chips { display: flex; flex-wrap: wrap; gap: var(--th-space-2); }

/* ==========================================================================
   Formulare & Suchleiste
   ========================================================================== */

.th-field-label { display:block; font-family: var(--th-font-body); font-weight: 700; font-size: 11px; letter-spacing:.04em; text-transform:uppercase; color: var(--th-color-brown); margin-bottom: 4px; }

.th-input, .th-select, .th-textarea {
  width: 100%;
  font-family: var(--th-font-body);
  font-size: 15px;
  color: var(--th-color-text);
  background: #fff;
  border: 1.5px solid var(--th-color-border);
  border-radius: var(--th-radius-input);
  padding: 12px 16px;
  transition: border-color .18s ease;
}
.th-input:focus, .th-select:focus, .th-textarea:focus { outline: none; border-color: var(--th-color-green-olive); }

.th-search-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--th-color-border);
  border-radius: 18px;
  box-shadow: var(--th-shadow-lg);
  padding: 14px;
}
.th-search-bar__field, .th-search-bar__select {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-family: var(--th-font-body);
  font-size: 15px;
  color: var(--th-color-text-muted);
  border-right: 1px solid var(--th-color-border-light);
}
.th-search-bar__select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355584E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 34px;
}
.th-search-bar__field:last-of-type, .th-search-bar__select:last-of-type { border-right: none; }
.th-search-bar__submit {
  border-radius: var(--th-radius-input);
  background: var(--th-color-orange);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-family: var(--th-font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(224,123,60,.3);
  display: inline-flex; align-items:center; gap:8px;
}
.th-search-bar__submit:hover { background: var(--th-color-orange-hover); }

@media (max-width: 767px) {
  .th-search-bar { flex-direction: column; border-radius: var(--th-radius-card-sm); gap: var(--th-space-2); }
  .th-search-bar__field, .th-search-bar__select { border-right: none; border-bottom: 1px solid var(--th-color-border-light); }
  .th-search-bar__field:last-of-type, .th-search-bar__select:last-of-type { border-bottom: none; }
}

/* ==========================================================================
   Bildplatzhalter-System
   ========================================================================== */

.th-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #DFE6D4 0 18px, #D7DFC9 18px 36px);
  color: var(--th-color-green-dark);
  position: relative;
  overflow: hidden;
}
.th-placeholder svg { width: 22%; max-width: 64px; opacity: 0.6; }
.th-placeholder--hero { aspect-ratio: 16 / 9; border-radius: var(--th-radius-card); }
.th-placeholder--card { aspect-ratio: 4 / 3; }
.th-placeholder--profile { aspect-ratio: 1 / 1; border-radius: 50%; }

/* ==========================================================================
   Icon-/Region-/Value-Cards (Elementor icon-box Restyling)
   ========================================================================== */

.th-icon-card .elementor-icon-box-wrapper {
  background: #fff;
  border: 1px solid var(--th-color-border-light);
  border-radius: var(--th-radius-card-sm);
  box-shadow: var(--th-shadow-sm);
  padding: 20px 12px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
}
.th-icon-card:hover .elementor-icon-box-wrapper { box-shadow: var(--th-shadow-card-hover); transform: translateY(-2px); }
.th-icon-card .elementor-icon-box-icon .elementor-icon { color: var(--th-color-green-dark); }
.th-icon-card .elementor-icon-box-title, .th-icon-card .elementor-icon-box-title a { font-family: var(--th-font-heading); font-weight: 700; color: var(--th-color-text); }
.th-icon-card .elementor-icon-box-description { font-family: var(--th-font-body); color: var(--th-color-text-muted); }

.th-region-card .elementor-icon-box-wrapper {
  background: #fff;
  border: 1px solid var(--th-color-border-btn);
  border-radius: var(--th-radius-pill);
  padding: 12px 20px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.th-region-card:hover .elementor-icon-box-wrapper { box-shadow: var(--th-shadow-sm); transform: translateY(-1px); }
.th-region-card .elementor-icon-box-icon .elementor-icon { color: var(--th-color-green-dark); }
.th-region-card .elementor-icon-box-title, .th-region-card .elementor-icon-box-title a { font-family: var(--th-font-body); font-weight: 600; font-size: 14px; color: var(--th-color-text); }
.th-region-card .elementor-icon-box-description { display:none; }

.th-value-card .elementor-icon-box-wrapper { background: #fff; border:1px solid var(--th-color-border-light); border-radius: var(--th-radius-card); box-shadow: var(--th-shadow-sm); padding: 36px 26px; text-align: center; height: 100%; }
.th-value-card .elementor-icon-box-icon { margin-bottom: 14px; }
.th-value-card .elementor-icon-box-icon .elementor-icon { color:#fff; background: var(--th-color-green-dark); width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:19px; }
.th-value-card .elementor-icon-box-title, .th-value-card .elementor-icon-box-title a { font-family: var(--th-font-heading); font-weight:700; font-size:19px; letter-spacing:-.01em; color: var(--th-color-text); }
.th-value-card .elementor-icon-box-description { font-family: var(--th-font-body); color: var(--th-color-text-muted); }

/* ==========================================================================
   Listing-Grid, Section-Hilfsklassen, Kartenbox
   ========================================================================== */

.th-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--th-space-5); }
@media (max-width: 991px) { .th-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .th-listing-grid { grid-template-columns: 1fr; } }

.th-section-lead { font-family: var(--th-font-body); font-size: 16px; color: var(--th-color-text-muted); max-width: 640px; }
.th-empty-state { font-family: var(--th-font-body); color: var(--th-color-text-muted); padding: var(--th-space-5); text-align: center; background: var(--th-color-sand); border-radius: var(--th-radius-card-sm); }

.th-map-box {
  position: sticky;
  top: 20px;
  border-radius: var(--th-radius-card);
  overflow: hidden;
  border: 1px solid var(--th-color-border);
  background: repeating-linear-gradient(135deg, #DFE6D4 0 18px, #D7DFC9 18px 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: var(--th-color-green-dark);
  text-align: center;
  padding: 24px;
}
.th-map-box__label { font-family: var(--th-font-body); font-size: 12px; font-weight: 600; color: var(--th-color-green-darker); background: rgba(250,246,238,.9); padding: 6px 14px; border-radius: 100px; border: 1px solid var(--th-color-sand-deep); margin-top: 12px; display:inline-block; }

.th-fact-box { background: var(--th-color-bg); border: 1px solid var(--th-color-border-light); border-radius: var(--th-radius-card-sm); padding: 16px 18px; }
.th-fact-box__label { font-size: 12px; color: var(--th-color-text-faint); margin-bottom: 4px; }
.th-fact-box__value { font-family: var(--th-font-heading); font-size: 20px; font-weight: 700; color: var(--th-color-text); }

.th-trust-box { background: var(--th-color-green-tint); border: 1px solid #D6E0BE; border-radius: var(--th-radius-card); padding: 22px; }
.th-trust-box__title { font-size: 14px; font-weight: 700; color: var(--th-color-green-dark); margin-bottom: 10px; }
.th-trust-box__body { font-size: 13.5px; color: #3c4a3a; line-height: 1.8; }
/* ==========================================================================
   Listing-Detailseite (Referenz gd_kaufen) – Galerie, Facts, Sidebar
   ========================================================================== */

.th-detail-kaufen { display: flex; flex-direction: column; gap: var(--th-space-7); }

.th-gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--th-space-3); }
.th-gallery-main { border-radius: var(--th-radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.th-gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--th-space-3); }
.th-gallery-thumb { position: relative; border-radius: var(--th-radius-card-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.th-gallery-more-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(35,37,32,.55); color: #fff; font-family: var(--th-font-heading); font-weight: 700; font-size: 16px;
}
@media (max-width: 767px) { .th-gallery-grid { grid-template-columns: 1fr; } .th-gallery-thumbs { grid-template-columns: repeat(3,1fr); } }

.th-badge-row { display: flex; gap: var(--th-space-2); margin-bottom: var(--th-space-3); flex-wrap: wrap; }

.th-fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--th-space-3); margin: var(--th-space-5) 0; }
@media (max-width: 767px) { .th-fact-grid { grid-template-columns: repeat(2, 1fr); } }

.th-detail-body { display: grid; grid-template-columns: 1fr 360px; gap: var(--th-space-7); align-items: start; }
@media (max-width: 991px) { .th-detail-body { grid-template-columns: 1fr; } }

.th-detail-main { display: flex; flex-direction: column; gap: var(--th-space-7); min-width: 0; }
.th-detail-section h2, .th-detail-section .th-h3 { margin-bottom: var(--th-space-3); }

.th-amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--th-space-3); }
@media (max-width: 600px) { .th-amenity-grid { grid-template-columns: 1fr; } }

.th-detail-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: var(--th-space-4); }

.th-price-box {
  background: #fff; border: 1px solid var(--th-color-border-light); border-radius: var(--th-radius-card);
  box-shadow: var(--th-shadow-card); padding: var(--th-space-5);
}
.th-price-box .th-price { display: block; margin-bottom: var(--th-space-4); }
.th-price-box .th-btn-row { display: flex; flex-direction: column; gap: var(--th-space-2); }
.th-price-box .th-btn { width: 100%; }

.th-anbieter-box {
  background: var(--th-color-sand); border: 1px solid var(--th-color-border); border-radius: var(--th-radius-card);
  padding: var(--th-space-4) var(--th-space-5);
}
.th-anbieter-box__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--th-color-brown); margin-bottom: 6px; }
.th-anbieter-box__name { font-family: var(--th-font-heading); font-weight: 700; font-size: 17px; color: var(--th-color-text); margin-bottom: 2px; }
.th-anbieter-box__meta { font-size: 13px; color: var(--th-color-text-muted); }
.th-anbieter-box__link { display: inline-block; margin-top: var(--th-space-3); font-size: 13.5px; font-weight: 600; color: var(--th-color-green-dark); text-decoration: none; }
.th-anbieter-box__link:hover { text-decoration: underline; }

.th-listing-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .th-listing-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .th-listing-grid--4 { grid-template-columns: 1fr; } }
/* ==========================================================================
   Anbieterprofil (Referenz gd_anbieter) – Cover, Avatar-Overlap, Trust-Stats
   ========================================================================== */

.th-profile-cover { border-radius: var(--th-radius-card); overflow: hidden; aspect-ratio: 21 / 6; }
@media (max-width: 767px) { .th-profile-cover { aspect-ratio: 16 / 9; } }

.th-profile-head { display: flex; align-items: flex-end; gap: var(--th-space-4); margin-top: -52px; padding: 0 var(--th-space-5); position: relative; z-index: 2; }
@media (max-width: 767px) { .th-profile-head { flex-direction: column; align-items: center; text-align: center; margin-top: -40px; } }

.th-profile-avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 4px solid var(--th-color-bg); box-shadow: var(--th-shadow-card); flex-shrink: 0; background: var(--th-color-card-bg); }
.th-profile-avatar .th-placeholder { border-radius: 50%; }

.th-profile-head-info { padding-bottom: 10px; }
.th-profile-head-info .th-h1 { margin-bottom: 4px; }
.th-profile-meta { display: flex; align-items: center; gap: var(--th-space-2); flex-wrap: wrap; font-size: 14px; color: var(--th-color-brown); }

.th-trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--th-space-3); }
@media (max-width: 767px) { .th-trust-stats { grid-template-columns: repeat(2, 1fr); } }

.th-review-item { border-bottom: 1px solid var(--th-color-border-light); padding: var(--th-space-4) 0; }
.th-review-item:last-child { border-bottom: none; }

.th-contact-box { background: #fff; border: 1px solid var(--th-color-border-light); border-radius: var(--th-radius-card); box-shadow: var(--th-shadow-card); padding: var(--th-space-5); display: flex; flex-direction: column; gap: var(--th-space-2); }