/* AC Kasse Branding – Overrides für AC Kasse-Clone */
:root {
	--ac-orange: #ff7f00;
	--ac-orange-dark: #e06d00;
	--ac-orange-light: #ff9a33;
}

body.ac-portal-page,
body.ac-site-page.ac-portal-page {
	background: #fff !important;
}

#header,
#header.sub,
#header.overflow,
#header.fixed {
	background-color: #fff !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#header .navbar-brand,
#header.sub .navbar-brand {
	background: transparent !important;
	padding: 10px 0 0 0 !important;
}

#header .navbar-brand > img,
#header.sub .navbar-brand > img,
.navbar-brand > img {
	display: block;
	height: 110px !important;
	width: auto !important;
	max-width: none !important;
	margin-top: 0 !important;
	background: transparent !important;
}

#header.fixed .navbar-brand > img,
#header.sub.fixed .navbar-brand > img {
	height: 60px !important;
}

@media only screen and (max-width: 1199px) {
	#header .navbar-brand > img,
	#header.sub .navbar-brand > img,
	.navbar-brand > img {
		height: 95px !important;
	}
}

@media only screen and (max-width: 991px) {
	#header .navbar-brand > img,
	#header.sub .navbar-brand > img,
	.navbar-brand > img {
		height: 85px !important;
	}

	#header.fixed .navbar-brand > img,
	#header.sub.fixed .navbar-brand > img {
		height: 60px !important;
	}
}

@media only screen and (max-width: 767px) {
	#header .navbar-brand > img,
	#header.sub .navbar-brand > img,
	.navbar-brand > img {
		height: 70px !important;
	}
}

#footer .navbar-brand > img,
.footerbox img[src*="made_in_germany"],
.ac-made-in-germany {
	background: transparent !important;
}

.ac-made-in-germany-wrap {
	margin: 1.25rem 0 0;
}

.ac-made-in-germany {
	display: block;
	max-width: 100%;
	height: auto;
}

.footerbox img[alt="AC Kasse Logo"],
.footerbox img[alt="DFKA Logo"] {
	background: transparent !important;
}

.btn-primary {
	background-color: var(--ac-orange) !important;
	border-color: var(--ac-orange) !important;
	color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--ac-orange-dark) !important;
	border-color: var(--ac-orange-dark) !important;
	color: #fff !important;
}

.text-bg-orange,
.badge.text-bg-orange {
	background-color: var(--ac-orange) !important;
}

/* Hero-Karte – AC Kasse-Look mit echten Buttons */
.benefit-layout {
	overflow: visible !important;
}

.demo-shell,
.bg-gr-w-g-tb .contentpaddings,
.bg-gr-w-g-tb .container {
	overflow: visible !important;
}

#alle-vorteile {
	scroll-margin-top: clamp(88px, 12vw, 128px);
	border-radius: 18px;
}

.hero-card {
	position: relative;
	overflow: hidden;
	margin: 6px 4px 10px;
	border-radius: 28px !important;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: linear-gradient(152deg, #ff9a33 0%, #ff7f00 42%, #e86f00 100%) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.34),
		0 22px 52px rgba(255, 127, 0, 0.24),
		0 8px 22px rgba(0, 0, 0, 0.07) !important;
	isolation: isolate;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.hero-card::before,
.hero-card::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.hero-card::before {
	width: min(52vw, 320px);
	height: min(52vw, 320px);
	top: -96px;
	right: -48px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%);
}

.hero-card::after {
	width: min(36vw, 220px);
	height: min(36vw, 220px);
	bottom: -72px;
	left: -36px;
	background: radial-gradient(circle, rgba(255, 210, 120, 0.22) 0%, rgba(255, 210, 120, 0) 70%);
}

.hero-card > * {
	position: relative;
	z-index: 1;
}

.hero-card__signet {
	opacity: 0.16 !important;
	z-index: 0 !important;
	pointer-events: none !important;
}

.hero-card__signet--large {
	top: -42% !important;
	right: -38% !important;
	width: min(92vw, 980px) !important;
}

.hero-card__label {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.42) !important;
	background: rgba(255, 255, 255, 0.14) !important;
}

.hero-card h2,
.hero-card p {
	color: #fff !important;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
	position: relative;
	z-index: 2;
}

.hero-card .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px !important;
	padding: 0 28px !important;
	border-radius: 999px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	position: relative;
	z-index: 2;
	pointer-events: auto !important;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease !important;
}

.hero-card .button:hover {
	transform: translateY(-2px);
}

.hero-card .button--light {
	background: #fff !important;
	color: var(--ac-orange-dark) !important;
	border: 2px solid #fff !important;
	box-shadow: 0 8px 20px rgba(118, 46, 0, 0.16) !important;
}

.hero-card .button--light:hover,
.hero-card .button--light:focus {
	background: #fff !important;
	color: #c45e00 !important;
	border-color: #fff !important;
	box-shadow: 0 18px 38px rgba(118, 46, 0, 0.3) !important;
}

.hero-card .button--ghost {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.78) !important;
	box-shadow: none !important;
}

.hero-card .button--ghost:hover,
.hero-card .button--ghost:focus {
	background: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
	border-color: #fff !important;
}

.hero-card .button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.85);
	outline-offset: 3px;
}

.hero-card .proof-strip {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 14px 18px !important;
	margin-top: 46px !important;
	padding-top: 28px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.hero-card .proof-strip span {
	color: rgba(255, 255, 255, 0.95) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
}

.hero-card .proof-strip span::before {
	width: 24px !important;
	height: 24px !important;
	color: var(--ac-orange-dark) !important;
	background: #fff !important;
	font-size: 0.8rem !important;
	font-weight: 900 !important;
}

.ac-hero-target--pulse {
	animation: ac-hero-target-pulse 1.4s ease;
}

@keyframes ac-hero-target-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.45);
	}
	100% {
		box-shadow: 0 0 0 18px rgba(255, 127, 0, 0);
	}
}

.eyebrow {
	color: var(--ac-orange-dark) !important;
}

.ordercard .card-header h2 {
	color: var(--ac-orange-dark) !important;
}

.ordercard .btn-primary {
	background-color: var(--ac-orange) !important;
	border-color: var(--ac-orange) !important;
}

.featuredproducts table th,
.featuredproducts h3 {
	color: var(--text-dark, #303030);
}

.galtxtslider-pic img,
.mobileonly.imgwidthfull img,
.col-md-6.imgwidthfull img {
	max-height: 420px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.galtxtslider-pic,
.mobileonly.imgwidthfull,
.col-md-6.imgwidthfull {
	overflow: hidden;
}

.centeredbg.kvdl.contain,
.greybox.centeredbg.kvdl.contain,
.whitebox.centeredbg.kvdl.contain {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	overflow: hidden;
}

.greybox.centeredbg.mobilenobg.rightcenter,
.whitebox.centeredbg.mobilenobg.leftcenter,
.whitebox.centeredbg.mobilenobg.centercenter {
	background-size: cover !important;
	background-repeat: no-repeat !important;
	min-height: 420px;
}

.greybox.centeredbg.mobilenobg.rightcenter {
	background-position: right center !important;
}

.whitebox.centeredbg.mobilenobg.leftcenter {
	background-position: left center !important;
}

.whitebox.centeredbg.mobilenobg.centercenter {
	background-position: center center !important;
}

.greybox.centeredbg.mobilenobg .colorlayer h1,
.greybox.centeredbg.mobilenobg .colorlayer h2,
.greybox.centeredbg.mobilenobg .colorlayer p,
.whitebox.centeredbg.mobilenobg .colorlayer h1,
.whitebox.centeredbg.mobilenobg .colorlayer h2,
.whitebox.centeredbg.mobilenobg .colorlayer p {
	color: #484848;
}

.col-md-6.imgwidthfull img {
	max-height: 360px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

@media only screen and (max-width: 991px) {
	.greybox.centeredbg.mobilenobg.rightcenter,
	.whitebox.centeredbg.mobilenobg.leftcenter,
	.whitebox.centeredbg.mobilenobg.centercenter {
		min-height: 0;
		background-image: none !important;
	}

	.mobileonly.imgwidthfull img {
		width: 100%;
		height: auto;
		max-height: 420px;
		object-fit: cover;
	}
}

@media (max-width: 980px) {
	.hero-card .proof-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	.hero-actions {
		flex-direction: column;
	}

	.hero-card {
		margin: 4px 0 8px;
		border-radius: 24px !important;
	}

	.hero-card .button {
		width: 100%;
	}

	.hero-card .proof-strip {
		grid-template-columns: 1fr !important;
	}
}

/* Fachhändler-Filter */
.partnerart {
	margin: 0 0 24px;
}

.partnerart .btn {
	border-radius: 999px !important;
	font-weight: 700 !important;
	padding: 0.55rem 1.35rem !important;
	margin: 0.25rem 0.35rem !important;
	border-width: 2px !important;
}

.partnerart .btn-outline-primary {
	color: var(--ac-orange) !important;
	background-color: transparent !important;
	border-color: var(--ac-orange) !important;
}

.partnerart .btn-outline-primary:hover,
.partnerart .btn-outline-primary:focus {
	color: #fff !important;
	background-color: var(--ac-orange) !important;
	border-color: var(--ac-orange) !important;
}

.partnerart .btn-primary {
	color: #fff !important;
	background-color: var(--ac-orange) !important;
	border-color: var(--ac-orange) !important;
	box-shadow: 0 8px 20px rgba(255, 127, 0, 0.22);
}

.greybox.headliner .partnerentries {
	text-align: left;
}
