/*
-----------------------------------------------
		www.goldschmied-klaucke.de by www.lichtsignale.de
----------------------------------------------- */


/*		R E S E T
----------------------------------------------- */

html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
a, abbr, address, cite, em, img, small, strong, b, i,
dl, dt, dd, ol, ul, li, figure, figcaption,
main, nav, section, article, header, footer, dialog, button {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		vertical-align: baseline;
		background: transparent;
}

html {
		height: 100%;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
}

html:has(dialog[open]) {
		overflow: hidden;
}

body {
		min-height: 100%;
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
}

nav ul {
		list-style: none;
}

button {
		font: inherit;
		color: inherit;
		cursor: pointer;
}


/*		W E B F O N T S
----------------------------------------------- */

@font-face {
		font-family: "Nobel Web";
		src: url("fonts/Nobel-Regular.woff2") format("woff2");
		font-weight: normal;
		font-style: normal;
		font-display: swap;
}

@font-face {
		font-family: "EB Garamond";
		src: url("fonts/eb-garamond-400-italic.woff2") format("woff2");
		font-weight: 400;
		font-style: italic;
		font-display: swap;
}

@font-face {
		font-family: "AK Arrows";
		src: url("fonts/arrows.ttf") format("truetype");
		font-weight: normal;
		font-style: normal;
		font-display: block;
}

.inside > :is(p, h2, h3, ul, ol),
.blaettern,
.detail .zaehler {
		translate: 0 -0.074em;
}


/*		A N I M A T I O N
----------------------------------------------- */

@keyframes FadeMeIn {
		0% { opacity: 0; }
		100% { opacity: 1; }
}


/*		B A S I C S
----------------------------------------------- */

body {
		color: #333;
		background: #111;
		font-family: "Nobel Web", Helvetica, Arial, sans-serif;
		font-size: 17px;
		line-height: 20px;
		letter-spacing: 0.03em;
		text-align: left;
}

a:link, a:visited {
		text-decoration: none;
}

::selection {
		color: #fff;
		background-color: #b9973a;
}

.unsichtbar {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
}

#wrapper {
		position: absolute;
		inset: 0;
		width: 900px;
		height: 650px;
		margin: auto;
		zoom: var(--s, 1);
}

#ring {
		position: absolute;
		z-index: 9;
		left: 225px;
		top: 90px;
		width: 450px;
		height: 450px;
		background: url("ring.png?2") 0 0 / 450px 450px no-repeat;
		background-image: image-set(url("ring.png?2") 1x, url("ring@2x.png?2") 2x);
}

#homepage #ring,
#homepage nav li,
#homepage #content {
		animation: FadeMeIn 1s ease-in;
}


/*		N A V I G A T I O N
----------------------------------------------- */

nav li {
		position: absolute;
		z-index: 10;
		text-align: center;
		border-radius: 50%;
}

nav li::before,
nav li::after {
		content: "";
		position: absolute;
		z-index: -1;
		inset: 0;
		border-radius: 50%;
		rotate: 45deg;
		background: radial-gradient(ellipse 50% 32.35%, #111 0.6%, #111 33.2%, #141414 58.9%, #1f1f1f 102.1%, #2d2d2d 139.4%);
}

nav li::after {
		background: radial-gradient(ellipse 50% 32.35%, #1e1e1e 0.6%, #1e1e1e 39.1%, #242424 76.4%, #2b2b2b 104.4%, #2f2f2f 118.4%, #333 124.2%, #383838 139.4%);
		opacity: 0;
		transition: opacity 0.35s ease-in-out;
}

nav li:hover::after,
nav li:focus-within::after,
nav .active::after {
		opacity: 1;
		transition-duration: 0.25s;
}

nav .ohne::after {
		display: none;
}

nav a {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		height: 100%;
		background: url("navring.png?2") 0 0 / 100% 100% no-repeat;
		background-image: image-set(url("navring.png?2") 1x, url("navring@2x.png?2") 2x);
		color: #958d74;
		transition: color 0.25s ease-in-out;
}

nav .ohne a {
		cursor: default;
}

nav a:hover,
nav a:focus-visible {
		color: #f3e5bb;
		outline: none;
}

nav .active a:link, nav .active a:visited {
		color: #f2f2f2;
		cursor: default;
}

#prim li {
		width: 95px;
		height: 95px;
}

#prim a {
		padding-bottom: calc(3px + 0.148em);
}

#prim .p1 {
		left: 86px;
		top: 50px;
}

#prim .p2 {
		left: 22px;
		top: 190px;
}

#prim .p3 {
		left: 22px;
		top: 344px;
}

#sec li {
		width: 70px;
		height: 70px;
}

#sec a {
		padding-bottom: calc(2px + 0.148em);
}

#sec .p1 {
		right: 245px;
		top: -9px;
}

#sec .p2 {
		right: 158px;
		top: 60px;
}

#sec .p3 {
		right: 100px;
		top: 156px;
}

#tert li {
		width: 45px;
		height: 45px;
		font-size: 14px;
}

#tert a {
		padding-bottom: calc(3px + 0.148em);
}

#tert .p1 {
		right: 427px;
		top: 619px;
}

#tert .p2 {
		right: 355px;
		top: 612px;
}

#tert .p3 {
		right: 288px;
		top: 588px;
}


.sterne {
		position: fixed;
		z-index: 20;
		right: 16px;
		bottom: 16px;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: none;
		color: #958d74;
		transition: color 0.25s ease-in-out;
}

.sterne[hidden],
.sterne .abspielen,
.sterne.pausiert .anhalten {
		display: none;
}

.sterne.pausiert .abspielen {
		display: block;
}

.sterne:hover,
.sterne:focus-visible {
		color: #f3e5bb;
}

.sterne:focus-visible {
		outline: 1px solid #b9973a;
		outline-offset: 3px;
}


/*		C O N T E N T
----------------------------------------------- */

#content {
		position: absolute;
		z-index: 10;
		left: 245px;
		top: 110px;
		width: 410px;
		height: 410px;
		border-radius: 205px;
		background: radial-gradient(circle closest-side, #e6e6e6 0.4%, #e3e3e3 10.4%, #dedfdf 20.4%, #d3d3d3 42.1%, #c8c8c9 59.6%, #b9babb 75.4%, #b2b2b4 84.6%, #adadaf 92.1%, #a9aaab 99.6%);
		overflow: hidden;
}

.text {
		text-align: center;
		word-spacing: 1px;
}

.inside {
		box-sizing: content-box;
		padding: 150px 80px 0 45px;
		width: 320px;
		height: 335px;
		border-radius: 205px;
		overflow: auto;
		position: relative;
		top: -75px;
}

.inside p + p {
		margin-top: 20px;
}

.inside h2,
.inside h3 {
		margin-bottom: 10px;
		font-weight: normal;
		font-size: 100%;
}

.inside h2 {
		margin-top: 40px;
}

.inside .unsichtbar + h2 {
		margin-top: 0;
}

.inside h3 {
		margin-top: 20px;
}

.inside h2 + h3 {
		margin-top: 10px;
}

.inside a:link, .inside a:visited {
		color: #333;
		border-bottom: 1px solid #333;
}

.inside a:hover, .inside a:active {
		border-bottom-color: transparent;
}

.inside > .eeFrontEdit {
		position: absolute;
		left: 50%;
		top: 112px;
		translate: -50% 0;
}

.inside:focus {
		outline: none;
}

#content:has(.inside:focus-visible) {
		box-shadow: inset 0 0 0 2px #816727;
}

.paddingbottom {
		height: 75px;
}

.ak {
		background: #111 url("ak.png") 90px 160px / 180px 89px no-repeat !important;
		background-image: image-set(url("ak.png") 1x, url("ak@2x.png") 2x) !important;
}


/*		F L A T T E R S A T Z
----------------------------------------------- */

.text p,
.text li {
		-webkit-hyphens: manual;
		hyphens: manual;
		text-wrap: pretty;
}

.text h2,
.text h3 {
		-webkit-hyphens: none;
		hyphens: none;
		text-wrap: balance;
}


/*		G A L E R I E
----------------------------------------------- */

.bild {
		text-align: center;
		position: relative;
		left: -45px;
		margin-top: -75px;
}

.bild a:link, .bild a:visited {
		display: block;
		position: relative;
		border: 0;
}

.bild img {
		display: block;
		width: 410px;
		height: auto;
		border-bottom: 5px solid #111;
}

.bild a:focus-visible {
		outline: 2px solid #b9973a;
		outline-offset: -2px;
}


/*		S C H M U C K
----------------------------------------------- */

.stuecke {
		position: relative;
		width: 410px;
		height: 410px;
}

.stuecke .seiten {
		display: flex;
		width: 410px;
		height: 410px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
}

.stuecke .seiten::-webkit-scrollbar {
		display: none;
}

.stuecke .seite {
		flex: 0 0 410px;
		box-sizing: border-box;
		padding: 59px 60px 0 60px;
		display: flex;
		flex-wrap: wrap;
		align-content: flex-start;
		gap: 10px;
		scroll-snap-align: start;
}

.stueck {
		display: block;
		width: 83.16px;
		height: 83.16px;
		margin: 3.42px;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0.7px 0.7px 1.5px rgba(0, 0, 0, 0.38);
		transition: opacity 0.25s linear;
}

.stueck img {
		display: block;
		width: 90px;
		height: 90px;
		margin: -3.42px;
		object-fit: cover;
}

@media (hover: hover) {

#content:hover .stueck {
		opacity: .5;
}

}

:where(#content:has(.stueck:focus-visible)) .stueck {
		opacity: .5;
}

#content .stueck:hover,
#content .stueck:focus-visible {
		opacity: 1;
		outline: none;
}

.blaettern {
		position: absolute;
		top: 367px;
		left: 0;
		width: 410px;
		text-align: center;
		font-size: 45px;
		line-height: 20px;
}

.blaettern button {
		padding: 0 5px;
		color: #606060;
}

.blaettern button:hover,
.blaettern button:focus-visible,
.blaettern button[aria-current="true"] {
		color: #222;
		outline: none;
}

.blaettern button[aria-current="true"] {
		cursor: default;
}


/*		A K T U E L L E S
----------------------------------------------- */

.stuecke.aktuelles {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
		width: auto;
		height: auto;
		margin-top: 30px;
}

/*		D E T A I L
----------------------------------------------- */

.detail {
		width: 100%;
		height: 100%;
		max-width: none;
		max-height: none;
		box-sizing: border-box;
		padding: 16px 16px 70px;
		overflow: hidden;
		background: #efeeeb;
		color: #2c2b28;
}

.detail::backdrop {
		background: #efeeeb;
}

.detail[open] {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		animation: FadeMeIn 0.5s ease-in;
}

.detail .block {
		width: min(92vw, 900px);
		transform: translateY(-10px);
		transition: opacity 0.26s ease;
}

.detail .block.wechselt {
		opacity: 0;
}

.detail .buehne {
		position: relative;
		container-type: inline-size;
		width: min(90vw, 58dvh, 900px, var(--hoechstens, 900px));
		aspect-ratio: 1;
		margin: 0 auto;
		touch-action: pan-y pinch-zoom;
}

.detail .flaeche {
		position: absolute;
		inset: 0;
		background: #fff;
		overflow: hidden;
		transition: opacity 0.18s ease;
}

.detail .flaeche.blendet {
		opacity: 0;
}

.detail .flaeche img,
.detail .flaeche video {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		cursor: pointer;
		user-select: none;
		-webkit-user-drag: none;
}

.detail .textgrund,
.detail .thumb .textzeichen {
		position: absolute;
		inset: 0;
		overflow: hidden;
		isolation: isolate;
		background: #ece6e2 url("langtext-grund.jpg?1") center / cover no-repeat;
}

.detail .eigen::before,
.detail .eigen::after {
		content: "";
		position: absolute;
		z-index: -1;
}

.detail .eigen::before {
		inset: -12%;
		background: #ece6e2 var(--grund) center / 260% no-repeat;
		filter: blur(clamp(24px, 7cqi, 60px)) saturate(0.85);
}

.detail .eigen::after {
		inset: 0;
		background: rgba(241, 237, 233, 0.78);
}

.detail .thumb .eigen::before {
		filter: blur(8px) saturate(0.85);
}

.detail .textansicht {
		position: absolute;
		inset: 0;
		display: flex;
		box-sizing: border-box;
		padding: clamp(20px, 6%, 56px);
		overflow-y: auto;
		overscroll-behavior: contain;
		cursor: pointer;
		user-select: text;
}

.detail .textansicht:focus-visible {
		outline: 2px solid #816727;
		outline-offset: -2px;
}

.detail .langtext {
		margin: auto 0;
		font-family: "EB Garamond", Georgia, "Times New Roman", serif;
		font-style: italic;
		font-weight: 400;
		font-size: 18px;
		line-height: 1.4;
		letter-spacing: 0.01em;
		color: #2c2b28;
		hyphens: auto;
		text-wrap: pretty;
}

@container (min-width: 400px) {
	.detail .langtext {
		font-size: clamp(22px, 6px + 3.5cqi, 30px);
	}
}

.detail .langtext p + p {
		margin-top: 0.7em;
}

.detail .langtext a {
		color: #816727;
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.2em;
}

.detail .langtext a:hover {
		color: #5e4b1c;
}

.detail .langtext h2,
.detail .langtext h3 {
		margin: 0 0 0.35em;
		font: inherit;
		color: #816727;
}

.detail .langtext * + h2,
.detail .langtext * + h3 {
		margin-top: 1.1em;
}

.detail .spielen {
		position: absolute;
		right: 10px;
		bottom: 10px;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.85);
		color: #816727;
}

.detail .spielen[hidden] {
		display: none;
}

.detail .spielen .abspielen,
.detail .spielen.pausiert .anhalten {
		display: none;
}

.detail .spielen.pausiert .abspielen {
		display: block;
}

.detail .beschriftung {
		text-align: center;
		margin-top: 26px;
}

.detail .titel {
		font-family: "EB Garamond", Georgia, "Times New Roman", serif;
		font-style: italic;
		font-weight: 400;
		font-size: clamp(19px, 3vw, 24px);
		line-height: 1.3;
		letter-spacing: 0.01em;
}

.detail .masse {
		margin-top: 10px;
		font-size: 11px;
		line-height: 16px;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		color: #706a5f;
}

.detail .anfrage {
		margin-top: 18px;
		font-size: 11px;
		line-height: 16px;
		letter-spacing: 0.22em;
		text-transform: uppercase;
}

.detail .anfrage a {
		color: #816727;
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 5px;
}

.detail .anfrage a:hover,
.detail .anfrage a:focus-visible {
		color: #2c2b28;
}

.detail .reihe {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 10px;
}

.detail .reihe:empty {
		display: none;
}

.detail .thumb {
		position: relative;
		width: 72px;
		height: 72px;
		background: #fff;
		overflow: hidden;
		opacity: 0.55;
		outline: 1px solid transparent;
		outline-offset: 2px;
		transition: opacity 0.2s, outline-color 0.2s;
}

.detail .thumb:hover {
		opacity: 0.85;
}

.detail .thumb[aria-current="true"] {
		opacity: 1;
		outline-color: #816727;
}

.detail .thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
}

.detail .thumb .spiel {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: center;
		color: #816727;
}

.detail .thumb .textzeichen {
		display: grid;
		place-items: center;
		color: #816727;
}

.detail .thumb .spiel svg {
		box-sizing: content-box;
		padding: 7px 6px 7px 8px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.85);
}

.detail .stueck-nav {
		position: fixed;
		left: 50%;
		bottom: 22px;
		transform: translateX(-50%);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 26px;
}

.detail .zaehler {
		min-width: 84px;
		font-size: 12px;
		letter-spacing: 0.32em;
		text-transform: uppercase;
		text-align: center;
		color: #816727;
}

.detail .langpfeil {
		padding: 10px 4px;
		color: #816727;
		transition: color 0.2s, transform 0.2s;
}

.detail .langpfeil:hover {
		color: #5e4b1c;
}

.detail .vor:hover {
		transform: translateX(3px);
}

.detail .zurueck:hover {
		transform: translateX(-3px);
}

.detail .signet {
		position: fixed;
		left: 28px;
		bottom: 14px;
		font-family: "AK Arrows", Georgia, serif;
		font-size: 51px;
		line-height: 1;
		color: #9c7d2f;
		opacity: 0.8;
		cursor: pointer;
		user-select: none;
		transition: opacity 0.2s;
}

.detail .signet:hover {
		opacity: 1;
}

.detail .schliessen {
		position: fixed;
		right: 26px;
		bottom: 16px;
		width: 51px;
		height: 51px;
		color: #816727;
		transition: color 0.2s;
}

.detail .schliessen:hover,
.detail .schliessen:focus-visible {
		color: #5e4b1c;
}

.detail .schliessen svg {
		display: block;
		margin: auto;
}

.detail button:focus-visible {
		outline: 1px solid #816727;
		outline-offset: 4px;
		border-radius: 2px;
}


/*		B I L D A N S I C H T
----------------------------------------------- */

.detail:focus {
		outline: none;
}

.detail.galerie {
		touch-action: pan-y pinch-zoom;
}

.detail .bildflaeche {
		display: flex;
		flex-direction: column;
		align-items: center;
		transform: translateY(-10px);
}

.detail .bildflaeche img {
		display: block;
		max-width: 100%;
		height: auto;
		cursor: pointer;
		user-select: none;
		-webkit-user-drag: none;
		transition: opacity 0.4s linear;
}

.detail .bildflaeche img.wechselt {
		opacity: 0;
}

@media (max-height: 700px) {

.detail .beschriftung {
		margin-top: 16px;
}

.detail .anfrage {
		margin-top: 12px;
}

}

@media (max-width: 480px) {

.detail .stueck-nav {
		gap: 10px;
}

.detail .zaehler {
		min-width: 72px;
		letter-spacing: 0.2em;
		white-space: nowrap;
}

.detail .signet {
		left: 12px;
}

.detail .schliessen {
		right: 0;
}

.detail .langpfeil svg {
		width: 38px;
		height: auto;
}

}

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

.detail[open],
.detail .bildflaeche img,
.detail .block,
.detail .flaeche,
.detail .thumb,
.detail .langpfeil,
.stuecke .seiten,
nav li::after,
#homepage #ring,
#homepage nav li,
#homepage #content {
		animation: none;
		transition: none;
}

.stuecke .seiten {
		scroll-behavior: auto;
}

}


/*		R E S P O N S I V E
----------------------------------------------- */

@media screen and (max-width: 900px), screen and (max-height: 600px) {

#wrapper {
		width: 450px;
		height: auto;
		margin: 15px auto;
		position: relative;
		inset: auto;
}

#ring {
		left: 0;
		right: 0;
		top: 200px;
		margin: 0 auto;
}

#content {
		left: 0;
		right: 0;
		top: 220px;
		margin: 0 auto;
}

#wrapper nav li[class] {
		position: relative;
		inset: auto;
		display: inline-block;
		vertical-align: top;
		margin: 0 10px;
}

#prim {
		width: 450px;
		margin: 0 auto 15px auto;
		text-align: center;
}

#sec {
		width: 450px;
		margin: 0 auto;
		text-align: center;
}

#tert {
		width: 450px;
		margin: 490px auto 0 auto;
		padding-bottom: 20px;
		text-align: center;
}

#prim + #tert {
		margin-top: 575px;
}

}
