/**
 * Ansprechpartner-Karte: Reset der Produktlisten-Styles + Layout.
 */

/* -------------------------------------------------------------------------
 * Reset: li.mcs-wc-category-contact (keine WooCommerce-Produktkarte)
 * ------------------------------------------------------------------------- */
body.woocommerce ul.products li.mcs-wc-category-contact,
body.woocommerce-page ul.products li.mcs-wc-category-contact,
body.woocommerce-js ul.products li.mcs-wc-category-contact,
.woocommerce ul.products li.mcs-wc-category-contact,
.woocommerce-page ul.products li.mcs-wc-category-contact {
	/* Typografie & Box */
	all: unset;
	display: block !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none;
	list-style: none !important;

	/* Position / Float / Flex im Raster */
	position: static !important;
	float: none !important;
	clear: both !important;
	flex: 0 0 100% !important;
	align-self: stretch !important;
	order: 0;
	vertical-align: baseline;

	/* Effekte */
	transform: none !important;
	transition: none !important;
	animation: none !important;
	filter: none !important;
	opacity: 1 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	z-index: auto !important;

	/* Text */
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal;
	word-spacing: normal;
	color: inherit;
	font: inherit;
	line-height: inherit;

	/* Sonstiges Theme/Woo */
	cursor: default;
	pointer-events: auto;
	-webkit-backface-visibility: visible;
	backface-visibility: visible;
}

body.woocommerce ul.products li.mcs-wc-category-contact::before,
body.woocommerce ul.products li.mcs-wc-category-contact::after,
body.woocommerce-page ul.products li.mcs-wc-category-contact::before,
body.woocommerce-page ul.products li.mcs-wc-category-contact::after,
body.woocommerce-js ul.products li.mcs-wc-category-contact::before,
body.woocommerce-js ul.products li.mcs-wc-category-contact::after,
.woocommerce ul.products li.mcs-wc-category-contact::before,
.woocommerce ul.products li.mcs-wc-category-contact::after,
.woocommerce-page ul.products li.mcs-wc-category-contact::before,
.woocommerce-page ul.products li.mcs-wc-category-contact::after {
	content: none !important;
	display: none !important;
}

body.woocommerce ul.products li.mcs-wc-category-contact.first,
body.woocommerce ul.products li.mcs-wc-category-contact.last,
body.woocommerce-page ul.products li.mcs-wc-category-contact.first,
body.woocommerce-page ul.products li.mcs-wc-category-contact.last,
body.woocommerce-js ul.products li.mcs-wc-category-contact.first,
body.woocommerce-js ul.products li.mcs-wc-category-contact.last,
.woocommerce ul.products li.mcs-wc-category-contact.first,
.woocommerce ul.products li.mcs-wc-category-contact.last,
.woocommerce-page ul.products li.mcs-wc-category-contact.first,
.woocommerce-page ul.products li.mcs-wc-category-contact.last {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	clear: both !important;
	float: none !important;
	margin: 0 !important;
}

/* Innere Elemente: Woo-Produktlink-Overlays neutralisieren */
body.woocommerce ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::before,
body.woocommerce ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::after,
body.woocommerce-page ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::before,
body.woocommerce-page ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::after,
body.woocommerce-js ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::before,
body.woocommerce-js ul.products li.mcs-wc-category-contact .woocommerce-loop-product__link::after {
	content: none !important;
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Layout (nach Reset neu aufbauen)
 * ------------------------------------------------------------------------- */
body.woocommerce ul.products li.mcs-wc-category-contact {
	--mcs-wcc-media-width: min(170px, 32vw);
}

body.woocommerce ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__layout,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__layout,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	text-align: left;
}

/* Mobile ( img,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__media a  img,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__media a  img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	float: none !important;
	object-fit: contain;
	object-position: top left;
}

/* Button unter dem Bild, gleiche Breite */
body.woocommerce ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__actions,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__actions,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__actions {
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce ul.products li.mcs-wc-category-contact a.mcs-wc-category-contact__button,
body.woocommerce-page ul.products li.mcs-wc-category-contact a.mcs-wc-category-contact__button,
body.woocommerce-js ul.products li.mcs-wc-category-contact a.mcs-wc-category-contact__button,
body.woocommerce ul.products li.mcs-wc-category-contact a.product_type_simple.button,
body.woocommerce-page ul.products li.mcs-wc-category-contact a.product_type_simple.button {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	float: none !important;
	margin: 0 !important;
	text-align: center;
}

/* Text rechts, linksbündig */
body.woocommerce ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__content-link::after,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__content-link::after,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__content-link::after {
	display: none !important;
	content: none !important;
}

body.woocommerce ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__name,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__name,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__name {
	display: block;
	margin: 0 0 0.35em;
	padding: 0;
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
	text-align: left;
	width: 100%;
}

body.woocommerce ul.products li.mcs-wc-category-contact .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.mcs-wc-category-contact .woocommerce-loop-product__title,
body.woocommerce-js ul.products li.mcs-wc-category-contact .woocommerce-loop-product__title {
	display: block;
	margin: 0 0 0.5em;
	padding: 0;
	text-align: left;
	width: 100%;
}

body.woocommerce ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__description,
body.woocommerce-page ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__description,
body.woocommerce-js ul.products li.mcs-wc-category-contact .mcs-wc-category-contact__description,
body.woocommerce ul.products li.mcs-wc-category-contact .short-description,
body.woocommerce-page ul.products li.mcs-wc-category-contact .short-description,
body.woocommerce-js ul.products li.mcs-wc-category-contact .short-description {
	display: block;
	margin: 0 0 0.5em;
	text-align: left;
	width: 100%;
}

body.woocommerce ul.products li.mcs-wc-category-contact .price,
body.woocommerce-page ul.products li.mcs-wc-category-contact .price,
body.woocommerce-js ul.products li.mcs-wc-category-contact .price {
	display: block;
	margin: 0;
	text-align: left;
	width: 100%;
}

/* Ohne Bild: Text über volle Breite */
body.woocommerce ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__layout,
body.woocommerce-page ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__layout,
body.woocommerce-js ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__layout {
	flex-direction: column;
}

body.woocommerce ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__aside,
body.woocommerce-page ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__aside,
body.woocommerce-js ul.products li.mcs-wc-category-contact:not(.mcs-wc-category-contact--has-media) .mcs-wc-category-contact__aside {
	width: 100%;
	max-width: 100%;
}

/* Produktdetail: Tab „Ansprechpartner“ */
.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single {
	--mcs-wcc-media-width: min(170px, 32vw);
	text-align: left;
}

.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
}

@media (max-width: 767px) {
	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__aside,
	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__content-link {
		display: contents;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__name {
		order: 1;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__title,
	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .woocommerce-loop-product__title {
		order: 2;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__media {
		order: 3;
		width: 100%;
		max-width: 220px;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__description {
		order: 4;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .price {
		order: 5;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__actions {
		order: 6;
		width: 100%;
		max-width: 220px;
	}
}

@media (min-width: 768px) {
	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single {
		--mcs-wcc-media-width: 170px;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 1.25rem;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__aside {
		flex: 0 0 var(--mcs-wcc-media-width);
		width: var(--mcs-wcc-media-width);
		max-width: var(--mcs-wcc-media-width);
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__content-link {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		text-decoration: none;
		color: inherit;
	}
}

.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__media img,
.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__media a  img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single a.mcs-wc-category-contact__button {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box;
	float: none !important;
	margin: 0 !important;
	text-align: center;
}

.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__name {
	margin: 0 0 0.35em;
	font-weight: 700;
}

.woocommerce-Tabs-panel--mcs_category_contact .mcs-wc-category-contact--single .mcs-wc-category-contact__title {
	margin: 0 0 0.5em;
}


/*test-Ansprechpartner*/
:root{
  --ink:     oklch(0.20 0.025 245);
  --ink-2:   oklch(0.34 0.035 245);
  --ink-3:   oklch(0.52 0.025 245);
  --paper:   oklch(0.985 0.004 90);
  --paper-2: oklch(0.965 0.006 90);
  --line:    oklch(0.90 0.008 245);
  --marine:  oklch(0.40 0.115 245);
  --marine-d:oklch(0.28 0.10 245);
  --signal:  oklch(0.74 0.155 60);
  --moss:    oklch(0.55 0.09 145);
}

/* Container */
.ap-medium{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 25px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
}
.ap-medium::before{
  content:"";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--signal);
}

/* Photo / Avatar */
.ap-medium .ap-photo {
  width: 84px; height: 84px; border-radius: 99px;
  background:
    radial-gradient(70% 70% at 50% 30%, oklch(0.80 0.04 245 / 0.6), transparent 60%),
    linear-gradient(165deg, oklch(0.86 0.03 245) 0%, oklch(0.55 0.10 245) 100%);
  display: grid; place-items: center;
  color: var(--paper); font-weight: 500; font-size: 28px; letter-spacing: -0.03em;
  position: relative; flex-shrink: 0;
  /* overflow: hidden entfernt */
}

.ap-medium .ap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 99px; /* Bild selbst clippen */
}

.ap-medium .ap-photo::after {
  content: "";
  position: absolute; bottom: 3px; right: 3px;
  width: 16px; height: 16px; border-radius: 99px;
  background: var(--moss);
  border: 3px solid var(--paper);
  z-index: 1; /* liegt über dem Bild */
}

/* Info-Spalte */
.ap-medium .ap-info{
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.ap-medium .ap-topic{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 2px;
}
.ap-medium .ap-topic b{
  color: var(--marine);
  font-family: "Geist", sans-serif; font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.02em; text-transform: none;
  padding: 2px 9px;
  background: oklch(0.96 0.02 245);
  border: 1px solid oklch(0.88 0.05 245);
  border-radius: 99px;
}
.ap-medium .ap-name{
  font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
}
.ap-medium .ap-role{
  font-size: 13px; color: var(--ink-3); margin-top: 1px;
}
.ap-medium .ap-desc{
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  margin: 6px 0 0; max-width: 56ch;
}

/* Aktionen */
.ap-medium .ap-actions{
  display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 160px;
}
.ap-medium .ap-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 14px; border-radius: 99px;
  font-size: 12.5px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  border: 1px solid transparent;
  transition: all .15s ease;
  text-decoration: none; color: inherit;
  white-space: nowrap;
}
.ap-medium .ap-btn.primary{
  background: var(--ink); color: var(--paper);
}
.ap-medium .ap-btn.primary:hover{ background: var(--marine-d); }
.ap-medium .ap-btn.secondary{
  background: var(--paper-2); color: var(--ink); border-color: var(--line);
}
.ap-medium .ap-btn.secondary:hover{
  background: var(--paper); border-color: var(--ink-3);
}
.ap-medium .ap-btn svg{ display: block; }

/* Responsive */
@media (max-width: 720px){
  .ap-medium{
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }
  .ap-medium .ap-photo{ width: 64px; height: 64px; font-size: 22px; }
  .ap-medium .ap-actions{
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .ap-medium .ap-actions .ap-btn{ flex: 1; }
}
/**
 * Ansprechpartner-Produktdetail
 *
    :root {
      --ink:     oklch(0.20 0.025 245);
      --ink-3:   oklch(0.52 0.025 245);
      --paper:   oklch(0.985 0.004 90);
      --paper-2: oklch(0.965 0.006 90);
      --line:    oklch(0.90 0.008 245);
      --signal:  oklch(0.74 0.155 60);
      --moss:    oklch(0.55 0.09 145);
    }

    body {
      background: oklch(0.93 0.01 245);
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0;
      font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
    }

    /* ── Karte ── */
    .ap-card {
      display: flex;
      align-items: center;
      gap: 18px;
      max-width: 390px;
      width: 100%;
      background: var(--paper);
      border: 1px solid var(--line);
      border-left: 3px solid var(--signal);
      border-radius: 10px;
      padding: 16px 18px;
      margin-bottom: 30px;
      color: var(--ink);
    }

    /* ── Bild-Bereich ── */
    .ap-image-wrap {
      position: relative;
      flex-shrink: 0;
    }

    .ap-image-wrap img {
  width: 80px;
  height: 80px;
  border-radius: 99px;
  object-fit: cover;
  display: block;
}

    /* Grüner Punkt – überlappt den Kreisrand zur Hälfte */
    .ap-dot {
      position: absolute;
      bottom: 5px;
      right: 5px;
      width: 14px;
      height: 14px;
      border-radius: 99px;
      background: var(--moss);
      border: 2.5px solid var(--paper);
    }

    /* ── Inhalts-Bereich ── */
    .ap-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
      flex: 1;
    }

    .ap-topic {
      font-family: "Geist Mono", ui-monospace, monospace;
      font-size: 9.5px;
      letter-spacing: 0.08em;
      color: var(--ink-3);
      text-transform: uppercase;
      line-height: 1.3;
    }

    .ap-name {
      font-size: 15px;
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.2;
      margin-top: 1px;
    }

    .ap-role {
      font-size: 12px;
      color: var(--ink-3);
      line-height: 1.3;
    }

    /* ── Buttons ── */
    .ap-actions {
      display: flex;
      gap: 6px;
      margin-top: 10px;
    }

    .ap-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 99px;
      background: var(--paper-2);
      border: 1px solid var(--line);
      color: var(--ink);
      font-family: inherit;
      font-size: 12px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      transition: all .15s ease;
      white-space: nowrap;
    }

    .ap-btn:hover {
      background: var(--ink);
      color: var(--paper);
      border-color: var(--ink);
    }