/*!
Theme Name: kulac
Theme URI: https://www.kulac-partner.at/
Author: Harald Zettler
Author URI: https://www.zettler.at/
Description: Kulac & Partner
Version: 1.0.2
Text Domain: kulac

/* =Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: none;
}
del {
	text-decoration: line-through;
}

table {
	border-spacing: 0;
}
a img {
	border: none;
}
img {
	vertical-align: middle;
}


html {
	scroll-behavior: smooth;
}

/* =Colors
-------------------------------------------------------------- */

:root {
	--color-hintergrund: #ffffff; /* Seitenhintergrund */
	--color-hintergrund-grau: #f5f5f5; /* Hintergrund Hell */
	--color-hintergrund-gruen: #12312b; /* Hintergrund Grün */
	--color1: #222222; /* Textfarbe */
	--color1a: #1a2a3a; /* Primärfarbe 1 */
	--color1b: #2c3e50; /* Primärfarbe 2 */
	--color2: #c0a060; /* Sonderfarbe2 */
	--color-footer-text: #767676; /* AA-konformes Grau auf Weiß (4,54:1) */
}

.color1{ color:var(--color1); }
.color2{ color:var(--color2); }
.color3{ color:var(--color3); }
.color4{ color:var(--color4); }

a {
	color: color:var(--color2);
}
a:hover {
	color: color:var(--color2-hover);
}

/* =Schriften
-------------------------------------------------------------- */

/* montserrat-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* =Basic
-------------------------------------------------------------- */

body {
	background:#fff;
	font-size:1em;
	line-height:1.7em;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	font-family: 'Open Sans';
	overflow-x: hidden;
}

strong, b {
	font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	line-height: 1.2;
	font-family: 'Montserrat', sans-serif;
}

h1,
h2 {
	font-size: 2rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	margin: 1rem 0 0;
}

h1::after,
h2::after {
	content: '';
	display: block;
	height: 0.125rem;
	width: 6.25rem;
	background: #999999;
	margin: 0.75rem auto 2.5rem;
}
h3 {
	font-size: 1.375rem;
	margin: 1rem 0 0.75rem 0;
}
h4 {
	font-size: 1.25rem;
	margin: 1rem 0 0.75rem 0;
	font-weight: 400;
}

h5 {
	font-size: 1.125rem;
	margin: 1rem 0 0.75rem 0;
}

hr {
	width:100%;
	border-top: 1px solid #333;
	border-bottom: none;
	clear: both;
	height: 0;
	margin: .75rem 0;
	padding: 0;
}

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

.alignleft {
	float:left;
	margin: 0 1em 1em 0;
}
.alignright {
	float:right;
	margin: 0 0 1em 1em;
}
.aligncenter, .center {
	text-align:center;
	display:block;
	margin-left:auto;
	margin-right:auto;
}


/* =Struktur
-------------------------------------------------------------- */

.header-center,
.content-center,
.footer-center{
	min-width:18rem;
	width: 90%;
	margin:0 5%;
}
/* =960px */
@media screen and (min-width: 66.66rem) {

	.header-center,
	.content-center,
	.footer-center {
		width: 60rem;
		margin:0 auto;
	}
}

/* =Hero Section (Startseite)
-------------------------------------------------------------- */

.hero-section {
	height: 37.5rem;
	background: var(--color-hintergrund-gruen);
	position: relative;
	overflow: hidden;
}

.hero-inner {
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	padding: 0 2rem;
	will-change: transform, opacity;
}

.hero-logo-wrap {
	margin: 0 0 1.5rem;
	font-size: 0;
	line-height: 0;
}

.hero-logo-wrap::after {
	content: none;
}

.hero-logo {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 30rem;
	height: auto;
}

.hero-tagline {
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 2.5rem;
}

.hero-cta {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	border: 1px solid #fff;
	padding: 0.875rem 2rem;
	transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
	background: #fff;
	color: var(--color-hintergrund-gruen);
}


/* =Header & Navigation
-------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	overflow: visible;
}

.site-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 6px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 3.25rem;
	overflow: visible;
	padding: 0 2rem;
	max-width: 72rem;
	margin: 0 auto;
}

.header-logo {
	align-self: start;
	background: var(--color-hintergrund-gruen);
	width: 4rem;
	height: 4rem;
	flex-shrink: 0;
	overflow: hidden;
}

.header-logo a {
	display: block;
}

.header-logo img {
	display: block;
	width: 4rem;
	height: 4rem;
}

/* Desktop navigation */
.nav-left,
.nav-right {
	display: flex;
	position: relative;
	top: -0.5rem;
}

.nav-left { justify-content: flex-end; padding-right: 2rem; }
.nav-right { justify-content: flex-start; padding-left: 2rem; }

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2.25rem;
}

.nav-list a {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #999;
	display: inline-block;
	padding: 0.65rem 0 0.35rem;
	line-height: 1;
	transition: color 0.15s;
}

.nav-list a:hover {
	color: #000;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: var(--color1);
}

/* Mobile toggle button — hidden on desktop */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	width: 2.25rem;
	height: 2.25rem;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
}

.menu-toggle span {
	display: block;
	width: 1.5rem;
	height: 2px;
	background: var(--color1);
	transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.mobile-nav {
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav-list + .mobile-nav-list {
	margin-top: 0.25rem;
}

.mobile-nav-list li a {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color1);
	display: block;
	padding: 0.625rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-list li a:hover {
	color: var(--color2);
}

/* Mobile breakpoint */
@media screen and (max-width: 47.999em) {

	.header-inner {
		position: relative;
		grid-template-columns: 1fr auto 1fr;
		padding: 0 1.25rem;
	}

	.nav-left,
	.nav-right {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}
}

/* Desktop — ensure toggle never shows */
@media screen and (min-width: 48em) {
	.mobile-nav {
		display: none !important;
	}
}


/* =Content
-------------------------------------------------------------- */

.site-main {
	padding: 1rem 0 3rem;
}

.page-content p {
	padding-bottom:1rem;
}

/* =Kontaktformular
-------------------------------------------------------------- */

.kontaktformular-spalten {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 1.5rem;
	align-items: stretch;
}

.kontaktformular-links {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.kontaktformular-rechts {
	display: flex;
	flex-direction: column;
}

.kontaktformular .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.9rem 1rem;
	background: #f5f5f5;
	border: none;
	border-radius: 3px;
	-webkit-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	color: #333;
	transition: background 0.2s;
}

.kontaktformular input[type="text"]::placeholder,
.kontaktformular input[type="email"]::placeholder,
.kontaktformular textarea::placeholder {
	color: #999;
}

.kontaktformular input[type="text"]:focus,
.kontaktformular input[type="email"]:focus,
.kontaktformular textarea:focus {
	outline: none;
	background: #e8e8e8;
}

.kontaktformular textarea {
	flex: 1;
	resize: none;
	min-height: 10rem;
}

.kontaktformular-datenschutz {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.5;
}

.kontaktformular-datenschutz .wpcf7-acceptance {
	flex-shrink: 0;
	padding-top: 0.2rem;
}

.kontaktformular-datenschutz .wpcf7-acceptance input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border-radius: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background: #fff;
	border: 2px solid #000;
	flex-shrink: 0;
	position: relative;
	box-shadow: none;
}

.kontaktformular-datenschutz .wpcf7-acceptance input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 0px;
	width: 6px;
	height: 11px;
	border: 2px solid #000;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}

.kontaktformular-captcha {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.kontaktformular-submit {
	display: flex;
	justify-content: center;
	margin: 0;
}

.kontaktformular input[type="submit"] {
	background: var(--color1);
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 0.875rem 2.5rem;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: opacity 0.2s;
}

.kontaktformular input[type="submit"]:hover {
	opacity: 0.75;
}

.kontaktformular .wpcf7-not-valid-tip {
	display: block;
	font-size: 0.75rem;
	color: #e93735;
	margin-top: 0.25rem;
}

.kontaktformular .wpcf7-response-output {
	margin: 1rem 0;
	padding: 0.4rem 1rem;
	border-radius: 3px;
	text-align: center;
}

.kontaktformular .wpcf7-validation-errors {
	background: #e93735;
	color: #fff;
	border: none;
}

.kontaktformular .wpcf7-mail-sent-ok {
	background: #398f14;
	color: #fff;
	border: none;
}

@media screen and (max-width: 47.999em) {
	.kontaktformular-spalten {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.kontaktformular textarea {
		min-height: 10rem;
	}
}


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

.footer-map {
	height: 31.25rem;
	background: var(--color-hintergrund-grau);
}

.footer-header {
	height: 4rem;
	background: linear-gradient(to bottom, #ffffff, var(--color-hintergrund-grau));
}

.site-footer {
	text-align: center;
}

.footer-bottom {
	position: relative;
	padding: 2.5rem 0 3.5rem 0;
}

.back-to-top {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--color-hintergrund-gruen);
	text-decoration: none;
	cursor: pointer;
}

.back-to-top-icon {
	display: block;
	position: absolute;
	left: 0.6875rem;
	top: 0.875rem;
	width: 1.125rem;
	height: 0.6875rem;
	background-image: url('images/menu_bottom_top_bg.png');
	background-size: 1.125rem 1.375rem;
	background-position: 0 0;
	background-repeat: no-repeat;
	transition: background-position 0.3s linear;
}

.back-to-top:hover .back-to-top-icon {
	animation: back-to-top-scroll 0.3s linear infinite;
}

@keyframes back-to-top-scroll {
	0%   { background-position: 0 0; }
	100% { background-position: 0 -0.6875rem; }
}

.footer-center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	flex-wrap: wrap;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.875rem;
	color: var(--color-footer-text);
}

.footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.375rem;
}

.footer-navigation ul::before {
	content: '–';
}

.footer-navigation a {
	color: var(--color-footer-text);
	text-decoration: none;
}

.footer-navigation a:hover {
	color: var(--color2);
}