
.edr-archive__bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Layout / Filters */
@media (max-width: 992px) {
  .edr-layout {
    grid-template-columns: 1fr;
  }

  .edr-filters {
    display: block;
  }

  [id="edr-filters"][data-open="0"] {
    display: none;
  }
}

.edr-filters {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
}

.edr-filter-group {
  margin-bottom: 16px;
}

.edr-filters__actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.edr-btn--ghost {
  display: inline-block;
  margin-top: 8px;
}

/* Grid */
.edr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .edr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .edr-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.edr-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.edr-card__img {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f7f7f7;
}

.edr-card__img img {
  width: 100%;
  height: 409px;
  object-fit: cover;
}

.edr-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.edr-card__body {
  padding: 14px;
}

.edr-card__title {
  margin: 0 0 6px;
  font-size: 29px;
  text-decoration: none !important;
}

.edr-card__title a {
  text-decoration: none !important;
}

.edr-card__meta {
  display: flex;
  gap: 5px;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 6px;
}

.edr-dotlist {
  position: relative;
}

.edr-tag {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 2px 4px 0 0;
}

.edr-card__price,
.edr-card__features {
  font-weight: 600;
  margin-top: 6px;
  font-size: 14px;
}

.edr-card__features {
  margin-top: -10px;
  font-weight: 100;
}

.edt-card-button-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

/* Pagination */
.edr-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 24px 0;
}

.edr-pagination button {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
}

.edr-pagination .is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* --- Top-Bar kompakter --- */
.edr-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.edr-fb__item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.edr-fb__item input[type="search"],
.edr-fb__item input[type="number"],
.edr-fb__item select {
  min-width: 180px;
  height: 40px;
}

.edr-fb__geo {
  position: relative;
  min-width: 240px;
}

#ep_geo_suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
   
    border: 0px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

.ep-geo-suggest-item {
  padding: 18px;
  background: #f9f9f9;
  border-radius: 5px;
  cursor: pointer;
}

.ep-geo-suggest-item:nth-child(even) {
  background: #ffffff;
}

.ep-geo-suggest-item:hover {

    background: #b9aaad;
    color: #000000;
}

/* ===== Mosaik: links groß (Hero), rechts Raster ===== */
.ep-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "hero slot-b slot-c"
    "hero slot-d slot-e"
    "hero slot-f slot-g";
  gap: 16px;
  margin: 24px 0;
  height: clamp(520px, 70vh, 860px);
}

.ep-mosaic__item {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.ep-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid-Areas */
.ep-mosaic__item.is-hero {
  grid-area: hero;
}

.ep-mosaic__item.slot-b {
  grid-area: slot-b;
}

.ep-mosaic__item.slot-c {
  grid-area: slot-c;
}

.ep-mosaic__item.slot-d {
  grid-area: slot-d;
}

.ep-mosaic__item.slot-e {
  grid-area: slot-e;
}

.ep-mosaic__item.slot-f {
  grid-area: slot-f;
}

/* Mobile Mosaik */
@media (max-width: 900px) {
  .ep-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "hero hero"
      "slot-b slot-c"
      "slot-d slot-e"
      "slot-f .";
    height: auto;
    gap: 12px;
  }

  .ep-mosaic__item.is-hero {
    aspect-ratio: 4 / 3;
  }

  .ep-mosaic__item.slot-b,
  .ep-mosaic__item.slot-c,
  .ep-mosaic__item.slot-d,
  .ep-mosaic__item.slot-e,
  .ep-mosaic__item.slot-f {
    aspect-ratio: 1 / 1;
  }
}

/* Sedcard */
.ep-sedcard {
  margin: 0 auto;
  padding: 0 16px;
}

.ep-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 24px 0 6px;
}

.ep-sub {
  color: #6b7280;
  margin-bottom: 16px;
}

.ep-wrap {
  display: flex;
  flex-direction: column;
  margin: 8px 0 40px;
}

@media (max-width: 900px) {
  .ep-wrap {
    flex-direction: column;
  }
}

.ep-prose p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.ep-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}

.ep-box h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.ep-dl {
  display: grid;
  gap: 8px;
}

.ep-dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.ep-dl dt {
  color: #6b7280;
}

.ep-dl dd {
  margin: 0;
  font-weight: 600;
}

.ep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ep-tag {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
}

.ep-table {
  width: 100%;
  border-collapse: collapse;
}

.ep-table td {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ep-table td:first-child {
  color: #6b7280;
}

.ep-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* Buttons */
.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
}

.ep-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.ep-btn--block {
  width: 100%;
}

/* Map / Filterbar */
.model-filter,
.edr-map-controls {
  margin-top: 25px;
}

.edr-map-controls {
  margin-bottom: 25px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}

/* Model Filterbar */
.model-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  background: #f5f5f5;
  padding: 0 23px 24px;
}

#edr-map-wrap {
  background: #f5f5f5;
  padding: 1px 23px 24px;
  margin: 20px 0;
}

@media (max-width: 992px) {
  .model-filter {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 645px) {
  .model-filter {
    grid-template-columns: 1fr;
  }
}

#edr-filter-form input,
#edr-filter-form select,
#edr-map-wrap input,
#edr-map-wrap select {
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  background: #fff;
  border-radius: 0;
  font-size: 15px;
}

.filter-headline {
  font-size: 16px;
  width: 100%;
  display: block;
}

.filter-subline {
  font-size: 14px;
  margin: 10px 0;
}

.is-active {
  color: var(--ast-global-color-5) !important;
  background-color: var(--ast-global-color-0) !important;
  border-color: var(--ast-global-color-0) !important;
}

#edr-filter-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.filterbar {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

/* Buttons kompakt */
.edr-fb__actions .edr-btn {
  height: 40px;
  padding: 0 14px;
}

.edr-btn {
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  background: #fff;
  font-size: 12px;
}

.edr-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
  font-size: 12px;
}

.filterbar-left button,
.filterbar-left div {
  margin-right: 4px;
}

.filterbar-right,
.filterbar-left {
  display: flex;
  flex-direction: row;
}

.edr-fb__item-button {
  margin: 20px 0;
}

.filterbar-footer {
  justify-content: flex-end;
}

/* Chips */
.edr-chip {
  display: inline-flex;
  align-items: center;
  border-radius: inherit;
  padding: 6px 0;
  gap: 6px;
  margin-right: 7px;
}

@media (max-width: 640px) {
  .filterbar {
    flex-direction: column;
  }

  .edr-fb__item-button button {
    width: 100%;
  }

  .edr-fb__item {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    gap: 8px;
    flex-direction: row;
  }

  .edr-fb__item-button {
    display: flex;
    align-items: stretch;
    justify-content: space-evenly;
    width: 100%;
    gap: 8px;
  }
}

/* Range Slider */
.edr-fb__item_Slider {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.edr-slider-container {
  margin: 10px 0 10px;
}

.edr-range-slider {
  margin: 20px 10px 10px;
}

.edr-slider-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-top: 8px;
}

.noUi-target {
  height: 8px;
  border: none;
  background: #e5e7eb;
  box-shadow: none;
}

.noUi-connect {
  background: var(--ast-global-color-0, #111) !important;
}

.noUi-horizontal .noUi-handle {
  width: 15px !important;
  height: 15px !important;
  top: -6px !important;
  right: -10px !important;
  border-radius: 100%;
  border: 3px solid var(--ast-global-color-0, #111) !important;
  background: var(--ast-global-color-0, #111) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer;
}

.edr-range {
  width: 100%;
}

.noUi-horizontal {
  height: 5px !important;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none !important;
}

.price-filter {
  display: flex;
  gap: 6px;
  flex-direction: row;
}

/* Wishlist Icon */
.product-group-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 6;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

a.ts-add-to-wishlist {
  background: #fff;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  text-decoration: none !important;
  padding: 9px 8px;
  color: #ccc;
}

a.ts-add-to-wishlist:hover {
  color: var(--ast-global-color-0);
}

a.ts-add-to-wishlist .dashicons.dashicons-heart {
  font-size: 25px;
}

.ts-add-to-wishlist {
  cursor: pointer;
  transition: all 0.2s;
}

.ts-add-to-wishlist .dashicons {
  color: #ccc;
  transition: color 0.2s;
}

.ts-add-to-wishlist:hover .dashicons,
.ts-add-to-wishlist.is-favorite .dashicons {
  color: #aa0000;
}

/* Accordion / Content */
#main .accordion details {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
}

.ep-content {
  display: flex;
  gap: 60px;
}

.ep-main {
  flex: 1.5;
}

#main .accordion {
  border-top: 1px solid #e5e5e5;
  text-align: right;
  flex: 1;
}

#main .ep-wrap .accordion .ep-btn {
  margin-top: 25px;
}

#main .accordion summary {
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main .accordion summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}

#main .accordion .accordion-content {
  font-size: 15px;
  margin-top: 20px;
  text-align: left;
}

.sedcard-details-accordion {
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .ep-content {
    display: flex;
    gap: 60px;
    flex-direction: column;
  }
}

@media (max-width: 456px) {
  #main .accordion .ep-btn {
    width: 100%;
  }
}

/* Time Input (vereinigt) */
input[type="time"] {
  color: #666;
  padding: 0.75em;
  height: 40px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--ast-border-color);
  border-radius: 2px;
  background: var(--ast-comment-inputs-background);
  box-shadow: none;
  box-sizing: border-box;
  transition: all 0.2s linear;
}

/* Favorites Wrapper */
.ep-favorites-wrapper {
  position: relative;
}

.ep-remove-favorite {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  background: #000000;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
  padding: 25px;
}

.ep-remove-favorite:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.edr-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f9f9f9;
  border-radius: 8px;
}

/* =========================================
   1. Basis: Standard-Fokus
   ========================================= */

/* Standardmäßig kein sichtbarer Fokus – alles über :focus-visible */
:focus {
  outline: none;
}

/* =========================================
   2. Deutlich sichtbarer Tastatur-Fokus
   ========================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(0, 150, 255, 0.55);
}

/* Bei Maus-Bedienung: keinen Rahmen anzeigen */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
[tabindex]:not([tabindex="-1"]):focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* =========================================
   3. Speziell für Textfelder & Select
   ========================================= */

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
input[type="number"]:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: #0096ff;
  background-color: #f5fbff;
}

/* =========================================
   4. Checkboxen & Radios extra hervorheben
   ========================================= */

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

input[type="checkbox"]:focus-visible + label,
input[type="radio"]:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.45);
  border-radius: 4px;
}

/* =========================================
   5. Buttons etwas „aktiv“ wirken lassen
   ========================================= */

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  transform: translateY(-1px);
}

/* =========================================
   6. Skip-Link
   ========================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
  z-index: 9999;
}

.skip-link:focus-visible {
  left: 0.5rem;
  top: 0.5rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* =========================================
   7. Number Inputs – Browser-Styles neutralisieren
   ========================================= */

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Deine speziellen Felder – nur per Tastatur sichtbar */
#edr-radius:focus-visible,
#ep_city_input:focus-visible,
#edr-q:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
  border-color: #0096ff;
  background-color: #f5fbff;
  box-shadow: 0 0 0 4px rgba(0, 150, 255, 0.55);
}

.ep-favorites-count {
    background: #000;
    border-radius: 50px;
    width: 15px;
    height: 15px;
    display: block;
    font-size: 12px;
    color: #fff;
    padding: 0px 0px;
    position: absolute;
    top: -6px;
    right: -6px;
}

.favoriten-count{
      position: relative;
      font-size: 30px!important;
      color: #aa0000;
          width: 30px!important;
    height: 30px!important;
}



/* Basis für Form Controls */

/* Floating Labels */

.form-check-inline {
    display: inline-block;
    margin-right: 1rem;
}

/* --- FORM CONTROL (Bootstrap 5 minimal) --- */
.form-control {
  display: block!important;
  width: 100%!important;
  padding: 0.375rem 0.75rem!important;
  font-weight: 400!important;
  line-height: 1.5!important;
  color: #212529!important;
  background-color: #fff!important;
  background-clip: padding-box!important;
  border-radius: .375rem!important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out!important;
  height: calc(3.5rem + 2px)!important; /* wichtig für Floating Labels */
}

.form-control:focus {
  color: #212529!important;
  background-color: #fff!important;
  border-color: #86b7fe!important;
  outline: 0!important;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)!important;
}

.form-control::placeholder {
  color: #6c757d!important;
  opacity: 1!important;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef!important;
  opacity: 1!important;
}

/* Höhe für Textarea */
textarea.form-control {
  min-height: calc(3.5rem + 2px)!important;
}

/* --- FLOATING LABELS --- */
.form-floating {
  position: relative!important;
}

.form-floating > .form-control {
  height: calc(3.5rem + 2px)!important;
  padding: 1rem 0.75rem!important;
}

.form-floating > label{
  position: absolute!important;
  top: 3px!important;
  left: 0!important;
  height: 100%!important;
  padding: 1rem 0.75rem!important;
  pointer-events: none!important;
  border: 1px solid transparent!important;
  transform-origin: 0 0!important;
  transition: all .1s ease-in-out!important;
  color: #6c757d!important;
}

.ep-tagify-wrap  tags span{
  font-size: 14px;
  color: #ffffff!important;
  padding-left: 0px;
  margin-left: 0px !important;
}

.tagify__tag {
    margin-inline: 0px 5px;
    margin-block: 5px;
}
.tagify__tag>div::before {
    box-shadow: 0 0 0 var(--tag-inset-shadow-size) #88122e inset;
}

.form-floating > .form-control::placeholder {
  color: transparent !important;
}

/* Floating Effekt */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: translate(.15rem, -.75rem) scale(.85)!important;
  opacity: .65!important;
}

/* Für Textarea Floating */
.form-floating > textarea.form-control {
  height: auto;
  min-height: calc(3.5rem + 2px)!important;
}

.form-floating > .form-select.form-control{
padding-left: 9px !important;
}


.ep-tagify-wrap .tagify {
    display: flex !important;
    height: auto !important;
    border: 1px solid var(--ast-border-color);
}

.ep-tagify-wrap .tagify__input {
    max-width: 100%!important;
}

.tagify__input {
    margin: 7px!important;
}

.tagify {
      --tag-bg: #2e1a1a;
}

.ep-tagify-wrap .tagify__tag {
    border-radius: 5px!important;
}

.ep-tagify-wrap small{
  
}

.invalid-feedback{
color: rgb(220, 53, 69);
    font-size: 12px;
    margin-top: 4px;
}


.form-floating > .form-control{
    height: calc(2.8rem + 2px) !important;
       padding: 12px 0.75rem !important;
}

.form-floating > label {
    top: -2px !important;
}

.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: translate(0.15rem, -0.6rem) scale(.85) !important;
}







/* =============================================
   EP Profile Card - Mobile First Responsive
   WCAG 2.2 compliant
   ============================================= */

:root {
  --ep-primary: #c75c3b;
  --ep-primary-dark: #a84a2d;
  --ep-text: #333333;
  --ep-text-light: #666666;
  --ep-bg: #f5f5f5;
  --ep-white: #ffffff;
  --ep-border: #dddddd;
  --ep-radius: 8px;
  --ep-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ep-text);
  background: var(--ep-bg);
}

/* =============================================
   Profile Container
   ============================================= */
.ep-profile {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

/* =============================================
   Sidebar (Links)
   ============================================= */
.ep-profile__sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ep-profile__avatar {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  margin-bottom: -80px;
}

.ep-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ep-white);
  box-shadow: var(--ep-shadow);
}

.ep-profile__intro {
  background: #a89591;
  color: var(--ep-white);
  padding: 100px 2rem 2rem;
  text-align: center;
  border-radius: 0;
  width: 100%;
}

.ep-profile__greeting {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.ep-profile__name {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ep-profile__tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* =============================================
   Social Icons
   ============================================= */
.ep-profile__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ep-profile__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ep-white);
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ep-profile__social a:hover,
.ep-profile__social a:focus {
  transform: scale(1.15);
  outline: none;
}

.ep-profile__social a:focus-visible {
  outline: 3px solid var(--ep-white);
  outline-offset: 2px;
}

/* Dark variant for details section */
.ep-profile__social--dark a {
  color: var(--ep-text);
  background: var(--ep-bg);
}

.ep-profile__social--dark a:hover,
.ep-profile__social--dark a:focus {
  background: var(--ep-primary);
  color: var(--ep-white);
}

.ep-profile__social--dark a:focus-visible {
  outline-color: var(--ep-primary);
}

/* =============================================
   Section Titles
   ============================================= */
.ep-profile__section-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ep-text);
}

/* =============================================
   Details Section (Mitte)
   ============================================= */
.ep-profile__details {
  background: var(--ep-white);
  padding: 2rem;
  border-radius: 0;

}

.ep-profile__dl {
  margin: 0;
}

.ep-profile__dl-row {
  margin-bottom: 1.25rem;
}

.ep-profile__dl-row:last-child {
  margin-bottom: 1.5rem;
}

.ep-profile__dl dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ep-text);
  margin-bottom: 0.25rem;
}

.ep-profile__dl dd {
  margin: 0;
  font-size: 1rem;
  color: var(--ep-text-light);
}

/* =============================================
   About Section (Rechts)
   ============================================= */
.ep-profile__about {
  background: var(--ep-white);
  padding: 2rem;
  border-radius: 0;
 
}

.ep-profile__about p {
  margin: 0 0 1.5rem;
  color: var(--ep-text-light);
}

.ep-profile__credit {
  font-size: 0.875rem;
  color: var(--ep-text-light);
  border-top: 1px solid var(--ep-border);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.ep-profile__credit a {
  color: var(--ep-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ep-profile__credit a:hover,
.ep-profile__credit a:focus {
  color: var(--ep-primary-dark);
}

/* =============================================
   CTA Button
   ============================================= */
.ep-profile__cta {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ep-primary);
  background: transparent;
  border: 2px solid var(--ep-primary);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ep-profile__cta:hover,
.ep-profile__cta:focus {
  background: var(--ep-primary);
  color: var(--ep-white);
  outline: none;
}

.ep-profile__cta:focus-visible {
  outline: 3px solid var(--ep-primary);
  outline-offset: 3px;
}

/* =============================================
   Responsive: Tablet (min 768px)
   ============================================= */
@media (min-width: 768px) {
  .ep-profile,.ep-editor__form {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }

  .ep-profile__sidebar {
    grid-row: span 2;
  }

  .ep-profile__avatar {
    width: 200px;
    height: 200px;
    margin-bottom: -100px;
  }

  .ep-profile__intro {
    padding-top: 120px;
  }
}

/* =============================================
   Responsive: Desktop (min 1024px)
   ============================================= */
@media (min-width: 1024px) {
  .ep-profile {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 0rem;
    margin-bottom: 20px;
  }

  .ep-profile__sidebar {
    grid-row: auto;
  }

  .ep-profile__avatar {
    width: 220px;
    height: 220px;
    margin-bottom: -110px;
  }

  .ep-profile__intro {
    padding: 130px 1.5rem 2rem;
    min-height: 480px;
  }

  .ep-profile__name {
    font-size: 2rem;
  }

  .ep-profile__section-title {
    font-size: 1.75rem;
  }
}

/* =============================================
   Accessibility: Reduced Motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .ep-profile__social a,
  .ep-profile__cta {
    transition: none;
  }
}

/* =============================================
   Accessibility: High Contrast Mode
   ============================================= */
@media (forced-colors: active) {
  .ep-profile__cta {
    border: 2px solid currentColor;
  }
  
  .ep-profile__avatar img {
    border: 2px solid currentColor;
  }
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
  .ep-profile {
    display: block;
    box-shadow: none;
  }

  .ep-profile__social {
    display: none;
  }

  .ep-profile__cta {
    display: none;
  }
}