/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
	font-family: 'remanregular';
	src: url('fonts/reman-webfont.woff2') format('woff2'),
		url('fonts/reman-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap; /* für bessere Lade-Performance */
}

/* marcellus-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: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/marcellus-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-100 - 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: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/lato-v25-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-100italic - 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: 'Lato';
  font-style: italic;
  font-weight: 100;
  src: url('fonts/lato-v25-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-300 - 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: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v25-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-300italic - 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: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/lato-v25-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-italic - 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: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/lato-v25-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700italic - 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: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/lato-v25-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-900 - 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: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/lato-v25-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-900italic - 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: 'Lato';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/lato-v25-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* GeneratePress Site CSS */
p {
    margin-bottom: 0.9em;
}

/*** TABELLE ***/
.wp-block-table table {
	border: 0px;
}

.wp-block-table td, .wp-block-table th {
	padding: 12px 0px;
	border: 0px;
}

.wp-block-table tr {
	border-top: 0px;
	border-bottom: 1px;
	border-left: 0px;
	border-right: 0px;
	border-style: solid;
	border-color: rgba(0,0,0,1.0);
}

.footer-widgets .wp-block-table tr {
	border-color: rgba(255,255,255,1.0);
}

/** FORMULAR **/
.wpcf7-list-item {
  margin: 0 5px 0 5px;
}
form.wpcf7-form label {
  margin-bottom: 15px;
}

.wpcf7 input:not([type=submit]), 
.wpcf7 select, 
.wpcf7 textarea {
	width: 100%;
	padding: 8px 15px;
}

.wpcf7 button,
.wpcf7 html input[type="button"],
.wpcf7 input[type="reset"],
.wpcf7 input[type="submit"],
.wpcf7 a.button,
.wpcf7 a.wp-block-button__link:not(.has-background) {
	color: var(--kraftorange);
	background-color: #fff;
	border-radius:50px;
}

/** ELEMENTE **/

hr {
	background-color: rgba(0, 0, 0, .1);
	border: 0;
	height: 1px;
	margin-bottom: 40px;
	margin-top: 40px;
}

.wp-block-separator {
	border: 0;
}

/*** A11Y-SLIDER STRETCH URLs ***/

/* Die Karte/Slide ist der Bezugspunkt */
.is-slide-card { position: relative; }

/* Der Link selbst bleibt statisch – WICHTIG! */
.is-slide-card .stretched-link { 
	position: static; /* kein z-index hier */ 
	z-index: 2;
}

/* Overlay: macht die ganze Karte klickbar */
.is-slide-card .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;         /* top/right/bottom/left: 0 -> volle Karte */
}

/* Im a11ySlider sollen versteckte Slides keine Klicks fangen */
.a11y-slider [aria-hidden="true"] .stretched-link { pointer-events: none; }
