@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;900&display=swap");
:root {
	font-family: "Noto Sans", sans-serif;
}

* {
	box-sizing: border-box;
}


article {
	margin: 0 auto;
	width: 80vw;
	max-width: 1000px;
}



.badge-header {
	bottom: 20px;
	margin: 0 auto;
	width: 80vw;
	max-width: 1000px;
}

.badges {
	float: left;
	gap: 1rem; /* Abstand zwischen den Badges anpassen, falls gewünscht */
}

.client {
	float: right;
}

.badge {
	display: inline-block;
	padding: 0.5rem 0.5rem;
	font-size: 1rem; /* Anpassen der Schriftgröße nach Bedarf */
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	user-select: none;
	border-radius: 1.5rem;
}

.header-details {
	padding-top: 50px;
	max-width: 1000px;
	width: 80vw;
	margin: 0 auto;
}
.upper-header {
	display: flex;
	justify-content: space-between;
	padding-bottom: 20px;

	.mini-title {
		font-size: 1.125rem;
		font-weight: bold;
		letter-spacing: 0.4rem;
		text-transform: uppercase;
		opacity: 0.9;
	}

	.date-since {
		display: flex;
		align-items: center;
		opacity: 0.5;
		font-size: 0.875rem;

		.date-value {
			display: inline-block;
			padding-bottom: 2px;
		}

		svg {
			width: 20px;
			margin-left: 10px;
		}
	}
}

.lower-header {
	padding-top: 50px;

	.tags-container {
		display: flex;
		align-items: center;
		opacity: 0.75;
		margin-bottom: 12px;

		& > span:not(:nth-child(2))::before {
			content: ", ";
		}

		svg {
			width: 20px;
			margin-right: 10px;
		}

		span {
			font-size: 0.875rem;
		}
	}

	.title {
		margin: 20px 0;
		font-size: 3rem;
		font-weight: bold;
		opacity: 0.9;
	}

	.subtitle {
		width: 50%;
		margin-top: 10px;
		opacity: 0.75;
		line-height: 1.75;
	}
}

.summary {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 50px;
	padding: 30px 50px;
	border-radius: 16px;
	box-shadow: 0 0 0 1px #f2f2f2;

	.summary-item {
		width: 100%;
		padding-right: 20px;

		.item-title {
			color: #999;
		}

		.item-text {
			margin-top: 12px;
			font-size: 1.5rem;
		}
	}
}

.main-article {
	width: 100%;
	margin-top: 50px;
	padding-bottom: 50px;
	line-height: 1.75;

	h4 {
		margin-top: 60px;
		margin-bottom: 20px;
		font-size: 1.25em;
	}

	p {
		margin-bottom: 20px;
		color: #777;
		font-size: 1.125em;
	}

	blockquote {
		position: relative;
		margin: 40px 0;
		padding: 40px;
		background-color: #f8f8f8;
		border-radius: 16px;

		&::before {
			content: url("https://icons.craftwork.design/static/media/QuotesFill.f65b03951f44e212816420b00909f4df.svg");
			position: absolute;
			top: -10px;
			left: -10px;
			transform: scale(2);
			opacity: 0.1;
		}

		&::after {
			content: url("https://icons.craftwork.design/static/media/QuotesFill.f65b03951f44e212816420b00909f4df.svg");
			position: absolute;
			bottom: -10px;
			right: -10px;
			transform: scale(2) rotate(180deg);
			opacity: 0.1;
		}
	}

	.gallery {
		display: grid;
		gap: 20px;
		grid-template-areas: "img1 img1";
		min-height: 400px;
		margin-top: 40px;

		.image-item {
			min-height: 200px;
			background-color: #eee;
			background-position: center;
			background-repeat: no-repeat;
			background-size: cover;
			border-radius: 8px;
			transition: 250ms;

			&:hover {
				opacity: 0.9;
				cursor: pointer;
			}
		}

		.image-1 {
			grid-area: img1;
		}

		.gallery-mask {
			position: fixed;
			top: 0;
			left: 0;
			z-index: 1;
			width: 100vw;
			height: 100vh;
			padding: 40px;
			background-color: #22222288;
			transition: 500ms;

			img {
				width: 100%;
				height: 100%;
				object-fit: contain;
				transition: 500ms;
			}
		}

		.mask-off {
			visibility: hidden;
			background-color: #22222200;

			img {
				visibility: hidden;
				opacity: 0;
			}
		}
	}
}

@media screen and (max-width: 768px) {
	header .lower-header .title {
		word-break: break-all;
	}

	.summary {
		flex-direction: column;

		.summary-item:not(:last-child) {
			padding-bottom: 30px;
		}
	}

	.main-article {
		.gallery {
			grid-template-areas: "img1 img1";
		}
	}
}

@media screen and (max-width: 425px) {
	.upper-header .date-since {
		display: none;
	}
}






/* strategy */

.card {
	--white: hsl(0, 0%, 100%);
	--black: hsl(240, 15%, 9%);
	--paragraph: hsl(0, 0%, 83%);
	--line: hsl(240, 9%, 17%);
	--primary: hsl(266, 92%, 58%);

	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	background-color: hsla(240, 15%, 9%, 0.7);
	border-radius: 1rem;
	box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
	height: 100%;
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
	z-index: -1;
}

.card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	opacity: 0.9;
}

.card .card__border {
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: -10;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	background-image: linear-gradient(
		0deg,
		hsl(0, 0%, 100%) -50%,
		hsl(0, 0%, 40%) 100%
	);
	border-radius: 1rem;
}

.card .card__border::before {
	content: "";
	pointer-events: none;
	position: fixed;
	z-index: 200;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%), rotate(0deg);
	transform-origin: left;
	width: 200%;
	height: 10rem;
	background-image: linear-gradient(
		0deg,
		hsla(0, 0%, 100%, 0) 0%,
		hsl(277, 95%, 60%) 40%,
		hsl(277, 95%, 60%) 60%,
		hsla(0, 0%, 40%, 0) 100%
	);
	animation: rotate 8s linear infinite;
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}

.card .card_title__container .card_title {
	font-size: {font-size: clamp(16px, 2vw, 20px)};
	color: var(--white);
	font-weight: 600;
}

.card .card_title__container .card_paragraph {
	margin-top: 0.5rem;
	width: 80%;
	font-size: 0.7rem;
	color: var(--paragraph);
}

.card .line {
	width: 100%;
	height: 0.1rem;
	background-color: var(--line);
	border: none;
}

.card .card__list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.card .card__list .card__list_item {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.card .card__list .card__list_item .check {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 1.2rem;
	height: 1.2rem;
	background-color: var(--primary);
	border-radius: 50%;
	flex-shrink: 0;
}

.card .card__list .card__list_item .check .check_svg {
	width: 0.8rem;
	height: 0.8rem;
	fill: var(--black);
}

.card .card__list .card__list_item .list_text {
	font-size: 0.85rem;
	color: var(--white);
}

.card .button {
	cursor: pointer;
	padding: 0.7rem;
	width: 100%;
	background-image: linear-gradient(
		0deg,
		rgba(94, 58, 238, 1) 0%,
		rgba(197, 107, 240, 1) 100%
	);
	font-size: 0.85rem;
	color: var(--white);
	font-weight: 500;
	border: 0;
	border-radius: 9999px;
	box-shadow: inset 0 -2px 25px -4px var(--white);
	margin-top: auto;
	transition: transform 0.2s, box-shadow 0.2s;
}

.card .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(197, 107, 240, 0.4), inset 0 -2px 25px -4px var(--white);
}

.bento-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        max-width: 1200px;
        padding: 1rem;
}

.card-1 {
	grid-column: span 2;
	grid-row: span 1;
}

.card-2 {
	grid-column: span 1;
	grid-row: span 1;
}

.card-3 {
	grid-column: span 1;
	grid-row: span 2;
}

.card-4 {
	grid-column: span 1;
	grid-row: span 1;
}

.card-5 {
	grid-column: span 2;
	grid-row: span 1;
}

.card-6 {
	grid-column: span 1;
	grid-row: span 1;
}

@media (max-width: 1024px) {
        .card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
                grid-column: span 1;
                grid-row: span 1;
        }
}

/* CPS Steps Layout */
.cps-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 4rem 0;
}

.cps-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-height: 340px;
  padding: 2rem 0;
}

.cps-step__image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cps-step__image img {
  max-width: 340px;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
}

.cps-step__content {
  flex: 1 1 340px;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.cps-step__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
  display: block;
}

/* Abwechselnde Anordnung */
.cps-step--left {
  flex-direction: row;
}
.cps-step--right {
  flex-direction: row-reverse;
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  .cps-step {
    flex-direction: column !important;
    gap: 2rem;
    min-height: unset;
  }
  .cps-step__image, .cps-step__content {
    flex: unset;
    width: 100%;
    max-width: 100%;
    padding: 1.2rem 0.5rem;
  }
}
