/**
 * Global content styles for cleaned wellness/apotheken dump markup.
 * Enqueued on all front-end views so pasted page HTML styles itself.
 */

.ta-front-content,
.entry-content {
	max-width: var(--ta-container, 1440px);
	margin: 0 auto;
	padding: 0 16px 40px;
	box-sizing: border-box;
	color: #333;
	font: 15px/1.55 "Open Sans", Arial, Helvetica, sans-serif;
}

.ta-front-content {
	padding-top: 0;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.ta-front-content > #main-slider,
.ta-front-content > #main-content {
	width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Grid (Foundation-like)                                                     */
/* -------------------------------------------------------------------------- */

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
	max-width: var(--ta-container, 1440px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
	box-sizing: border-box;
}

.row .row {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: -12px;
	margin-right: -12px;
}

.columns {
	box-sizing: border-box;
	padding-left: 12px;
	padding-right: 12px;
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

@media (min-width: 640px) {
	.columns.small-1 { flex-basis: 8.333%; max-width: 8.333%; }
	.columns.small-2 { flex-basis: 16.666%; max-width: 16.666%; }
	.columns.small-3 { flex-basis: 25%; max-width: 25%; }
	.columns.small-4 { flex-basis: 33.333%; max-width: 33.333%; }
	.columns.small-5 { flex-basis: 41.666%; max-width: 41.666%; }
	.columns.small-6 { flex-basis: 50%; max-width: 50%; }
	.columns.small-7 { flex-basis: 58.333%; max-width: 58.333%; }
	.columns.small-8 { flex-basis: 66.666%; max-width: 66.666%; }
	.columns.small-9 { flex-basis: 75%; max-width: 75%; }
	.columns.small-10 { flex-basis: 83.333%; max-width: 83.333%; }
	.columns.small-11 { flex-basis: 91.666%; max-width: 91.666%; }
	.columns.small-12 { flex-basis: 100%; max-width: 100%; }
}

@media (min-width: 768px) {
	.columns.medium-3 { flex-basis: 25%; max-width: 25%; }
	.columns.medium-4 { flex-basis: 33.333%; max-width: 33.333%; }
	.columns.medium-5 { flex-basis: 41.666%; max-width: 41.666%; }
	.columns.medium-6 { flex-basis: 50%; max-width: 50%; }
	.columns.medium-7 { flex-basis: 58.333%; max-width: 58.333%; }
	.columns.medium-8 { flex-basis: 66.666%; max-width: 66.666%; }
	.columns.medium-9 { flex-basis: 75%; max-width: 75%; }
	.columns.medium-12 { flex-basis: 100%; max-width: 100%; }
}

@media (min-width: 1024px) {
	.columns.large-3 { flex-basis: 25%; max-width: 25%; }
	.columns.large-4 { flex-basis: 33.333%; max-width: 33.333%; }
	.columns.large-5 { flex-basis: 41.666%; max-width: 41.666%; }
	.columns.large-6 { flex-basis: 50%; max-width: 50%; }
	.columns.large-8 { flex-basis: 66.666%; max-width: 66.666%; }
	.columns.large-9 { flex-basis: 75%; max-width: 75%; }
	.columns.large-12 { flex-basis: 100%; max-width: 100%; }
}

.show-for-small-only { display: none !important; }
.hide-for-small-down { display: block; }
@media (max-width: 639px) {
	.show-for-small-only { display: block !important; }
	.hide-for-small-down { display: none !important; }
}

/* -------------------------------------------------------------------------- */
/* Utilities                                                                  */
/* -------------------------------------------------------------------------- */

.u-p { padding: 1rem; }
.u-pv--double { padding-top: 2rem; padding-bottom: 2rem; }
.u-pt--quart { padding-top: 0.5rem; }
.u-mt { margin-top: 1rem; }
.u-mv { margin-top: 1rem; margin-bottom: 1rem; }
.u-mb { margin-bottom: 1rem; }
.u-mb--double { margin-bottom: 2rem; }
.u-mt--double { margin-top: 2rem; }
.u-m0 { margin: 0; }
.u-p0 { padding: 0; }
.u-ph0 { padding-left: 0; padding-right: 0; }
.u-pl0 { padding-left: 0; }
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-display-block { display: block; }
.u-width--full { width: 100%; }
.u-position-relative { position: relative; }
.u-color-primary { color: var(--ta-red, #B31F24); }
.u-color-text { color: #333; }
.u-arrow-before::before { content: "> "; color: #999; }
.clearfix { clear: both; }

/* -------------------------------------------------------------------------- */
/* Typography / content                                                       */
/* -------------------------------------------------------------------------- */

.user-content h1,
.user-content h2,
.user-content h3,
.user-content h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--ta-red, #B31F24);
	line-height: 1.3;
	margin: 0 0 0.75em;
}

.user-content p,
.entry-content p {
	margin: 0 0 1em;
}

.ta-home-welcome {
	max-width: 920px;
	margin: 28px auto 32px;
	text-align: center;
	padding: 0 16px;
}

.ta-home-welcome__title {
	margin-bottom: 16px;
}

.ta-section-title {
	margin: 0 0 16px;
	padding: 0 12px;
	color: var(--ta-red, #B31F24);
}

/* -------------------------------------------------------------------------- */
/* Buttons / boxes / products / news                                          */
/* -------------------------------------------------------------------------- */

.button,
a.button {
	display: inline-block;
	padding: 10px 18px;
	background: var(--ta-red, #B31F24);
	color: #fff !important;
	text-decoration: none !important;
	border: 0;
	border-radius: 3px;
	font: 600 13px/1.2 Arial, Helvetica, sans-serif;
	cursor: pointer;
}

.button:hover,
a.button:hover {
	background: var(--ta-red-dark, #8E181C);
}

.button.small { padding: 8px 12px; font-size: 12px; }
.button.ternary,
a.button.ternary {
	background: #5a5a5a;
}
.button.ternary:hover,
a.button.ternary:hover {
	background: #444;
}

.box {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	margin-bottom: 16px;
	overflow: hidden;
}

.box__body { padding: 12px; }

.alert--emergencies,
#emergency-box.alert--emergencies {
	background: var(--ta-red, #B72033);
	border-color: var(--ta-red, #B72033);
	border-radius: 0;
}

#emergency-box .box__body {
	padding: 0;
	margin: 0;
}

.ta-emergency-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	color: #fff !important;
	font: 600 16px/1.2 "Open Sans", Arial, Helvetica, sans-serif;
	text-decoration: none !important;
}

.ta-emergency-link img {
	display: block;
	width: 40px;
	height: 41px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.ta-emergency-link:hover {
	color: #fff !important;
	opacity: 0.92;
}

.ta-advice-clip header h3 {
	margin: 0 0 12px;
	color: var(--ta-red, #B31F24);
	font: 300 22px/1.3 "Open Sans", Arial, Helvetica, sans-serif;
}

.ta-advice-clip img {
	display: block;
	width: 100%;
	height: auto;
}

.ta-advice-clip hr {
	margin: 14px 0;
	border: 0;
	border-top: 1px solid #e5e5e5;
}

.ta-advice-clip h4 {
	margin: 0 0 10px;
	color: #333;
	font-size: 16px;
}

.ta-advice-clip p {
	margin: 0 0 10px;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.ta-advice-clip a {
	color: var(--ta-red, #B31F24);
}

.news > dd > a {
	color: var(--ta-red, #B31F24);
}

.news .news-item__subhead a {
	color: var(--ta-red, #B31F24);
}

.box > .box__body > header h4 {
	margin: 0 0 10px;
	color: var(--ta-red, #B31F24);
	font: 300 24px/1.2 "Open Sans", Arial, Helvetica, sans-serif;
	border-bottom: 1px solid var(--ta-red, #B31F24);
	padding-bottom: 6px;
}

.product {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 12px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.product__media {
	margin: 0 0 12px;
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product__media img {
	max-width: 160px;
	max-height: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.product__title {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.35;
	color: #333;
}

.product__actions {
	margin-top: auto;
}

.product__link {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.ta-product-grid {
	align-items: stretch;
}

.ta-app-teaser {
	background: #fff;
	border: 1px solid #e5e5e5;
	margin: 24px 0 0;
}

.ta-app-teaser .box__body,
.ta-app-teaser__body {
	padding: 28px 24px;
}

.ta-app-teaser__body.u-ph--double {
	padding-left: 28px;
	padding-right: 28px;
}

.ta-app-teaser__body.u-pv--double {
	padding-top: 28px;
	padding-bottom: 28px;
}

.ta-app-teaser__row {
	align-items: center;
}

.ta-app-teaser__left {
	position: relative;
}

.ta-app-teaser__icon {
	float: left;
	margin: 0 18px 8px 0;
	width: 120px;
	max-width: 34%;
}

.ta-app-teaser__icon img {
	display: block;
	width: 120px;
	max-width: 100%;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 22px;
	background: #fff;
}

.ta-app-teaser__headline,
.ta-app-teaser .h5 {
	margin: 0 0 10px;
	color: #c45a6a;
	font: 300 18px/1.35 "Open Sans", Arial, Helvetica, sans-serif;
}

.ta-app-teaser__left > p {
	margin: 0;
	color: #888;
	font: 300 14px/1.5 "Open Sans", Arial, Helvetica, sans-serif;
}

.ta-app-teaser__right > p {
	margin: 0 0 14px;
	color: #555;
	font: 300 14px/1.5 "Open Sans", Arial, Helvetica, sans-serif;
}

.ta-app-teaser__right strong {
	color: #222;
	font-weight: 700;
}

.ta-app-teaser .clearfix {
	clear: both;
	height: 0;
	overflow: hidden;
}

.ta-app-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 4px;
}

.ta-app-badges a {
	display: inline-block;
	line-height: 0;
}

.ta-app-badges img {
	height: 40px;
	width: auto;
	display: block;
}

@media (max-width: 767px) {
	.ta-app-teaser__icon {
		float: none;
		margin: 0 0 14px;
		max-width: 96px;
	}

	.ta-app-teaser__icon img {
		width: 96px;
		border-radius: 18px;
	}

	.ta-app-teaser__headline,
	.ta-app-teaser .h5 {
		font-size: 16px;
	}

	.ta-app-teaser__right {
		margin-top: 18px;
	}
}

/* News accordion */
.accordion {
	margin: 0;
	padding: 0;
}

.accordion > dd {
	margin: 0;
	border-bottom: 1px solid #eee;
}

.accordion > dd > a {
	display: block;
	padding: 12px 0;
	color: #333;
	font-weight: 600;
	text-decoration: none;
}

.accordion > dd > a:hover {
	color: var(--ta-red, #B31F24);
}

.accordion > dd > .content {
	display: none;
	padding: 0 0 14px;
}

.accordion > dd.active > .content,
.accordion > dd > .content.active {
	display: block;
}

.news-item__media {
	margin: 0 0 10px;
}

.news-item__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.news-item__subhead {
	margin: 0 0 8px;
	font-size: 15px;
}

.news-item__subhead a {
	color: var(--ta-red, #B31F24);
	text-decoration: none;
}

.news-item__body p {
	margin: 0;
	font-size: 13px;
	color: #555;
}

.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__item {
	margin: 0;
}

.nav a {
	color: #333;
	text-decoration: none;
}

.nav a:hover {
	color: var(--ta-red, #B31F24);
}

/* -------------------------------------------------------------------------- */
/* Home slider                                                                */
/* -------------------------------------------------------------------------- */

.ta-home-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #e8e8e8;
	min-height: 280px;
}

.ta-home-slide {
	display: none;
	position: relative;
	min-height: 280px;
}

.ta-home-slide.is-active {
	display: block;
}

.ta-home-slide__img {
	display: block;
	width: 100%;
	height: clamp(260px, 42vw, 480px);
	object-fit: cover;
}

.ta-home-slide .row {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 2;
}

.slide__content {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 4px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.slide__title {
	margin: 0 0 8px;
	color: var(--ta-red, #B31F24);
	font-size: 26px;
}

.slide__subtitle {
	margin: 0 0 14px;
	color: #444;
	font-size: 15px;
}

.ta-home-slider__prev,
.ta-home-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ta-home-slider__prev { left: 12px; }
.ta-home-slider__next { right: 12px; }

.ta-home-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.ta-home-slider__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	padding: 0;
}

.ta-home-slider__dot.is-active {
	background: #fff;
}

@media (max-width: 767px) {
	.ta-home-slide .row {
		position: static;
		padding: 16px;
		background: #fff;
	}

	.slide__content {
		box-shadow: none;
		background: transparent;
	}

	.slide__title { font-size: 22px; }
}

/* -------------------------------------------------------------------------- */
/* Inner pages pasted dump content                                            */
/* -------------------------------------------------------------------------- */

.entry-content .row,
.ta-front-content #main-content .row {
	max-width: var(--ta-container, 1440px);
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid #ddd;
	padding: 8px 10px;
	text-align: left;
}

/* -------------------------------------------------------------------------- */
/* Home tabs: Sonderangebote / Rezept                                         */
/* -------------------------------------------------------------------------- */

.ta-home-tabs {
	margin: 8px 12px 28px;
}

.ta-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #ddd;
}

.ta-tabs__item {
	margin: 0;
}

.ta-tabs__btn {
	display: block;
	padding: 10px 18px;
	border: 0;
	background: transparent;
	color: var(--ta-red, #B31F24);
	font: 600 14px/1.2 Arial, Helvetica, sans-serif;
	cursor: pointer;
}

.ta-tabs__item.is-active .ta-tabs__btn {
	background: var(--ta-red, #B31F24);
	color: #fff;
}

.ta-tabs-panels {
	border: 1px solid #ddd;
	border-top: 0;
	background: #fff;
	padding: 18px 12px 8px;
}

.ta-tabs-panel[hidden] {
	display: none !important;
}

.ta-rezept-panel__title {
	margin: 0 0 8px;
	color: var(--ta-red, #B31F24);
	font-size: 22px;
}

.ta-rezept-panel__intro {
	margin: 0 0 18px;
	color: #555;
}

.ta-rezept-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.ta-rezept-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	background: #fff;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ta-rezept-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.ta-rezept-card__media {
	display: block;
	overflow: hidden;
	background: #f5f5f5;
	aspect-ratio: 4 / 3;
}

.ta-rezept-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ta-rezept-card__title {
	display: block;
	padding: 12px 10px;
	color: var(--ta-red, #B31F24);
	font: 700 14px/1.3 Arial, Helvetica, sans-serif;
	text-align: center;
}

.ta-rezept-checks {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.ta-rezept-checks li {
	position: relative;
	padding-left: 28px;
	margin: 0 0 8px;
	color: #444;
}

.ta-rezept-checks li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ta-red, #B31F24);
	font-weight: 700;
}

.ta-rezept-copy {
	color: #666;
	font-size: 14px;
	line-height: 1.55;
}

.ta-rezept-copy p {
	margin: 0 0 12px;
}

@media (max-width: 900px) {
	.ta-rezept-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.ta-rezept-cards {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------- */
/* Services: Was können wir für Sie tun?                                      */
/* -------------------------------------------------------------------------- */

.ta-services {
	margin: 28px 12px 8px;
}

.ta-services__title {
	margin: 0 0 8px;
	color: var(--ta-red, #B31F24);
	font-weight: 400;
	font-size: 28px;
	text-transform: none;
}

.spacer--fragment {
	width: 64px;
	height: 4px;
	margin: 0 0 18px;
	border: 0;
	background: var(--ta-red, #B31F24);
}

.service-category {
	position: relative;
	display: block;
	overflow: hidden;
	text-decoration: none;
	min-height: 200px;
	background: #222;
}

.service-category__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.service-category__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transition: transform 0.45s ease;
}

.service-category__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 14px 16px 12px;
	background: rgba(179, 31, 36, 0.88);
	color: #fff;
	transform: translateY(0);
	transition: background 0.3s ease, padding 0.3s ease;
}

.service__headline {
	margin: 0 0 6px;
	color: #fff !important;
	font-size: 18px;
	font-weight: 600;
}

.service-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

.service-list li {
	margin: 0 0 4px;
	color: #fff;
	font-size: 13px;
}

.service-list li::before {
	content: "> ";
	opacity: 0.8;
}

.service-category:hover .service-category__media img,
.service-category:focus-within .service-category__media img {
	transform: scale(1.06);
}

.service-category:hover .service-category__overlay,
.service-category:focus-within .service-category__overlay {
	background: rgba(142, 24, 28, 0.95);
	padding-bottom: 16px;
}

.service-category:hover .service-list,
.service-category:focus-within .service-list {
	max-height: 120px;
	opacity: 1;
	margin-top: 4px;
}

.ta-services__cta {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
	margin-bottom: 12px;
}

