/*
 Theme Name:   dots & boxes Basic Theme
 Theme URI:    https://dotsnboxes.de
 Description:  Basic child theme for bricks builder
 Author:       dots & boxes
 Author URI:   https://dotsnboxes.de
 Template:     bricks
 Version:      1.0
 Text Domain:  dnb-child
*/
html.dnb-theme-dark {
	color-scheme: dark;
}

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(assets/fonts/DM_Sans.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--body-font: "DM Sans", sans-serif;
	--heading-font: "Anemone", sans-serif;

	--btn-border-radius: var(--radius-xs);
	--btn-text-size: var(--text-lg);
	--btn-border-with: 0;

	--link-text-size: var(--text-base);
	--link-text-decoration: underline;
	--link-letter-spacing: -0.06em;

	/* Brand Colors */
	--beige: hsl(28 59% 94%);
	--ice: hsl(206 100% 92%);
	--moss: hsl(48 32% 34%);
	--onyx: hsl(0 0% 17%);
	--orchid: hsl(334 73% 87%);
	--powder: hsl(28 96% 89%);
	--ruby: hsl(334 41% 45%);
	--tea: hsl(76 60% 90%);



}

:root,
:root.dnb-theme-dark .theme-inverted,
:root.dnb-theme-dark .theme-always-light,
:root.dnb-theme-light .theme-inverted .theme-always-light {
	/* #GROUP: Colors */
	--primary: hsl(334 41% 45%);
	--primary-d-1: hsl(from var(--primary) h s calc(l - 10));
	--primary-d-2: hsl(from var(--primary) h s calc(l - 15));
	--primary-l-1: hsl(from var(--primary) h s calc(l + 10));
	--primary-l-2: hsl(from var(--primary) h s calc(l + 15));
	--secondary: var(--moss);
	--secondary-d-1: hsl(from var(--secondary) h s calc(l - 10));
	--secondary-d-2: hsl(from var(--secondary) h s calc(l - 15));
	--secondary-l-1: hsl(from var(--secondary) h s calc(l + 10));
	--secondary-l-2: hsl(from var(--secondary) h s calc(l + 15));
	--action: hsl(0, 0%, 100%);
	--action-d-1: hsl(from var(--action) h s calc(l - 10));
	--action-d-2: hsl(from var(--action) h s calc(l - 15));
	--action-l-1: hsl(from var(--action) h s calc(l + 10));
	--action-l-2: hsl(from var(--action) h s calc(l + 15));
	--bg-body: var(--tea);
	--bg-btn: hsla(336, 97%, 63%, 1);
	--text-body: var(--onyx);
	--text-title: var(--ruby);
	--link-text: var(--onyx);
	--success: #24f95d;
	--error: #f92444;
	--light: #fff;
	--dark: #000;
	/* #ENDGROUP */
}

@media screen and (max-width: 768px) {
	:root {
		--side-margin: 1rem !important;
		--grid-gap: 1rem;
	}
}

html,
body {
	font-size: 100%;
	background-color: var(--bg-body);
}

body {
	color: var(--text-body);
	font-size: var(--text-base);
	font-family: var(--body-font);
	letter-spacing: -0.06em;
	line-height: normal;
}

#brx-content.wordpress {
	padding-top: var(--space-2xl);
	padding-bottom: var(--space-2xl);
}

.headline,
h6,
h5,
h4,
h3,
h2,
h1 {
	font-family: var(--heading-font);
	color: var(--text-title);
	line-height: 0.85em;
	letter-spacing: 0;
	font-weight: normal;
}

#brx-content.wordpress h2,
#brx-content.wordpress h3,
#brx-content.wordpress h4,
#brx-content.wordpress h5,
#brx-content.wordpress h6 {
	font-family: var(--body-font);
	line-height: 1.25em;
	letter-spacing: -0.06em;
}

#brx-content.wordpress h1 {
	font-size: var(--text-2xl);
	margin-bottom: var(--space-xl);
}

#brx-content.wordpress h2 {
	font-size: var(--text-lg);
	margin-bottom: var(--space-lg);
	margin-top: var(--space-sm);
}

#brx-content.wordpress h3 {
	font-size: var(--text-base);
	font-weight: 700;
	margin-bottom: var(--space-xs);
	margin-top: var(--space-sm);
}

#brx-content.wordpress h4 {
	font-size: var(--text-base);
}

/* --- Compontents --- */
.highlight {
	background: var(--ice);
}

.highlight.primary {
	--action: var(--secondary);
	--text-body: var(--light);
	--text-title: var(--moss);
	background: var(--primary);
}

.highlight.secondary {
	--action: var(--primary);
	--text-body: var(--tea);
	--text-title: var(--orchid);
	color: var(--text-body);
	background: var(--secondary);
}

.highlight.tertiary {
	--text-body: var(--text-body);
	--text-title: var(--primary);
	background: var(--orchid);
}

.badge {
	--badge-text: var(--primary);
	--bdge-bg: var(--secondary-l-2);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-4xs);
	padding: var(--space-2xs) var(--space-s);
	background: var(--badge-bg);
	color: var(--badge-text);
	font-size: var(--text-s);
	font-weight: 500;
	border-radius: var(--radius-full);
	border: 0;
	outline: 0;
}

.badge.secondary {
	--badge-text: var(--secondary);
	--bdge-bg: var(--primary);
}

/* -----------------
--- Form Elements ---- 
----------------- */
.brxe-form {
	--border-color: darkgray;
	--border-color-accent: var(--secondary);
}

/* Inputs */
.brxe-form input,
.brxe-form textarea {
	transition: all 0.25s ease-in-out;
	appearance: none;
}

.brxe-form input:focus,
.brxe-form textarea:focus {
	border-color: var(--border-color-accent);
	outline: 1px solid var(--border-color-accent);
}

@media (hover: hover) {

	.brxe-form input:hover,
	.brxe-form textarea:hover {
		border-color: var(--border-color-accent);
	}
}

.brxe-form input::placeholder,
.brxe-form textarea::placeholder {
	color: var(--border-color);
}

/* Selects */
.brxe-form select {
	transition: all 0.25s ease-in-out;
}

.brxe-form select:focus {
	outline: 1px solid var(--border-color-accent);
}

@media (hover: hover) {
	.brxe-form select:hover {
		border-color: var(--border-color-accent);
	}
}

/* Checkboxes */
.brxe-form ul.options-wrapper li {
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
}

.brxe-form input[type="checkbox"] {
	appearance: none;
	display: grid;
	place-content: center;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xs);
	width: 1em;
	height: 1em;
}

.brxe-form input[type="checkbox"]:checked:before {
	transform: scale(1);
}

.brxe-form input[type="checkbox"]::before {
	content: "";
	width: 0.65em;
	height: 0.75em;
	box-shadow: inset 1em 1em var(--border-color-accent);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	transform: scale(0);
	transition: transform 0.2s;
}

@media (hover: hover) {
	.brxe-form input[type="checkbox"]:hover {
		border-color: var(--border-color-accent);
	}
}

.brxe-form input[type="checkbox"]:focus {
	outline: 2px solid var(--border-color-accent);
}

/* Radio Buttons */
.brxe-form input[type="radio"] {
	appearance: none;
	display: grid;
	place-content: center;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	width: clamp(1.13rem, calc(-0.42vw + 1.46rem), 1.38rem);
	height: clamp(1.13rem, calc(-0.42vw + 1.46rem), 1.38rem);
}

.brxe-form input[type="radio"]:checked:before {
	transform: scale(1);
}

.brxe-form input[type="radio"]::before {
	content: "";
	width: 0.6em;
	height: 0.6em;
	border-radius: 100%;
	transform: scale(0);
	transition: transform 0.2s;
	background: var(--border-color-accent);
}

@media (hover: hover) {
	.brxe-form input[type="radio"]:hover {
		border-color: var(--border-color-accent);
	}
}

.brxe-form input[type="radio"]:focus {
	outline: 1px solid var(--border-color-accent);
}

/*SECTIONS */

.brxe-section.split-screen__section {
	flex-direction: row;
	justify-content: center;
	padding-right: 0;
	padding-left: 0;
	align-items: stretch;
}


@media (max-width: 767px) {
	.split-screen__section {
		flex-direction: row;
	}
}

/*left side */
.split-screen__section>div:nth-child(1) {
	padding-left: var(--side-margin);
}

.split-screen__section>div:nth-child(1)>div {
	display: grid;
	align-items: initial;
	grid-gap: var(--grid-gap);
	grid-template-columns: repeat(6, 1fr);
	max-width: calc(var(--max-content-width) / 2);
	padding-right: calc(var(--grid-gap) / 2);
}

@media (max-width: 767px) {
	.split-screen__section>div:nth-child(1)>div {
		max-width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
}

/*right side */
.split-screen__section>div:nth-child(2) {
	padding-right: var(--side-margin);

}

.split-screen__section>div:nth-child(2)>div {
	display: grid;
	align-items: initial;
	grid-gap: var(--grid-gap);
	grid-template-columns: repeat(6, 1fr);
	max-width: calc(var(--max-content-width) / 2);
	padding-left: calc(var(--grid-gap) / 2);
}


@media (max-width: 767px) {
	.split-screen__section>div:nth-child(2)>div {
		padding-left: 0;
		max-width: 100%;
	}
}

/* #region Global DNB Classes */
.dnb-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: var(--grid-gap)
}

@media (max-width: 767px) {
	.dnb-grid {
		display: unset;
	}
}

.dnb-subgrid {
	display: grid;
	grid-template-columns: subgrid;
	grid-template-rows: subgrid;
}


.dnb-title-xl {
	font-family: var(--heading-font);
	font-size: var(--text-3xl);
	font-weight: 400;
	line-height: 0.82;
}

.dnb-title-lg {
	font-family: var(--heading-font);
	font-size: var(--text-2xl);
	font-weight: 400;
	line-height: 0.85;
}

.dnb-title-md {
	font-family: var(--heading-font);
	font-size: calc(var(--text-2xl) * 0.85);
	font-weight: 400;
	line-height: 0.85;
}

.dnb-title-sm {
	font-family: var(--heading-font);
	font-size: var(--text-lg);
	font-weight: 400;
	line-height: 0.85;
}

.dnb-title-xs {
	font-family: var(--body-font);
	font-size: 1.08rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.08em;
}

.dnb-text-lg {
	font-family: var(--body-font);
	font-size: var(--text-xl);
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.06em;
}

.dnb-text-md {
	font-family: var(--body-font);
	font-size: var(--text-base);
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.06em;
}

.dnb-text-sm {
	font-family: var(--body-font);
	font-size: var(--text-sm);
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.06em;
}

.dnb-text-xs {
	font-family: var(--body-font);
	font-size: var(--text-xs);
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.06em;
}

/* #endregion */

.round-heading {
	width: var(--rh-diameter, 240px);
	height: var(--rh-diameter, 240px);
	display: inline-grid;
	place-items: center;
}

.round-heading .rh-svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible
}

.round-heading .rh-text {
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	fill: currentColor;
}

.round-heading--left {
	transform: translate(-35%, 0);
}

.round-heading--right {
	transform: translate(35%, 0);
}

.round-heading.is-pending {
	visibility: hidden;
}


.dnb-brush-bg {
	position: relative;
	overflow: hidden;
}

.dnb-brush-bg>* {
	z-index: 1;
}

.dnb-brush-bg::after {
	--opacity: 0.3;
	opacity: var(--opacity);
	content: "";
	position: absolute;
	background-size: auto;
	background-position: top center;
	background-repeat: no-repeat;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* hero background */
.dnb-brush-bg[data-brush="1"]::after {
	--svg: url(assets/svg/brush-1.svg);
	--opacity: 0.4;
    background-position: 60% -20%;
	background-image: var(--svg);
}

@media (max-width: 479px) {
	.dnb-brush-bg[data-brush="1"]::after {
		--svg: url(assets/svg/brush-1-mobile.svg);
	}
}

.dnb-brush-bg[data-brush="2"]::after {
	--svg: url(assets/svg/brush-2.svg);
	background-position: center bottom;
	background-image: var(--svg);
}

@media (max-width: 767px) {
	.dnb-brush-bg[data-brush="2"]::after {
		--svg: url(assets/svg/brush-2-mobile.svg);
		background-size: 100%
	}
}

.dnb-brush-bg[data-brush="3"]::after {
	--svg: url(assets/svg/brush-3.svg);
	background-position: center calc(100% + min(100px, 3vw));
	background-image: var(--svg);
}


/* menu background */
.dnb-brush-bg[data-brush="4"]::after {
	--opacity: 0.1;
	--svg: url(assets/svg/brush-4.svg);
	background-position: left bottom;
	background-size: 100%;
	background-image: var(--svg);
	transform-origin: left bottom;
	translate: 0 8%;
	scale: 150%;
}

@media (max-width: 767px) {
	.dnb-brush-bg[data-brush="4"]::after {
		transform-origin: center center;
		scale: 100%;
		background-position: center 80%;
        background-size: auto;
		translate: 0 0;
	}
}


/* footer background */
.dnb-brush-bg[data-brush="5"]::after {
	--opacity: 0.1;
	--svg: url(assets/svg/brush-5.svg);
	background-position: 75% 40%;
	background-size: auto;
	background-image: var(--svg);
}

@media screen and (max-width: 767px) {
	.dnb-brush-bg[data-brush="5"]::after {
		--svg: url(assets/svg/brush-5-mobile.svg);
		background-position: 45% 10%;
	}
}

.dnb-brush-bg[data-brush="6"]::after {
	--svg: url(assets/svg/brush-6.svg);
	background-position: 65% -26%;
	background-size: auto;
	background-image: var(--svg);
}

/* template  */
.dnb-brush-bg[data-brush="7"]::after {
	--opacity: 0.5;
	--svg: url(assets/svg/brush-7.svg);
    background-position: center -10%;
    background-size: auto;
	background-image: var(--svg);
}

@media screen and (max-width: 767px) {
	.dnb-brush-bg[data-brush="7"]::after {
		--svg: url(assets/svg/brush-1-mobile.svg);
		background-position: 60% -20%;
	}
}

.dnb-brush-bg[data-brush="8"]::after {
	--svg: url(assets/svg/brush-6.svg);
	background-position: 50% 270%;
	background-size: auto;
	background-image: var(--svg);

}


.dnb-image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xs);
}

.dnb-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dnb-button {
	display: inline-flex;
	font-family: var(--body-font);
	font-size: var(--text-base);
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.06em;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.bricks-button.bricks-background-primary {
	border-radius: var(--radius-full);
	background: var(--action);
	color: var(--secondary);
	font-weight: 600;
	font-size: var(--text-sm);
	letter-spacing: -0.06em;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	transition: 0.3s all ease-in-out;
	z-index: 0;
	padding: 0.28rem 0.8rem;
	cursor: pointer;
}

.bricks-button.bricks-background-primary::before {
  background-color: var(--secondary);
  border-radius: var(--radius-full);
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-100%, 0) rotate(10deg);
  transform-origin: top left;
  transition: 0.3s transform ease-out;
  will-change: transform;
  z-index: -1;
}

.bricks-button.bricks-background-primary:hover {
  color: white;

}

.bricks-button.bricks-background-primary:hover::after {
	transition: 0.3s border-color ease-out;
}

.bricks-button.bricks-background-primary::after {
	transition: 0.3s background-color ease-out;
}


.bricks-button.bricks-background-primary:hover::after {
	background-color: var(--secondary) !important;
}

.bricks-button.bricks-background-primary:hover::before {
  transform: translate(0, 0);
}

.dnb-button.dnb-button--arrow {
	--svg: url(assets/svg/arrow-right.svg);
	padding: 0;
	text-decoration: none;
	font-size: 1.07rem;
	font-weight: 600;
}

.dnb-button.dnb-button--arrow::after {
		content: "";
		mask: var(--svg);
		mask-size: contain;
		mask-repeat: no-repeat;
		mask-position: center;
		background-color: currentColor;
		width: 40px;
		height: 1em;
		transform-origin: center;
		will-change: transform;
		transition: 0.3s transform ease-out;
}

.dnb-button.dnb-button--arrow:hover::after {
    transform: rotate(-20deg);
}


/* #region Header */
#header-menu ul {
	list-style: none;
	padding: 0;

}

/* #endregion Header */

/* #region Homepage */
/* #region -- Reservation Section */
#reservation form select {
	border-radius: var(--radius-sm);
	color: var(--text-body);
	font-weight: 600;
	background-image: none;
	background-color: transparent;
	padding-right: 6ch;
}

#reservation form .form-group:has(select) {
	position: relative;
	padding-bottom: 0;
	margin-bottom: var(--space-4);
	font-size: 1rem;
}

#reservation form .form-group:has(select):after {
	content: "wählen";
	color: hsl(200, 72%, 55%);
	font-style: italic;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

/* #endregion -- Reservation Section */

/* #endregion Homepage */


.dnb-line-draw {
	position: relative;
	text-decoration: none;
	padding-bottom: 3px;
}

.dnb-line-draw::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease-out;
}

.dnb-line-draw:hover::after {
	transform: scaleX(1);
}

.display-none {
	display: none !important;
}





.round-heading {
	width: var(--rh-diameter, 240px);
	height: var(--rh-diameter, 240px);
	display: inline-grid;
	place-items: center;
	position: absolute;
}

.round-heading .rh-svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible
}

.round-heading .rh-text {
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	fill: currentColor;


	font-family: var(--body-font);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.06em;
}

.round-heading--left {
	transform: translate(-25%, -25%);
	top: 0;
	left: 0;
}

.round-heading--right {
	transform: translate(25%, -25%);
	top: 0;
	right: 0;
}

.round-heading.is-pending {
	visibility: hidden;
}

/* #region Animations */
.dnb-animation-rotate {
	animation: rotate 20s linear infinite;
	transform-origin: center center;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
/* #endregion Animations */

/* --- Round Heading Responsive --- */

/* Visually hide the plain text on desktop, but keep it for screen readers. */
.round-heading-text-plain {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 767px) {
    .round-heading {
        /* Reset positioning and sizing for mobile flow */
        position: relative !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    .round-heading .round-heading-svg {
        display: none;
    }

    /* Make the plain text visible on mobile by reverting sr-only styles. */
    .round-heading-text-plain {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
		margin-bottom: var(--space-1);
    }
}

.page-id-2 #reservation-triger {
	display: flex !important;
}

html:has(body.page.page-id-511),
body.page.page-id-511  {
	--bg-body: var(--ice);
}

html:has([data-template-body-bg="Dauerhaft"]) {
	--bg-body: var(--powder);
}

html:has([data-template-body-bg="Special Event"]) {
	--bg-body: var(--orchid);
}


.dnb-quote-container::before {
	display: block;
	content: '';
	width: 96px;
	height: 65px;
	mask: url(assets/svg/quote.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	background-color: var(--primary);
}

.dnb-quote-container::after {
	margin-left: auto;
	display: block;
	content: '';
	width: 96px;
	height: 65px;
	rotate: 180deg;
	mask: url(assets/svg/quote.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	background-color: var(--primary);
}



.dnb-events-showcase__item + .dnb-events-showcase__item {
	border-top: 1px solid var(--orchid);
	padding-top: var(--space-8);
}


.dnb-link--underline a,
a.dnb-link--underline {
	text-decoration: underline;
	color: currentColor;
}

.dnb-link--underline:hover {
	filter: brightness(1.05);
}

.dnb-list--unstyled {
	list-style: none;
	padding-left: 0;
}
