/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Variable Schriften (lokal) */
@font-face {
	font-family: "Archivo VF";
	src: url("fonts/archivo-vf.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Newsreader VF";
	src: url("fonts/newsreader-italic-vf.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

/* Newsreader (immer kursiv): H2 */
body.elementor-kit-6 h2 {
	font-family: "Newsreader VF", "Newsreader", serif;
}

/* Archivo: Body, übrige Überschriften, Text */
body.elementor-kit-6,
body.elementor-kit-6 h1,
body.elementor-kit-6 h3,
body.elementor-kit-6 h4,
body.elementor-kit-6 h5,
body.elementor-kit-6 h6,
body.elementor-kit-6 p,
body.elementor-kit-6 li {
	font-family: "Archivo VF", "Archivo", sans-serif;
}

/* Alle Kursiven werden in Newsreader dargestellt */
em,
i:not([class]),
.ht-auszeichnung {
	font-style: italic;
	font-weight: var(--e-global-typography-accent-font-weight, 500);
	font-optical-sizing: auto;
	font-size: 1.07em;
	color: #731F13;
}
em,
em *,
i:not([class]),
i:not([class]) *,
.ht-auszeichnung,
.ht-auszeichnung * {
	font-family: "Newsreader VF", "Newsreader", Georgia, serif !important;
}

/* Achsen nutzen: per CSS-Klasse in Elementor (Erweitert → CSS-Klassen) */
.ht-schmal { font-stretch: 80%; }
.ht-gewicht-fein { font-weight: 372; }

/* Eigene Tests */
h1 {font-stretch:67%;font-weight:457 !important;text-align:center !important;margin-bottom:1.67rem !important;}
h2 {font-weight:527 !important;margin-bottom:0 !important;}
h5 {font-family: "Newsreader VF" !important;font-size:1.77rem;font-weight:530 !important;color:#595959 !important;line-height:1.5 !important;}
h6 {font-stretch:83%;font-weight:470 !important;}
p, ul {margin-left: 3rem;font-stretch:83%;font-weight:470 !important;}

/* ==========================================================
   Navigation (Header + Footer, Header-Footer-Builder)
   Werte hier zentral einstellen
   ========================================================== */
:root {
	--ht-nav-stretch: 67%;     /* Archivo-Breite, 62–125% */
	--ht-nav-weight: 570;      /* Archivo-Gewicht, 100–900 */
	--ht-nav-tracking: 0.01em; /* Buchstabenabstand */
	--ht-footer-gap: 2.7rem;   /* Abstand Footer-Menü → Copyright-Zeile */
}

body.elementor-kit-6 .tahefobu-nav-menu-container a,
body.elementor-kit-6 .tahefobu-mobile-nav-menu-container a {
	font-family: "Archivo VF", "Archivo", sans-serif !important;
	font-stretch: var(--ht-nav-stretch) !important;
	font-weight: var(--ht-nav-weight) !important;
	letter-spacing: var(--ht-nav-tracking);
}

/* Copyright-Zeile im Footer (manuell als Text-Element angelegt).
   Entweder dem Text-Element die CSS-Klasse "ht-copyright" geben
   oder den Footer-Selektor nutzen (Annahme: ID #tahefobu-footer). */
body.elementor-kit-6 .ht-copyright,
body.elementor-kit-6 #tahefobu-footer p {
	margin-left: 0;                    /* hebt das globale p { margin-left: 3rem } auf */
	margin-block-start: var(--ht-footer-gap);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* Abstand nach oben, damit der Header die Überschrift nicht verdeckt */
#Chorleitung, #Galerie { scroll-margin-top: 6rem; }

.ht-nach-oben {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 999;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	/* background: var(--e-global-color-secondary, #333); */
	background: rgba(194,49,29,0.5);
	background: rgba(194, 49, 29, 1);
	color: #000;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(.5rem);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.ht-nach-oben svg,
.ht-nach-oben i {
	color: #fff;
	fill: #fff;
}
.ht-nach-oben.ist-sichtbar {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.ht-nach-oben:hover,
.ht-nach-oben:focus-visible {
	filter: brightness(1.15);
	filter: brightness(1.7);
}
@media (prefers-reduced-motion: reduce) {
	.ht-nach-oben { transition: none; }
}
/* Mobile Menu verschwinden lassen */
@media (max-width: 1024px) {
	/* Hamburger + mobiles Dropdown weg */
	.elementor-widget-tahefobu-navigation-menu .tahefobu-mobile-nav-menu-container,
	.elementor-widget-tahefobu-navigation-menu [class*="menu-toggle"] {
		display: none !important;
	}

	/* Desktop-Menü auch auf Tablet/Mobil anzeigen */
	.elementor-widget-tahefobu-navigation-menu .tahefobu-nav-menu-container {
		display: block !important;
	}
	.elementor-widget-tahefobu-navigation-menu ul.tahefobu-nav-menu {
		display: flex !important;
		flex-direction: row;
		justify-content: center;
		gap: 1rem;
	}
}
/* 4×4-Raster Bubbles */
.kreis-raster > .e-con,
.kreis-raster > .e-con-inner > .e-con {
  aspect-ratio: 1 / 1;
  min-height: 0;
  container-type: inline-size;
	padding: 0;
}

.kreis {
  width: 100%;
  height: 100cqw;
  border-radius: 50%;
  overflow: hidden;
}	
.kreis a:hover {
  background-color: #fff !important;
  color: #C2311D !important;
}
	.kreis a {
  background-color: #C2311D !important;
  color: #fff !important;
}
.kreis-raster > .e-con,
.kreis-raster > .e-con-inner > .e-con {
  padding: 3px;
}

/*.kreis .ufae-flipbox-inner,
.kreis .ufae-flipbox-front,
.kreis .ufae-flipbox-back {
  border-radius: 50%;
  backface-visibility: hidden;
}
.kreis .ufae-flipbox-front,
.kreis .ufae-flipbox-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}*/