/*
Theme Name: Roterpunkt Minimal
Theme URI: https://www.roterpunkt.com
Author: Codex
Description: Minimal custom theme for the Roterpunkt homepage and legal pages.
Version: 1.0.0
Text Domain: roterpunkt-minimal
*/

@import url("https://fonts.bunny.net/css?family=manrope:400,500,700,800");

:root {
	--rp-red: #ef1f25;
	--rp-ink: #131313;
	--rp-ink-soft: rgba(19, 19, 19, 0.66);
	--rp-paper: #f3eee7;
	--rp-white: #ffffff;
	--rp-line: rgba(19, 19, 19, 0.12);
}

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

body {
	background:
		linear-gradient(180deg, #f8f5ef 0%, var(--rp-paper) 100%);
	color: var(--rp-ink);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

a {
	color: inherit;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.site-shell {
	min-height: 100vh;
}

.site-main {
	display: block;
}

.rp-swiss-shell,
.rp-page {
	margin: 0 auto;
	max-width: 1320px;
	padding: 20px 18px 48px;
}

.rp-swiss-kicker {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.rp-swiss-hero {
	background: var(--rp-white);
	border: 1px solid var(--rp-line);
	border-radius: 28px;
	box-shadow: 0 18px 40px rgba(19, 19, 19, 0.05);
	overflow: hidden;
}

.rp-swiss-hero__top {
	align-items: center;
	border-bottom: 1px solid var(--rp-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	padding: 18px 22px;
}

.rp-swiss-hero__meta {
	color: var(--rp-ink-soft);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.rp-swiss-hero__meta span {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rp-swiss-hero__grid {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
}

.rp-swiss-hero__main {
	padding: 32px 24px 34px;
}

.rp-swiss-hero__logo {
	margin-bottom: 28px;
	max-width: 520px;
}

.rp-swiss-hero__title {
	font-size: clamp(3rem, 7vw, 6.4rem);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: 0.9;
	margin: 0;
	max-width: 8ch;
}

.rp-swiss-hero__lead {
	color: var(--rp-ink-soft);
	font-size: 1.05rem;
	line-height: 1.75;
	margin: 20px 0 0;
	max-width: 38ch;
}

.rp-swiss-hero__panel {
	background:
		linear-gradient(180deg, #141414 0%, #1c1c1c 100%);
	color: var(--rp-white);
	padding: 32px 24px 34px;
	position: relative;
}

.rp-swiss-hero__panel::before {
	background: var(--rp-red);
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 6px;
}

.rp-swiss-profile {
	display: grid;
	gap: 18px;
}

.rp-swiss-profile__row {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 18px;
}

.rp-swiss-profile__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.rp-swiss-profile__row span {
	color: rgba(255, 255, 255, 0.55);
	display: block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.rp-swiss-profile__row strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.45;
}

.rp-swiss-brands {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.rp-swiss-brand {
	border-radius: 28px;
	min-height: 390px;
	padding: 22px;
	position: relative;
	text-decoration: none;
}

.rp-swiss-brand--dark {
	background: linear-gradient(180deg, #121212 0%, #1c1c1c 100%);
	color: var(--rp-white);
}

.rp-swiss-brand--accent {
	background: linear-gradient(180deg, #ff3439 0%, var(--rp-red) 100%);
	color: var(--rp-white);
}

.rp-swiss-brand__header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.rp-swiss-brand__type,
.rp-swiss-brand__url {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0;
	text-transform: uppercase;
}

.rp-swiss-brand__type {
	color: rgba(255, 255, 255, 0.68);
}

.rp-swiss-brand__url {
	color: rgba(255, 255, 255, 0.84);
}

.rp-swiss-brand__body {
	display: flex;
	flex-direction: column;
	height: calc(100% - 28px);
	justify-content: flex-end;
	padding-top: 72px;
}

.rp-swiss-brand__logo-wrap {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 22px;
	display: inline-flex;
	margin-bottom: 30px;
	max-width: 240px;
	padding: 18px 20px;
}

.rp-swiss-brand__logo-wrap img {
	max-height: 96px;
	width: auto;
}

.rp-swiss-brand__name {
	font-size: clamp(2.8rem, 4vw, 4.4rem);
	font-weight: 800;
	letter-spacing: -0.07em;
	line-height: 0.92;
	margin: 0 0 12px;
}

.rp-swiss-brand__copy {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.02rem;
	line-height: 1.72;
	margin: 0;
	max-width: 28ch;
}

.rp-swiss-footer {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--rp-line);
	border-radius: 22px;
	box-shadow: 0 16px 36px rgba(19, 19, 19, 0.04);
	margin-top: 18px;
	padding: 20px 22px 22px;
}

.rp-swiss-contact {
	align-items: stretch;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	margin-top: 18px;
}

.rp-swiss-contact__intro,
.rp-swiss-contact__card {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--rp-line);
	border-radius: 24px;
	box-shadow: 0 16px 36px rgba(19, 19, 19, 0.04);
	padding: 24px;
}

.rp-swiss-contact__intro {
	background: linear-gradient(180deg, #161616 0%, #1f1f1f 100%);
	color: var(--rp-white);
}

.rp-swiss-contact__title {
	font-size: clamp(2.1rem, 4.5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.95;
	margin: 0 0 14px;
	max-width: 9ch;
}

.rp-swiss-contact__text {
	color: rgba(255, 255, 255, 0.74);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 22px;
	max-width: 34ch;
}

.rp-swiss-contact__mail {
	color: var(--rp-white);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.rp-swiss-contact__mail:hover,
.rp-swiss-contact__mail:focus {
	color: #ffb4b7;
}

.rp-swiss-contact__notice {
	border-radius: 14px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 18px;
	padding: 13px 15px;
}

.rp-swiss-contact__notice--success {
	background: rgba(23, 154, 89, 0.1);
	border: 1px solid rgba(23, 154, 89, 0.22);
	color: #11663b;
}

.rp-swiss-contact__notice--error {
	background: rgba(239, 31, 37, 0.08);
	border: 1px solid rgba(239, 31, 37, 0.18);
	color: #9e171c;
}

.rp-swiss-contact__form {
	display: grid;
	gap: 16px;
}

.rp-swiss-contact__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-swiss-contact__form label {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.rp-swiss-contact__form input,
.rp-swiss-contact__form textarea {
	background: #fff;
	border: 1px solid rgba(19, 19, 19, 0.14);
	border-radius: 16px;
	color: var(--rp-ink);
	font: inherit;
	padding: 14px 16px;
	width: 100%;
}

.rp-swiss-contact__form input:focus,
.rp-swiss-contact__form textarea:focus {
	border-color: var(--rp-red);
	box-shadow: 0 0 0 3px rgba(239, 31, 37, 0.12);
	outline: none;
}

.rp-swiss-contact__form textarea {
	min-height: 150px;
	resize: vertical;
}

.rp-swiss-contact__submit {
	background: var(--rp-red);
	border: 0;
	border-radius: 999px;
	color: var(--rp-white);
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 800;
	justify-self: start;
	letter-spacing: 0.14em;
	padding: 14px 20px;
	text-transform: uppercase;
}

.rp-swiss-contact__submit:hover,
.rp-swiss-contact__submit:focus {
	background: #d9181d;
}

.rp-swiss-contact__trap {
	display: none;
}

.rp-swiss-footer .legal-pages-menu {
	margin: 0;
}

.rp-swiss-footer .legal-pages-menu__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rp-swiss-footer .legal-pages-menu__item {
	margin: 0;
}

.rp-swiss-footer .legal-pages-menu__link,
.rp-swiss-footer .legal-pages-manage-button {
	background: var(--rp-white);
	border: 1px solid rgba(19, 19, 19, 0.14);
	border-radius: 999px;
	color: var(--rp-ink);
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 700;
	padding: 11px 15px;
	text-decoration: none;
}

.rp-swiss-footer .legal-pages-menu__link:hover,
.rp-swiss-footer .legal-pages-menu__link:focus,
.rp-swiss-footer .legal-pages-manage-button:hover,
.rp-swiss-footer .legal-pages-manage-button:focus {
	border-color: var(--rp-red);
	color: var(--rp-red);
}

.rp-cookie-modal {
	align-items: center;
	background: rgba(19, 19, 19, 0.56);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.rp-cookie-modal.is-visible {
	display: flex;
}

.rp-cookie-modal__panel {
	background: var(--rp-white);
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(19, 19, 19, 0.22);
	max-width: 560px;
	padding: 24px;
	width: 100%;
}

.rp-cookie-modal__kicker {
	color: var(--rp-red);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.rp-cookie-modal__title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
	margin: 0 0 12px;
}

.rp-cookie-modal__text {
	color: var(--rp-ink-soft);
	font-size: 0.98rem;
	line-height: 1.7;
	margin: 0;
}

.rp-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.rp-cookie-modal__button {
	background: var(--rp-white);
	border: 1px solid rgba(19, 19, 19, 0.14);
	border-radius: 999px;
	color: var(--rp-ink);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 11px 15px;
}

.rp-cookie-modal__button--accent {
	background: var(--rp-red);
	border-color: var(--rp-red);
	color: var(--rp-white);
}

.rp-cookie-modal__button--ghost {
	background: #f4efe8;
}

.rp-page__home-link {
	background: var(--rp-white);
	border: 1px solid rgba(19, 19, 19, 0.14);
	border-radius: 999px;
	color: var(--rp-ink);
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 14px;
	padding: 10px 16px;
	text-decoration: none;
	text-transform: uppercase;
}

.rp-page__home-link:hover,
.rp-page__home-link:focus {
	border-color: var(--rp-red);
	color: var(--rp-red);
}

.rp-page__card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(19, 19, 19, 0.12);
	border-radius: 24px;
	box-shadow: 0 18px 40px rgba(19, 19, 19, 0.06);
	padding: 24px;
}

.rp-page__title {
	font-size: clamp(2rem, 4.5vw, 3.3rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.95;
	margin: 0 0 16px;
}

.rp-page__content {
	color: var(--rp-ink-soft);
	font-size: 1rem;
	line-height: 1.75;
}

.rp-page__content a {
	color: var(--rp-red);
}

.rp-page__footer {
	margin-top: 18px;
}

@media (max-width: 1024px) {
	.rp-swiss-hero__grid,
	.rp-swiss-brands,
	.rp-swiss-contact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.rp-swiss-shell,
	.rp-page {
		padding-left: 14px;
		padding-right: 14px;
	}

	.rp-swiss-hero__top,
	.rp-swiss-hero__main,
	.rp-swiss-hero__panel,
	.rp-swiss-brand,
	.rp-swiss-contact__intro,
	.rp-swiss-contact__card,
	.rp-swiss-footer,
	.rp-page__card {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rp-swiss-hero__top,
	.rp-swiss-hero__meta,
	.rp-swiss-brand__header,
	.rp-swiss-contact__grid {
		align-items: flex-start;
		grid-template-columns: 1fr;
	}

	.rp-swiss-hero__top,
	.rp-swiss-hero__meta,
	.rp-swiss-brand__header {
		flex-direction: column;
	}

	.rp-swiss-hero__logo {
		max-width: 420px;
	}

	.rp-swiss-hero__title {
		font-size: clamp(2.8rem, 12vw, 4.8rem);
	}

	.rp-swiss-brand__body {
		padding-top: 44px;
	}

	.rp-swiss-brand__logo-wrap {
		max-width: 180px;
	}

	.rp-swiss-brand__logo-wrap img {
		max-height: 72px;
	}

	.rp-swiss-footer .legal-pages-menu__item,
	.rp-swiss-footer .legal-pages-menu__item--button,
	.rp-swiss-footer .legal-pages-menu__link,
	.rp-swiss-footer .legal-pages-manage-button,
	.rp-cookie-modal__button {
		width: 100%;
	}
}
