/*
 * Deine Hochzeitsredner – Rahmen und Grundtypografie.
 *
 * Werte nachgemessen an deine-hochzeitsredner.de (Hello Elementor 2.6.1, Elementor-Kit 14,
 * Header-Vorlage 19, Footer-Vorlage 109, Popups 287/299), Stand 25.10.2026.
 */

/* ---------- Schriften (lokal, SIL OFL – siehe assets/fonts/OFL-*.txt) ---------- */

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/open-sans.woff2") format("woff2");
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/open-sans-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display.woff2") format("woff2");
}

@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-italic.woff2") format("woff2");
}

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

/* ---------- Variablen ---------- */

:root {
	--hr-rose: #e6b1b3;
	--hr-text: #808080;
	--hr-heading: #1a1a1a;
	--hr-footer: #5a5a5a;
	--hr-dropdown-text: #494c4f;
	--hr-font-body: "Open Sans", sans-serif;
	--hr-font-script: "Niconne", sans-serif;
	--hr-font-serif: "Playfair Display", serif;
	--hr-admin-bar: 0px;
}

.admin-bar {
	--hr-admin-bar: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	/* WordPress' Werkzeugleiste scrollt auf dem Handy mit. */
	.admin-bar {
		--hr-admin-bar: 0px;
	}
}

/* ---------- Grundlage (wie Hello Elementor + Kit) ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background-color: #fff;
	color: var(--hr-text);
	font-family: var(--hr-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
	body {
		font-size: 12px;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	color: var(--hr-heading);
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
}

h1,
h2 {
	font-family: var(--hr-font-script);
	font-size: 3.6em;
}

/* Hello war live so angepasst, dass alle h3 Playfair nutzen – auch in Elementor-Widgets. */
h3 {
	font-family: var(--hr-font-serif) !important;
	font-size: 1.4em;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 0.9rem;
}

a {
	background-color: transparent;
	color: var(--hr-rose);
	text-decoration: none;
}

a:hover,
a:active {
	color: #336;
}

b,
strong {
	font-weight: bolder;
}

small {
	font-size: 80%;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

figcaption {
	color: #333;
	font-size: 16px;
	font-style: italic;
	line-height: 1.4;
}

dd,
dl,
dt,
li,
ol,
ul {
	margin-top: 0;
	margin-bottom: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
}

table {
	width: 100%;
	margin-bottom: 15px;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9em;
}

table td,
table th {
	padding: 15px;
	border: 1px solid rgba(128, 128, 128, 0.5);
	line-height: 1.5;
	vertical-align: top;
}

hr {
	height: 0;
	overflow: visible;
	box-sizing: content-box;
}

/* Formulare (Hello-Grundstil; Contact Form 7 bekommt unten eigene Regeln) */

label {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
	width: 100%;
	padding: 0.5rem 1rem;
	border: 1px solid #666;
	border-radius: 3px;
	transition: all 0.3s;
}

input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	border-color: #333;
}

textarea {
	overflow: auto;
	resize: vertical;
}

[type="button"],
[type="submit"],
button {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--hr-rose);
	border-radius: 3px;
	background-color: transparent;
	color: var(--hr-rose);
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	transition: all 0.3s;
	user-select: none;
}

[type="button"]:hover,
[type="submit"]:hover,
button:hover,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
button:focus-visible {
	background-color: var(--hr-rose);
	color: #fff;
}

[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
	cursor: pointer;
}

/* ---------- Barrierefreiheit ---------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal !important;
}

.skip-link:focus {
	top: calc(var(--hr-admin-bar) + 5px);
	left: 5px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	background-color: #eee;
	color: #333;
	font-size: 1rem;
	line-height: normal;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--hr-rose);
	outline-offset: 3px;
}

.site-header :focus-visible {
	outline-color: #fff;
}

/* Elementor-Menüanker: beim Springen nicht unter dem festen Header verschwinden. */
.elementor-menu-anchor,
[id] {
	scroll-margin-top: calc(var(--hr-admin-bar) + 90px);
}

#content {
	scroll-margin-top: 0;
}

#content:focus {
	outline: 0;
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: var(--hr-admin-bar);
	left: 0;
	z-index: 999;
	width: 100%;
	padding: 30px;
	background-color: transparent;
	background-image: linear-gradient(180deg, #00000094 0%, #00000000 100%);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.site-logo img {
	width: 200px;
	max-width: 100%;
	height: auto;
}

.site-title-text {
	color: #fff;
	font-family: var(--hr-font-script);
	font-size: 28px;
	line-height: 30px;
}

.main-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation .menu > li + li {
	margin-left: 35px;
}

.main-navigation .menu a {
	display: block;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
	transition: color 0.4s;
}

.main-navigation .menu a:hover,
.main-navigation .menu a:focus-visible,
.main-navigation .menu a.is-active {
	color: var(--hr-rose);
}

.menu-toggle {
	display: none;
}

.site-header .social-link {
	display: block;
	margin-left: 20px;
	color: #fff;
	line-height: 0;
	transition: color 0.3s;
}

.site-header .social-link:hover,
.site-header .social-link:focus-visible {
	color: var(--hr-rose);
}

.hr-icon {
	display: block;
	width: 1em;
	height: 1em;
}

.site-header .hr-icon-instagram {
	width: 25px;
	height: 25px;
}

/* Tablet und Handy: Burger, Liste klappt über die ganze Breite unter dem Header auf. */
@media (max-width: 1024px) {
	.main-navigation {
		margin-left: auto;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 5.5px;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #fff;
		font-size: 22px;
	}

	.menu-toggle:hover,
	.menu-toggle:focus-visible {
		background: transparent;
		color: #fff;
	}

	.menu-toggle-close,
	.main-navigation.is-open .menu-toggle-open {
		display: none;
	}

	.main-navigation.is-open .menu-toggle-close {
		display: block;
	}

	.js .main-navigation .menu {
		display: none;
	}

	.main-navigation .menu {
		position: absolute;
		top: 100%;
		left: 0;
		flex-direction: column;
		width: 100%;
		background-color: #fff;
	}

	.js .main-navigation.is-open .menu {
		display: flex;
	}

	.main-navigation .menu > li + li {
		margin-left: 0;
	}

	.main-navigation .menu a {
		padding: 10px 20px;
		color: var(--hr-dropdown-text);
		font-size: 13px;
	}

	.main-navigation .menu a:hover,
	.main-navigation .menu a:focus-visible,
	.main-navigation .menu a.is-active {
		background-color: #55595c;
		color: #fff;
	}

	.site-header :focus-visible {
		outline-color: var(--hr-rose);
	}
}

@media (max-width: 767px) {
	/* Live war das Instagram-Icon im Handy-Header ausgeblendet. */
	.site-header .social-link {
		display: none;
	}
}

/* ---------- Standardseiten (Hello-Breiten) ---------- */

.site-main,
.page-header .entry-title {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.site-main {
	padding-top: 120px;
	padding-bottom: 40px;
}

body[class*="elementor-page-"] .site-main {
	max-width: none;
}

@media (max-width: 575px) {
	.site-main {
		padding-right: 10px;
		padding-left: 10px;
	}
}

@media (min-width: 576px) {
	.site-main {
		max-width: 500px;
	}
}

@media (min-width: 768px) {
	.site-main {
		max-width: 600px;
	}
}

@media (min-width: 992px) {
	.site-main {
		max-width: 800px;
	}
}

@media (min-width: 1200px) {
	.site-main {
		max-width: 1140px;
	}
}

.page-content a {
	text-decoration: underline;
}

.post-list-item + .post-list-item {
	margin-top: 2rem;
}

.post-list-title {
	font-family: var(--hr-font-serif);
	font-size: 1.6em;
}

.nav-links {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin-top: 1rem;
}

/* Elementor-Vorlagen „Full Width“/„Canvas“: kein zusätzlicher Abstand vom Theme. */
.elementor-template-full-width .site-main,
.elementor-template-canvas .site-main {
	padding: 0;
}

/* ---------- Footer ---------- */

.site-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 50px 10px;
	text-align: center;
}

.site-footer .social-link {
	display: block;
	color: var(--hr-footer);
	line-height: 0;
	transition: color 0.3s;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
	color: var(--hr-rose);
}

.site-footer .hr-icon-instagram {
	width: 20px;
	height: 20px;
}

.site-info {
	margin: 0;
}

.footer-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-navigation .menu > li + li {
	margin-left: 40px;
}

/* Höhere Spezifität als „.elementor-kit-14 a“ (Kit-Linkfarbe rosé). */
.site-footer .footer-navigation a {
	display: block;
	color: var(--hr-footer);
	line-height: 20px;
	transition: color 0.4s;
}

.site-footer .footer-navigation a:hover,
.site-footer .footer-navigation a:focus-visible {
	color: var(--hr-rose);
}

@media (max-width: 767px) {
	.footer-navigation .menu > li + li {
		margin-left: 20px;
	}
}

/* ---------- Profil-Popups (statt Elementor-Pro-Popups 287/299) ---------- */

.hr-popup {
	width: 640px;
	max-width: calc(100vw - 20px);
	max-height: calc(100dvh - 20px);
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 20px;
	background: #fff;
	color: var(--hr-text);
	box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
	overscroll-behavior: contain;
}

.hr-popup::backdrop {
	background-color: #fff7f7a3;
}

.hr-popup[open] {
	animation: hr-fade-in 0.3s;
}

@keyframes hr-fade-in {
	from {
		opacity: 0;
	}
}

html.hr-popup-open {
	overflow: hidden;
}

.hr-popup-close {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	margin: 0 0 -40px auto;
	padding: 10px;
	border: 0;
	background: transparent;
	color: var(--hr-rose);
	font-size: 20px;
}

.hr-popup-close:hover,
.hr-popup-close:focus-visible {
	background: transparent;
	color: var(--hr-heading);
}

@media (max-width: 1024px) {
	.hr-popup-close {
		font-size: 30px;
	}
}

.hr-popup-fallback {
	padding: 50px;
}

.hr-popup-fallback img {
	display: block;
	width: 150px;
	margin: 0 auto 20px;
}

.hr-popup-fallback ul {
	margin-bottom: 0.9rem;
	padding-left: 1.2em;
}

@media (max-width: 767px) {
	.hr-popup-fallback {
		padding: 50px 20px 20px;
	}
}

/* ---------- Kontaktformular (Contact Form 7 statt Elementor-Pro-Formular) ---------- */

.hr-kontaktformular p {
	margin: 0 0 20px;
}

.hr-kontaktformular .hr-form-row {
	display: flex;
	gap: 20px;
}

.hr-kontaktformular .hr-form-half {
	flex: 1 1 0;
	min-width: 0;
}

.hr-kontaktformular .wpcf7-form-control-wrap {
	display: block;
}

.hr-kontaktformular input[type="text"],
.hr-kontaktformular input[type="email"],
.hr-kontaktformular textarea {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	background-color: #fff;
	color: #1f2124;
	font-size: 15px;
	line-height: 21px;
}

.hr-kontaktformular textarea {
	height: 138px;
	padding: 5px 14px;
}

.hr-kontaktformular ::placeholder {
	color: #757575;
	opacity: 1;
}

.hr-kontaktformular .hr-form-submit {
	margin-bottom: 0;
	text-align: center;
}

.hr-kontaktformular .wpcf7-submit {
	min-height: 40px;
	padding: 0 30px;
	border: 0;
	border-radius: 0;
	background-color: #404040;
	color: #fff;
	font-size: 15px;
	line-height: 15px;
	text-transform: uppercase;
	transition: background-color 0.3s;
}

.hr-kontaktformular .wpcf7-submit:hover,
.hr-kontaktformular .wpcf7-submit:focus-visible {
	background-color: var(--hr-rose);
	color: #fff;
}

.hr-kontaktformular .wpcf7-spinner {
	position: absolute;
	margin: 12px 0 0 10px;
}

.hr-kontaktformular .wpcf7-not-valid-tip {
	margin-top: 4px;
	color: #c0392b;
	font-size: 13px;
}

.hr-kontaktformular .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 10px 15px !important;
	text-align: center;
}

@media (max-width: 767px) {
	.hr-kontaktformular .hr-form-row {
		flex-direction: column;
		gap: 0;
	}
}

/* ---------- Galerie (Elementor „Basic Gallery“ statt Pro-Galerie: Raster 3:2, 10 px Abstand) ---------- */

.hr-galerie .gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 !important;
}

.hr-galerie .gallery-item {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hr-galerie .gallery-icon,
.hr-galerie .gallery-icon a {
	display: block;
	overflow: hidden;
}

.hr-galerie .gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	border: 0 !important;
	object-fit: cover;
	transition: transform 0.5s;
}

.hr-galerie .gallery-icon a:hover img,
.hr-galerie .gallery-icon a:focus-visible img {
	transform: scale(1.05);
}

.hr-galerie .gallery br {
	display: none;
}

@media (max-width: 767px) {
	.hr-galerie .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Stimmen der Paare (ElementsKit-Testimonial statt Pro-Karussell) ----------
 * Live: Bild 150 px rund oben, Text 16,8 px dünn und zentriert, Name fett kursiv, Pfeile und Punkte rosé.
 */

.hr-stimmen .elementskit-testimonial-slider {
	padding: 0 28px 40px;
}

.hr-stimmen .elementskit-single-testimonial-slider {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	margin: 0 !important;
	padding: 20px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
}

.hr-stimmen .elementskit-commentor-bio {
	display: contents !important;
}

.hr-stimmen .elementskit-commentor-image {
	order: 1;
	margin: 0 0 20px !important;
}

.hr-stimmen .elementskit-commentor-image img {
	width: 150px !important;
	height: 150px !important;
	border-radius: 999px !important;
	object-fit: cover;
}

.hr-stimmen .elementskit-commentor-content {
	order: 2;
	margin: 0 0 20px;
	padding: 0 !important;
}

.hr-stimmen .elementskit-commentor-content p {
	margin: 0;
	color: var(--hr-text) !important;
	font-family: var(--hr-font-body);
	font-size: 1.2em;
	font-weight: 200;
	line-height: 1.5;
}

.hr-stimmen .elementskit-profile-info {
	order: 3;
	margin: 0 !important;
	text-align: center;
}

.hr-stimmen .elementskit-author-name {
	display: block;
	margin: 0 !important;
	color: var(--hr-text) !important;
	font-size: 14px !important;
	font-style: italic;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

.hr-stimmen .elementskit-author-des:empty {
	display: none;
}

.hr-stimmen .swiper-navigation-button {
	width: 30px !important;
	height: 30px !important;
	margin-top: -15px;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--hr-rose) !important;
	font-size: 30px !important;
	line-height: 1 !important;
}

.hr-stimmen .swiper-navigation-button i,
.hr-stimmen .swiper-navigation-button svg {
	color: var(--hr-rose) !important;
	fill: var(--hr-rose) !important;
	font-size: 30px;
}

.hr-stimmen .swiper-button-prev {
	left: 10px !important;
}

.hr-stimmen .swiper-button-next {
	right: 10px !important;
}

.hr-stimmen .swiper-pagination {
	bottom: 0 !important;
}

.hr-stimmen .swiper-pagination-bullet {
	width: 6px !important;
	height: 6px !important;
	margin: 0 6px !important;
	background: var(--hr-rose) !important;
	opacity: 0.2;
}

.hr-stimmen .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.hr-stimmen .elementskit-testimonial-slider {
		padding: 0 30px 40px;
	}

	.hr-stimmen .swiper-button-prev {
		left: 0 !important;
	}

	.hr-stimmen .swiper-button-next {
		right: 0 !important;
	}
}

.hr-stimmen .ekit-main-swiper {
	overflow: hidden;
}

/* Wie live: jede Karte so hoch wie ihr Inhalt, nicht auf die längste gestreckt. */
.hr-stimmen .swiper-wrapper {
	align-items: flex-start;
}

.hr-stimmen .swiper-slide,
.hr-stimmen .swiper-slide-inner {
	height: auto !important;
}

/* ---------- Profile „Kurz zu uns“ (ersetzt Pro-Custom-CSS der Spalten a22e7ac/6c598dd) ---------- */

.hr-profil h3,
.hr-profil h3 a {
	transition: color 0.3s;
}

.hr-profil:hover h3,
.hr-profil:hover h3 a {
	color: var(--hr-rose);
}

.hr-profil span {
	margin-right: 0;
	margin-left: 0;
	transition: all 0.3s;
}

.hr-profil:hover span {
	margin-right: -5px;
	margin-left: 5px;
}

.hr-profil img {
	transform: scale(1, 1);
	transition: all 0.3s;
}

.hr-profil:hover img {
	transform: scale(1.05, 1.05);
}
