/*
Theme Name: Gestaltung von Hogendorf
Theme URI: http://www.vonhogendorf.de/
Description: Seitengestaltung von Hogendorf
Author: Michael Neubert-Zimmer
Author URI: http://vonhogendorf.de/
Version: 1.0
Tags: 

License:
License URI:

*/

:root {
	--blau: rgb(44,90,166);
	--blau: rgb(44,90,166);
	--mittelblau: rgb(89,117,184);
	--hellblau: rgb(129,157,210);
	--lichtblau: rgb(158,182,221);
	--weiss:rgb(255,255,255);
	--lichtgrau:rgb(230, 230, 230);
	--hellgrau:rgb(204, 204, 204);
	--mittelgrau:rgb(179, 179, 179);
	--grau:rgb(128, 128, 128);
	--dunkelgrau:rgb(77, 77, 77);
	--gold:rgb(255,180,98);
}

@font-face {
	font-family: "Gloock-Regular";
	font-weight: 400;
	font-style: normal;
	src:url("fonts/Gloock-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Raleway-Regular";
	font-weight: 400;
	font-style: normal;
	src:url("fonts/Raleway-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Raleway-SemiBold";
	font-weight: 600;
	font-style: normal;
	src:url("fonts/Raleway-SemiBold.woff2") format("woff2");
}

@font-face {
	font-family: "cofo";
	font-weight: 400;
	font-style: normal;
	src:url("fonts/cofo.woff2") format("woff2");
}

.style-choice-overlay[hidden],
.style-switch-menu[hidden] {
    display: none !important;
}

.style-choice-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari Support */
    background: rgba(255, 255, 255, 0.2); /* wichtig für Sichtbarkeit */
}

.style-choice-box {
    width: 100%;
    max-width: 520px;
    padding: 2rem;
    border-radius: 8px;
    background: #ffffff;
	border: solid 1px var(--gold);
    color: #222222;
    text-align: center;
    box-sizing: border-box;
}

.style-choice-box h2 {
    margin: 0 0 0 0;
	padding: 0 0 5px 0;
    font: 400 2rem "Gloock-Regular";
	line-height: 2.5rem;
	letter-spacing: 1px;
  	color: var(--grau);
}

.style-choice-box p {
    margin: 0 0 2rem 0;
	font: 400 0.9rem "Raleway-Regular";
	color: var(--dunkelgrau);
}

.style-choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.style-choice-button,
.style-switch-option,
#style-switch-button {
    appearance: none;
    border-top: solid 1px var(--hellgrau);
    border-right: solid 1px var(--hellgrau);
    border-bottom: solid 1px var(--mittelgrau);
    border-left: solid 1px var(--hellgrau);
	border-radius: 8px;
    background: var(--weiss);
    padding: 0.85rem 1.2rem;
	color: var(--mittelgrau);
    cursor: pointer;
	transition: all ease-in-out 0.3s;
	box-shadow: none;
}

.style-choice-button:first-of-type {
	font: 400 1.1rem "cofo";
	letter-spacing: 0.5px;
}

.style-choice-button:last-of-type {
	font: 400 1rem "Raleway-Regular";
}

.style-choice-button:first-of-type:hover {
	color: var(--weiss);
	background:linear-gradient(to bottom, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 30%), linear-gradient(to bottom, var(--lichtblau) 0%, var(--hellblau) 60%, var(--blau) 100%); 
	box-shadow: inset 0 2px 0 rgba(255,255,255,0.6), inset 0 -2px 0 rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.3);
}

.style-choice-button:last-of-type:hover {
	transform: scale(1.05); /* 10% größer */
	color: var(--grau);
	border-top: solid 1px var(--gold);
    border-right: solid 1px var(--gold);
    border-bottom: solid 1px var(--gold);
    border-left: solid 1px var(--gold);
}


.style-choice-button:active{
	transform: scale(0.95);
}

/*
.style-switcher {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
}

.style-switch-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.style-overlay-open {
    overflow: hidden;
}

*/