/*
Theme Name: SILBERWEISS Block Theme
Theme URI: https://silberweiss.de
Author: SILBERWEISS
Author URI: https://silberweiss.de
Description: Ein individuelles Block Theme der Firma SILBERWEISS generiert für unsere Kunden.
Requires at least: 5.8
Tested up to: 6.1
Requires PHP: 5.7
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:
Text Domain: silberweissblocktheme
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

/* Styles intended only for the frontend.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks { overflow: hidden; }

a { text-decoration: none; }

a:hover, a:focus, a:active {
	text-decoration: none;
	color: var(--wp--preset--color--primary);
}


.scrolling-headline {
    -webkit-transition: all 1.2s ease-in-out;
    -o-transition: all 1.2s ease-in-out;
    transition: all 1.2s ease-in-out;
	-webkit-transition-delay: .5s;
	     -o-transition-delay: .5s;
	        transition-delay: .5s;
	-webkit-animation: none !important;
	        animation: none !important;
}

.dom-loaded .scrolling-headline {
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
		transform: translateX(-100%);
}

.dom-loaded .scrolling-headline:hover, .dom-loaded .scrolling-headline:focus, .dom-loaded .scrolling-headline:active {
	-webkit-transform: translateX(0);
	    -ms-transform: translateX(0);
	        transform: translateX(0);
}


/* mobile */
@media (max-width: 680px) {
	header .custom-logo-link {
		display: block;
		max-width: 220px;
	}

	.verybigheadline {
		padding-left: var(--wp--style--root--padding-left);
		padding-right: var(--wp--style--root--padding-right);
	}

	.verybigheadline h1, .verybigheadline h2 {
		font-size: 4rem !important;
	}
	.dom-loaded .scrolling-headline {
		-webkit-transform: translateX(-100%);
			-ms-transform: translateX(-100%);
				transform: translateX(-100%);
	}


	.mobile-break {
		-ms-flex-wrap: wrap !important;
		    flex-wrap: wrap !important;
	}
}


@media (max-width: 1100px) {

}


@media (min-width: 1550px) {
	.dom-loaded .scrolling-headline {
		-webkit-transform: translateX(-60%);
	    -ms-transform: translateX(-60%);
	        transform: translateX(-60%);
	}
}


.wp-block-hyperlink-group:hover, .wp-block-hyperlink-group:focus, .wp-block-hyperlink-group:active {

}

.wp-block-hyperlink-group a, .wp-block-hyperlink-group svg {
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	text-decoration: none;
}
.wp-block-hyperlink-group:is(:hover, :focus, :active) :is(a, svg, p) {
	fill: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.quicklink:has(a:hover, a:focus, a:active) svg {
	fill: var(--wp--preset--color--primary);
}

svg, a {
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.wp-block-hyperlink-group:is(:hover, :focus, :active) .moving-arrow p + .wp-block-outermost-icon-block svg {
	-webkit-transform: translateX(10px);
	    -ms-transform: translateX(10px);
	        transform: translateX(10px);
}

/* story content toggle */
.wp-block-ub-content-toggle.custom-content-toggle {}

.wp-block-ub-content-toggle.custom-content-toggle .wp-block-ub-content-toggle-accordion-title-wrap {
	background: transparent !important;
    position: absolute;
    right: -80px;
    top: -250px;
    rotate: -90deg;
    -webkit-transform-origin: bottom right;
        -ms-transform-origin: bottom right;
            transform-origin: bottom right;
}

.wp-block-ub-content-toggle.custom-content-toggle .wp-block-ub-content-toggle-accordion-title {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 15px;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
}

.wp-block-ub-content-toggle.custom-content-toggle .wp-block-ub-content-toggle-accordion-title:after {
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='44.503' height='38.727' viewBox='0 0 44.503 38.727'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rechteck_80' data-name='Rechteck 80' width='44.503' height='38.727' fill='none' stroke='%23707070' stroke-width='1.5'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Gruppe_184' data-name='Gruppe 184' clip-path='url(%23clip-path)'%3E%3Cline id='Linie_23' data-name='Linie 23' x1='41.935' transform='translate(1.284 19.363)' fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3Cpath id='Pfad_486' data-name='Pfad 486' d='M0,0,18.079,18.079,0,36.159' transform='translate(25.14 1.284)' fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E%0A");
	width: 44px;
	height: 38px;
	background-position: center center;
	display: inline-block;
	rotate: 180deg;
}

.wp-block-ub-content-toggle.custom-content-toggle .wp-block-ub-content-toggle-accordion-content-wrap {
	padding: 0;
	background: #fff;
	position: absolute;
	z-index: 50;
}
