/*!
Theme Name: werderweintraining
Theme URI: http://underscores.me/
Author: Jann-Hendrik Tjards
Author URI: http://tjards.com
Description: Das Maßgeschneiderte Theme für Frank Werder
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 8.1

Text Domain: werderweintraining

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/

:root {
	/* Colors */
	--color_text: #333;

	--color_dark: #151515;
	--color_grey: #a2a2a2;
	--color_offwhite: #eee;
	--color_white: #fff;

	--color_red: #A6192E;
	--color_redonblack: #E5435B;
	--color_burgund: #3E2B2E;
	--color_green: #BABC16;
	--color_rose: #F3E2CA;

	/* Typo */
	--font_family_body: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Helvetica Neue", sans-serif;
	--font_family_headline: 'Sorts Mill Goudy', 'Georgia', serif;

	--font_size_body: 1.125rem;
	/* 18px */
	--line_height_body: 1.75;

	--font_size_headline: 2.375rem;
	/* 38px */
	--font_size_headline_small: 1.5rem;
	/* 24px */
	--line_height_headline: 1.47;
	/* 56px */

	--font_size_headline_hero: 3.25rem;
	/* 52px */
	--line_height_hero: 1.154;
	/* 60px */
	--letter_spacing_hero: 0.015em;
	/* 1.5% */

	--letter_spacing_headline: 0.02em;
	/* 2% */
	--letter_spacing_nav: 0.06em;
	/* 6% */

	/* Spacings */
	--spacing_default: .75rem;
	/* 12px */
	--spacing_small: .5rem;
	/* 8px */
	--spacing_large: 1.5rem;
	/* 24px */
	--gap: 20px;

	--spacing_optical: .25rem;
	/* 4px Additional spacing for optical correction in header and footer */
	--spacing_footer: 7.5rem;
	/* 120px at the footer */

	--spacing_layout: 6rem;

	/* Layout Sizes */
	--layout_maxwidth: 1276px;

	/* Borders */
	--border_radius: 8px;
	--border_width: 3px;

	/* Backgrounds */
	--background_grain: linear-gradient(#303030bb, #303030bb), url(img/grain.png) repeat 0 0 / 512px 256px;

	/* Icons */
	--icon_menu: url("data:image/svg+xml,%3Csvg fill='none' height='31' viewBox='0 0 34 31' width='34' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23fff' stroke-linecap='round' stroke-width='3'%3E%3Cpath d='m1.5 1.5h31'/%3E%3Cpath d='m1.5 15.5h31'/%3E%3Cpath d='m1.5 29.5h31'/%3E%3C/g%3E%3C/svg%3E");
	--icon_menu_x: url("data:image/svg+xml,%3Csvg fill='none' height='35' viewBox='0 0 34 35' width='34' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23fff' stroke-linecap='round' stroke-width='3'%3E%3Cpath d='m3 29.8787 27.837-27.83707'/%3E%3Cpath d='m3.12132 2 27.83708 27.837'/%3E%3C/g%3E%3C/svg%3E");
	--icon_calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14c.6 0 1-.4 1-1V7c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v12c0 .6.4 1 1 1Zm3-7h0v0h0v0Zm4 0h0v0h0v0Zm4 0h0v0h0v0Zm-8 4h0v0h0v0Zm4 0h0v0h0v0Zm4 0h0v0h0v0Z'/%3E%3C/svg%3E");
}

/* Mobile devices only
--------------------------------------------- */
@media (max-width: 48em) {

	/* 768px */
	:root {
		/* Font Sizes */
		/* --font_size_body: 1.125rem; */
		/* 18px */
		--font_size_headline: 1.75rem;
		/* 28px */
		--font_size_headline_small: 1.1875rem;
		/* 19px */
		--font_size_headline_hero: 1.75rem;
		/* 28px */
		--line_height_hero: 1.429;
		/* 40px */

		--spacing_optical: 0px;
		--spacing_layout: 4rem;
	}
}



/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"],
.button {
	padding: .25rem var(--spacing_large) .5rem;
	background: var(--color_red);
	color: var(--color_white);
	font-weight: bold;
	border-radius: calc(var(--border_radius) / 2);
	border: 0;
	text-decoration: none;
	--outline-color: var(--color_red);
	cursor: pointer;
}

button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover,
.button:hover {
	background: var(--color_redonblack);
	color: var(--color_white);
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: var(--font_family_body);
	font-size: var(--font_size_body);
	line-height: var(--line_height_body);
	color: var(--color_text);
}


h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-family: var(--font_family_headline);
	line-height: var(--line_height_headline);
	letter-spacing: var(--letter_spacing_headline);
	font-weight: 400;

	clear: both;
}

h1,
.h1,
h2,
.h2 {
	font-size: var(--font_size_headline);
}

h3,
.h3,
h4,
.h4 {
	font-size: var(--font_size_headline_small);
}

p {
	margin-bottom: var(--spacing_default);
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 var(--spacing_default);
}

address {
	margin: 0 0 var(--spacing_default);
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: var(--spacing_default);
	max-width: 100%;
	overflow: auto;
	padding: var(--spacing_default);
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color_offwhite);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

hr {
	background-color: var(--color_red);
	border: 0;
	height: var(--border_width);
	margin: 0;
	width: 50%;
	border-radius: var(--border_width);
}

ul,
ol {
	margin: 0 0 var(--spacing_default) 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: var(--spacing_default);
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 var(--spacing_default) var(--spacing_default);
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 var(--spacing_default);
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: inherit;
	border-bottom: 2px solid var(--color_red);
	transition: all .2s ease-out;
}

/* a:visited {
	color: var(--color_red);
} */

a:hover,
a:active {
	color: var(--color_redonblack);
	background: linear-gradient(to top, var(--color_redonblack) 0%, var(--color_redonblack) 2px, transparent 2px);
}

/* a:focus, */
a:hover,
a:active {
	outline: 0;
}

:focus-visible {
	--outline-size: max(2px, 0.25em);

	outline: var(--outline-width, var(--outline-size)) var(--outline-style, solid) var(--outline-color, currentColor);
	outline-offset: var(--outline-offset, var(--outline-size));
	border-radius: 1px;
	/* makes tab outline round */
}

/* Scroll padding allowance above anchor links. e.g. Sticky Menues */
/* :target {
	scroll-padding-block-start: 1rem;
} */
/* Scroll padding allowance below focused elements 
  to ensure they are clearly in view */
/* :focus {
	scroll-padding-block-end: 8vh;
} */



main a {
	border-bottom: 1px solid #090909;
	text-decoration: none;
	color: var(--color_red);
	
	overflow-wrap: anywhere;
	hyphens: auto;
}

main a:hover {
	color: inherit;
	background: linear-gradient(to top, var(--color_redonblack) 0%, var(--color_redonblack) calc(100% / 3), transparent calc(100% / 3));
	border-bottom: none;
}

.arrowlink,
.arrowlink:hover {
	position: relative;
	;
	display: inline-block;
	background: none;
	border: none;
	color: inherit;
	font-weight: bold;
	line-height: 1.2;
}

.arrowlink:hover {
	color: var(--color_redonblack);
}

.arrowlink:after {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 18px;
	background: url(img/arrowshaft.svg) no-repeat, url(img/arrowtip.svg) no-repeat right;
	background-size: calc(100% - 17px) 100%, auto;
	filter: brightness(1);
	transition: all .2s ease-out;
}

.arrowlink span {
	margin-right: min(5rem, 10vw);
}

.arrowlink:hover:after {
	filter: brightness(1.5);
}

.arrowlink-down:after {
	height: 95px;
	background: url(img/arrowshaft.svg) no-repeat top left, url(img/arrowtip-down.svg) no-repeat right;
	background-size: calc(100% - 17px) 18px, auto;
}

.arrowlink-down span {
	margin-right: 9px;
}

.arrowlink-back:after {
	transform: rotate(180deg);
}

.arrowlink-back span {
	margin-right: 0;
	margin-left: 2rem;
}

/* Forms
--------------------------------------------- */
form {
	--outline-width: 2px;
	--outline-offset: 1px;
	--outline-color: var(--color_burgund);
}

/* 
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
} */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #333;
	border: 0;
	border-radius: calc(var(--border_radius) / 2);
	padding: 3px 12px 6px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
	font-family: var(--font_family_headline);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.33;
	padding: var(--spacing_default);
}

/* Datetime Picker
--------------------------------------------- */
.xdsoft_datetimepicker {
	border-radius: var(--border_radius);
}

/* increased specificity */
body :is(.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default, .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current, .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current) {
	background: var(--color_red);
	box-shadow: #71111f 0 1px 3px 0 inset;
	color: var(--color_white);
}

body :is(.xdsoft_datetimepicker .xdsoft_calendar td:hover, .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div:hover) {
	color: #fff !important;
	background: var(--color_redonblack) !important;
	box-shadow: none !important;
}


/*--------------------------------------------------------------
# Base Layout Utilities
--------------------------------------------------------------*/

.container {
	width: calc(100% - 16px - 16px);
	max-width: var(--layout_maxwidth);
	margin: 0 16px;
}

.grid {
	display: grid;
	/* 12 Columns */
	grid-template-columns: [full-width-start] 1fr [wide-content-start hero-content-start] 1fr [main-content-start] 1fr 1fr [blog-content-start] 1fr 1fr [hero-content-end] 1fr 1fr 1fr 1fr [blog-content-end main-content-end] 1fr [wide-content-end] 1fr [full-width-end];
	gap: var(--gap);
	margin-inline: auto;
}

@media (max-width: 48em) {
	.grid {
		grid-template-columns: [full-width-start wide-content-start hero-content-start main-content-start blog-content-start] 1fr [hero-content-end main-content-end blog-content-end wide-content-end full-width-end];
	}
}

.fullwidth {
	grid-column: full-width-start / full-width-end;
}



/*--------------------------------------------------------------
# Site
--------------------------------------------------------------*/

.site-header,
.site-main,
.site-footer {
	align-items: center;
	display: flex;
	flex-direction: column;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

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

.site-header {
	--_header_textcolor: var(--color_text);
	--_header_bg: var(--color_offwhite);
	--_link_color: var(--color_red);

	background: var(--_header_bg);
	color: var(--_header_textcolor);
	min-height: 70px;
	padding-block: var(--spacing_default);
	padding-inline: 16px;
	position: relative;
	z-index: 1;
}

.site-header-dark {
	--_header_textcolor: var(--color_white);
	--_header_bg: var(--background_grain);
	--_link_color: var(--color_redonblack);

	margin-bottom: 6rem;
}

.site-header a {
	border: 0;
}


.site-branding {
	position: absolute;
	width: 120px;
	margin-top: -3px;
	z-index: 1;
	filter: grayscale(0) sepia(0);
	transition: filter .2s ease-out;
}

.site-branding:has(+ .toggled) {
	filter: grayscale(1) sepia(.3);
}

.site-title {
	margin: 0;

}

.site-branding a {
	transition: all .2s ease-out;
}

.site-branding a:hover {
	background: none;
	filter: brightness(1.07) saturate(.9) drop-shadow(0 0 2px var(--color_rose));
	transition: all .05s ease-out;
}

.logo-image {
	box-shadow: 0 0 1px 2px var(--color_rose) inset,
		/* anti-alias */
		0px 0px 14px 0px rgba(0, 0, 0, 0.20),
		0px 0px 3px 0px rgba(0, 0, 0, 0.35);
	border-radius: 50%;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* .menu-wrapper,  */
.menu-toggle,
.menu-toggle:hover {
	position: relative;
	z-index: 1;
	width: 35px;
	height: 44px;
	margin-left: auto;
	background: transparent no-repeat center center;
	background-image: var(--icon_menu);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	appearance: none;
	filter: invert(1);
}

.toggled .menu-toggle {
	background: transparent no-repeat center center;
	background-image: var(--icon_menu_x);
}

/* .main-navigation::after{
	content: "";
	position: absolute;
	inset: -14px;
	background: var(--_header_bg);
} */


.menu-wrapper {
	position: absolute;
	top: 0;
	left: -16px;
	width: calc(100% + 16px + 16px);
	background: var(--_header_bg);
	margin-top: calc(-1 * var(--spacing_default));
	padding: 70px 16px calc(var(--spacing_large) + var(--spacing_default));
	border-radius: calc(var(--border_radius) / 2);
	text-align: right;
	transform: translateY(-100%);
	transition: transform .2s ease-out;
	contain: paint;
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 0;

	gap: calc(var(--gap) * 2);
}


.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: inline-block;
	margin: var(--spacing_default) 0;
	font-size: 1rem;
	line-height: 2em;
	text-decoration: none;
	letter-spacing: var(--letter_spacing_nav);
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}

.site-header-dark .menu-toggle {
	filter: invert(0);
}

.site-header-dark .main-navigation :not(.current-menu-item)>a {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.current-menu-item>a,
.bogo-language-switcher .current a {
	font-weight: bold;
	color: var(--color_red);
}

.site-header-dark .current-menu-item>a,
.site-header-dark .bogo-language-switcher .current a {
	color: var(--color_redonblack);
}

a.languagetitle {
	display: none;
}

.menu-item-languages ul {
	display: flex;
	justify-content: end;
}

.menu-item-languages ul li {
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 5px;
}

.menu-item-languages .bogoflags {
	width: 22px;
	filter: grayscale(.4);
	margin: 0;
}

.bogo-language-name:not(:has(> a)) {
	margin: var(--spacing_default) 0;
	color: var(--color_grey);
}


/* Small menu. */
.menu-toggle,
.toggled .menu-wrapper {
	display: block;
}

.toggled .menu-wrapper {
	transform: translateY(0);
}

@media screen and (min-width: 50em) {

	.menu-wrapper {
		contain: initial;
	}

	.site-header {
		min-height: 114px;
		padding-block: var(--spacing_large);
		padding-inline: calc(16px + var(--spacing_optical));
		/* 16px plus optical adjustment of 4px */
	}

	.site-header-dark {
		margin-bottom: 7rem;
	}

	.site-branding {
		width: auto;
		margin-top: 5px;
	}

	.menu-toggle {
		display: none;
	}

	.menu-wrapper {
		position: relative;
		inset: auto;
		display: flex;
		justify-content: space-between;
		width: 100%;
		margin: 0;
		padding: 0;
		background: none;
		text-align: left;
		transform: none;
		transition: none;
	}

	.toggled .menu-wrapper,
	.main-navigation ul {
		display: flex;
	}

	.main-navigation a {
		margin: 0;
	}

	.main-navigation ul ul {
		display: block;
		float: left;
		position: absolute;
		top: 100%;
		left: -999em;
		padding-block: calc(var(--spacing_small) / 2);
		z-index: 99999;
	}

	.main-navigation ul ul a {
		margin-block: calc(var(--spacing_small) / 2);
	}

	.main-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.main-navigation ul ul li:hover>ul,
	.main-navigation ul ul li:focus>ul {
		display: block;
		left: auto;
	}

	/* .main-navigation ul ul a {
		width: 200px;
	} */

	/* Bigger hovertarget */
	/* .main-navigation .menu-item-has-children:hover{
		position: relative;
		z-index: 1;
	}
	.main-navigation .menu-item-has-children:hover .languagetitle{
		position: relative;
		z-index: 1;
	} */
	.main-navigation .menu-item-has-children:hover:after{
		content: "";
		position: absolute;
		display: block;
		inset: 0 -16 0 -24px;
		cursor: pointer;
		z-index: 0;
		/* background-color: rgba(0, 0, 0, 0.1); */
	} /* copied rule so first does not get invalidated when :has is not supported */
	.main-navigation .menu-item-has-children:has(> a:focus):after {
		content: "";
		position: absolute;
		display: block;
		inset: 0 -16 0 -24px;
		cursor: pointer;
		z-index: 0;
		/* background-color: rgba(0, 0, 0, 0.1); */
	}

	.main-navigation .menu-item-has-children:hover ul{
		left: 0;
	} /* copied rule so first does not get invalidated when :has is not supported */
	.main-navigation .menu-item-has-children:has(:focus) ul {
		left: 0;
	}

	.main-navigation .menu-item-has-children:hover ul:after{
		content: "";
		position: absolute;
		inset: 0 -12px;
		background: var(--_header_bg);
		z-index: -1;
		border-radius: calc(var(--border_radius) / 2);
		box-shadow: 0px 4px 4px -3px #00000022;
	} /* copied rule so first does not get invalidated when :has is not supported */
	.main-navigation .menu-item-has-children:has(:focus) ul:after {
		content: "";
		position: absolute;
		inset: 0 -12px;
		background: var(--_header_bg);
		z-index: -1;
		border-radius: calc(var(--border_radius) / 2);
		box-shadow: 0px 4px 4px -3px #00000022;
	}

	.menu-item-languages ul li {
		justify-content: start;
	}


	.main-navigation .languagetitle {
		display: flex;
		align-items: center;
		gap: 5px;
		text-transform: uppercase;
		background: none;
		/* no underline */
	}

	.languagetitle svg {
		transform: translateY(1px);
		/* optical adjustment */
		fill: currentColor;
	}
}

@media screen and (min-width: 50em) and (max-width: 86em) {

	.main-navigation .menu-item-has-children:hover ul{
		left: auto;
		right: 0;
	} /* copied rule so first does not get invalidated when :has is not supported */
	.main-navigation .menu-item-has-children:has(:focus) ul {
		left: auto;
		right: 0;
	}
}



.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* equal size navlinks */
.nav-links :is(.nav-next, .nav-overview, .nav-previous) {
	flex-grow: 1;
	flex-basis: 33%;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-bottom: 36px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	margin: -4px;
}


.post-navigation .nav-previous:first-child {
	margin-inline-start: auto;
	/*align right if no previous item*/
}

.post-navigation .nav-overview {
	margin: 0 auto;
}

.post-navigation .nav-overview:first-child {
	margin-inline-start: 0;
}

.post-navigation .nav-overview:last-child {
	margin-inline-end: 0;
}

.post-navigation svg {
	width: 28px;
	height: 28px;
	fill: var(--color_angebot);
	margin-inline-end: 10px;
	flex-shrink: 0;
	transform: rotate(-90deg);
	transition: margin .1s;
}

.nav-overview a {
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.nav-overview svg {
	transform: none;
}


.post-navigation a:hover svg {
	opacity: .8;
}

.post-navigation .nav-next svg {
	transform: rotate(90deg);
}

.post-navigation .nav-next a:hover svg {
	margin: 0 13px 0 -3px;
}

.post-navigation .nav-previous svg {
	margin: 0 0 0 10px;
}

.post-navigation .nav-previous a:hover svg {
	margin: 0 -3px 0 13px;
}

.archive_pagination {
	margin-top: 10rem;
}

.pagination {
	grid-column: main-content-start / main-content-end;
	display: block;
	margin: 0;
}

.pagination:before {
	content: "";
	display: block;
	width: 100%;
	height: var(--border_width);
	background: var(--color_burgund);
	/* margin: var(--spacing_default) 0; */
	border-radius: var(--border_width);
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
}

.archive_pagination_ornament {
	grid-column: main-content-start / main-content-end;
	text-align: center;
}


.post-navigation a,
.pagination .page-numbers {
	display: flex;
	align-items: center;
	font-family: var(--font_family_headline);
	font-size: 1.25rem;
	font-style: italic;
	color: inherit;
	padding: .5rem .5rem;
	margin: 2px;
	border: 0;
}

.post-navigation a:hover,
.pagination a:hover {
	background: none;
	color: var(--color_redonblack);
}

.post-navigation a {
	background-color: transparent;
	font-family: var(--font_family_headline);
	font-style: normal;
}

.post-navigation .nav-next a {
	padding-inline-start: 0;
}

.post-navigation .nav-previous a {
	justify-content: flex-end;
	padding-inline-end: 0;
}

.pagination .page-numbers.current {
	color: #aaa;
}

@media screen and (max-width: 48em) {
	.nav-links :is(.nav-next, .nav-overview, .nav-previous) {
		flex-basis: 100%;
		max-width: 100%;
	}

	.post-navigation .nav-overview {
		order: 1;
		width: 100%;
	}


	.post-navigation a {
		padding: 10px 12px;
		font-size: 1em;
		/* Hyphenate */
		overflow-wrap: break-word;
		word-wrap: break-word;
		hyphens: auto;
	}

	.post-navigation svg {
		width: 25px;
		height: 25px;
	}
}



/* Article
--------------------------------------------- */
.article> :first-child {
	margin-top: 0;
}

h1.defaultcontent__title:after {
	content: "";
	display: block;
	width: 100%;
	height: var(--border_width);
	background: var(--color_burgund);
	margin: var(--spacing_default) 0;
}

.error-404.error-404 {
	margin-bottom: 0;
}

/* Post Loop / post single
--------------------------------------------- */

.loop {
	margin: var(--spacing_layout) 0;
}

.loop__header,
.post__header {
	grid-column: blog-content-start / blog-content-end;
	margin: 0;
}

.loop__title,
.post__title {
	margin: 0;
}

.loop__title a {
	border: 0;
	color: inherit;
}

.loop__title a:hover {
	background: none;
	color: var(--color_redonblack);
}

.loop__content,
.post__content {
	grid-column: blog-content-start / blog-content-end;
	position: relative;
}

.loop__content .post-thumbnail {
	display: flex;
	width: 60%;
	margin-left: calc(-30% - (var(--gap) / 2));
	float: left;
	margin-right: var(--gap);
	border-radius: var(--border_radius);
	border: 0;
	contain: paint;
}

.loop__content .post-thumbnail:hover {
	opacity: .8;
}

/* .loop__content .post-thumbnail img{
	width: 100%;
} */
.loop__content:before,
.loop__content:after {
	content: "";
	display: block;
	clear: both;
}

.loop__text {}

.loop__text p:first-child {
	margin-top: 0;
}

.loop__text p:last-child {
	margin-bottom: 0;
}

.loop__more {
	grid-column: blog-content-start / blog-content-end;
}

.loop__morelink {}

.loop__morelink span {
	margin-right: var(--spacing_large);
}


@media screen and (max-width: 48em) {

	.loop__header,
	.loop__content {
		grid-column: wide-content-start / wide-content-end;
	}

	.loop__content .post-thumbnail {
		width: 40%;
		margin-left: 0;
	}
}

/* Post single
--------------------------------------------- */
/* .post_articlee {
	margin: 0 0 var(--spacing_layout) 0;
} */

.post__arrowwrap {
	padding-bottom: var(--spacing_large);
}

.post__content img {
	border-radius: var(--border_radius);
}

.post__content .alignleft:first-child,
.post__content .alignright:first-child {
	margin-top: 0;
}

.post__content .alignleft,
.post__content .alignright {
	width: 60%;
}

.post__content .alignleft {
	width: 60%;
	margin-left: calc(-30% - (var(--gap) / 2));
}

@media screen and (max-width: 48em) {

	.post__header,
	.post__content {
		grid-column: wide-content-start / wide-content-end;
	}

	.post__content .alignleft {
		width: 40%;
		margin-left: 0;
	}
}

@media screen and (max-width: 30em) {
	.post__content .alignleft {
		width: 100%;
		margin-left: 0;
		margin-bottom: 0.5rem;
	}
}


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

.hero {
	padding-block: 130px;
	color: var(--color_white);

	background: var(--color_dark);
	background-position: right center;
	background-size: 50% auto;
	background-repeat: no-repeat;

	/* inline style variables for different image sizes */
	border-radius: var(--border_radius);
}

.hero__content {
	grid-column: hero-content-start / hero-content-end;
}

.hero__title {
	margin: 0 0 2rem;
	font-size: var(--font_size_headline_hero);
	line-height: var(--line_height_hero);
	letter-spacing: var(--letter_spacing_hero);
}

.hero__text {
	margin-block: 2rem;
}

.hero__arrowwrap {
	display: flex;
}

.hero__arrowwrap .arrowlink-down{
	margin-left: auto;
}
@media screen and (min-width: 48em){
	.hero__arrowwrap .arrowlink-down{
		width: 100%;
	}
	.hero__arrowwrap .arrowlink-down span{
		display: block;
	}
}

.hero__badges {
	display: flex;
	gap: calc(var(--spacing_large) * 2);
	justify-content: flex-start;
	padding-top: 5rem;
}

.hero__badges img {
	flex-shrink: 1;
	width: 100%;
	min-width: 0;
	max-width: 150px;
	height: 53px;
	object-fit: contain;
	object-position: center left;
}

.hero__arrowwrap:has(> .arrowlink-down)+.hero__badges {
	padding-inline-end: calc(var(--spacing_large) * 2);
}


@media screen and (max-width: 48em) {
	.hero {
		padding: 100vw 21px 3rem;
		width: calc(100% + 22px);
		margin-left: -11px;
		background-position: center 8%;
		background-size: 100% auto;
	}

	.hero__title {}

	.hero__badges {
		gap: var(--spacing_large);
		padding-top: 3rem;
	}

	.hero__arrowwrap:has(> .arrowlink-down)+.hero__badges {
		padding-inline-end: var(--spacing_large);
	}
}

@media screen and (min-width: 32em) and (max-width: 48em) {
	.hero__arrowwrap .arrowlink-down {
		margin-inline: auto;
	}
}
@media screen and (max-width: 32em) {
	.hero__arrowwrap .arrowlink-down {
		width: 100%;
	}
	.hero__arrowwrap .arrowlink-down span {
		display: block;
	}
}


/* Blog Hero Header
--------------------------------------------- */
.hero-blog {
	width: 100%;
	padding-block: min(130px, 10vw);
}

.hero-blog .hero__title {
	margin-bottom: 0;
}

.hero-blog .hero__text {
	margin: 0 0 0 3px;
	/* optical adjustment */
}

.hero-blog .hero__text p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 48em) {
	.hero-blog {
		width: calc(100% + 22px);
	}

	.hero-blog[style^="background"] {
		padding: 5rem 21px 60vw;
		/* width: calc(100% + 22px);
		margin-left: -11px; */
		background-position: center 92%;
		background-size: 100% auto;
	}

	.hero-blog .hero__content {
		text-align: center;
	}

	.hero-blog .hero__text p:first-child {
		margin-top: 0;
	}
}


/* Testimonials
--------------------------------------------- */

.testimonials {
	margin: var(--spacing_layout) 0;
}

.testimonials__title {
	grid-column: main-content-start / main-content-end;
	text-align: center;
	margin: 0;
}

.testimonials__list {
	grid-column: main-content-start / main-content-end;
}

.testimonials__item {
	display: flex;
	align-items: center;
	gap: var(--gap);
	margin: 5rem 0;
}

.testimonials__item:first-child {
	margin-top: 1rem;
}

.testimonials__item:last-child {
	margin-bottom: 1rem;
}

.testimonials__quote {
	flex: 1 1 75%;
}

.testimonials__quote-text {
	margin: 0 0 0;
	font-family: var(--font_family_headline);
	font-size: var(--font_size_headline_small);
	/* line-height: var(--line_height_headline); */
	font-style: italic;
	/* line-height: var(--line_height_headline); */
}

.testimonials__quote-author {
	font-style: normal;
}

.testimonials__image {
	width: 25%;
	mix-blend-mode: multiply;
}

.testimonials__item:nth-child(even) .testimonials__image {
	order: -1;
}



/* Trainings / Courses
--------------------------------------------- */
.courses {
	margin: var(--spacing_layout) 0;
}

.courses__title {
	grid-column: wide-content-start / wide-content-end;
	text-align: center;
	margin: 0 0 var(--spacing_default);
}

.courses__list {
	grid-column: wide-content-start / wide-content-end;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--gap);
}
@media screen and (max-width: 64em){
	.courses__list {
		grid-column: full-width-start / full-width-end;
	}
}

.courses__item {
	align-self: start;
	border: 10px solid var(--color_white);
	border-radius: calc(var(--border_radius) * 2);
}

.courses__iteminside {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: var(--gap);
	padding: 3rem min(2.25rem, 8vw);
	background: var(--color_white);
	border: var(--border_width) solid var(--color_grey);
	border-radius: var(--border_radius);
}

.courses__item__title {
	text-align: center;
	margin: 0;
	font-size: 1.75rem;
	/* 28px */
	line-height: 2.1429;
	/* 60px */
}

.courses__description {
	margin-block: 1rem;
}

.courses ul {
	list-style-type: "  •  ";
	margin: 0;
	padding: 0 var(--spacing_large) var(--spacing_default);
}




/* Divider
--------------------------------------------- */

.divider {
	margin: var(--spacing_layout) 0;
	text-align: center;
}

.divider_svg {
	display: inline-block;
	width: 49px;
	height: 65px;
	color: var(--color_burgund);
}



/* Ornament
--------------------------------------------- */

.ornament {
	margin: var(--spacing_layout) 0;
	text-align: center;
}

.ornament_image {
	width: 100%;
	max-width: 200px;
	mix-blend-mode: multiply;
}



/* Default Content Layout
--------------------------------------------- */
.defaultcontent {
	margin: var(--spacing_layout) 0;
	row-gap: 0;
}

.defaultcontent__title {
	grid-column: blog-content-start / blog-content-end;
	margin: 0;
}

.defaultcontent__content {
	grid-column: blog-content-start / blog-content-end;
	position: relative;
}

.defaultcontent__content img {
	border-radius: var(--border_radius);
}

.defaultcontent__content .alignleft,
.defaultcontent__content .alignright {
	width: 60%;
}

.defaultcontent__content .alignleft {
	width: 60%;
	margin-left: calc(-30% - (var(--gap) / 2));
}

.defaultcontent__content p:last-child {
	margin-bottom: 0;
}


@media screen and (max-width: 48em) {

	.defaultcontent__title,
	.defaultcontent__content {
		grid-column: wide-content-start / wide-content-end;
	}

	.defaultcontent__content .alignleft {
		width: 40%;
		margin-left: 0;
	}
}

@media screen and (max-width: 30em) {
	.defaultcontent__content .alignleft {
		width: 100%;
		margin-left: 0;
		margin-bottom: 0.5rem;
	}
}


/* Call to Action
--------------------------------------------- */
.calltoaction {
	margin: var(--spacing_layout) 0;
}

.calltoaction__inner {
	grid-column: wide-content-start / wide-content-end;
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: var(--gap);
}

.calltoaction__image {
	grid-column: span 4;
	align-self: stretch;
}

.calltoaction__image img {
	border-radius: var(--border_radius);
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.calltoaction__content {
	grid-column: span 6;
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	padding: var(--spacing_default) 0;
}

.calltoaction__content>* {
	margin: 0;
}

.calltoaction__title {
	font-size: var(--font_size_body);
	font-weight: bold;
	margin-top: calc(-1 * var(--spacing_default));
}

.calltoaction__text p:first-child {
	margin-top: 0;
}

.calltoaction__text p:last-child {
	margin-bottom: 0;
}

.calltoaction__content .button {
	align-self: flex-start;
}

@media screen and (max-width: 48em) {
	.calltoaction__inner {
		grid-template-columns: 1fr;
	}

	.calltoaction__image {
		grid-column: span 1;
	}

	.calltoaction__content {
		grid-column: span 1;
	}
}



/* About Block
--------------------------------------------- */

.about__inner {
	grid-column: main-content-start / main-content-end;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);

	padding: 34px;
	color: var(--color_white);

	background: var(--color_dark);
	background-position: right center;
	background-size: 50% auto;
	background-repeat: no-repeat;

	/* inline style variables for different image sizes */
	border-radius: var(--border_radius);
}

.about__content {}

.about__title {
	margin: 0 0 1rem;
	font-size: var(--font_size_headline_small);
	line-height: var(--line_height_headline);
	font-style: italic;
}

.about__text {
	margin-block: 1rem;
}

.about__arrowwrap {
	display: flex;
}

.about__arrowwrap .arrowlink {
	text-wrap: balance;
}


@media screen and (max-width: 48em) {
	.about__inner {
		grid-template-columns: 1fr;
		padding: 100vw 21px 3rem;
		background-position: center 8%;
		background-size: 100% auto;
	}

	.about__title {}
}



/* Last layout component
--------------------------------------------- */
.testimonials:last-child,
.courses:last-child,
.divider:last-child,
.ornament:last-child,
.defaultcontent:last-child,
.calltoaction:last-child {
	margin-bottom: 0;
}

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


/* .site-footer{
	--_min_width: 315px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
    align-items: stretch;
} */

.site-footer-wrapper {
	display: flex;
	justify-content: center;
	margin-top: var(--spacing_footer);
	background: var(--background_grain);
}

.site-footer {
	--_min_width: 258px;

	display: grid;
	grid-template-columns: 1fr;
	row-gap: calc(var(--gap) * 2);

	padding-block: calc(var(--gap) * 2);
	padding-inline: var(--spacing_optical);

	color: var(--color_white);
	font-size: 1rem;
	letter-spacing: var(--letter_spacing_nav);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* .site-footer strong{
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
} */
/* .site-footer .col{
	flex: 1 1 var(--_min_width);
} */
.site-footer .col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	row-gap: calc(var(--gap) * 2);
	/* Grid Specific */
	/* height: -webkit-fill-available;
	height: -moz-available;
	height: fill-available; */
}

.footer-logo {
	position: relative;
	display: none;
	margin-bottom: var(--spacing_default);
}

.site-footer a {
	display: inline-block;
	border: 0;
	text-decoration: none;
}

.site-footer a:not(:hover) {
	background: none;
}

.site-footer img {
	display: block;
}

.footer-logo-image {
	filter: grayscale(1) sepia(.3);
	border-radius: 50%;
	clip-path: circle(83px);
	/* cut off part of the hardcoded border */
	box-shadow: 0 0 1px 2px var(--color_rose) inset,
		/* anti-alias */
		0px 0px 3px 0px rgba(0, 0, 0, 0.35)
}

.footer-badges {
	display: flex;
	gap: var(--spacing_large);
	justify-content: space-between;
}

.footer-badge-image {
	height: 53px;
	width: auto;
	display: inline-block;
}

.footer-social {
	display: flex;
	gap: var(--spacing_large);
	justify-content: space-between;
}

.footer-social a {
	background: none;
	border: 0;
	transition: all .2s ease-out;
}

.footer-social a:hover {
	filter: brightness(1.3);
	transition: all .05s ease-out;
}

.site-footer .col:last-child {
	gap: 0;
	margin-top: calc(-1 * var(--spacing_small));
	/* -8px Optical Adjustment*/
}

.footer-menu,
.footer-legal {
	display: flex;
	flex-direction: row;
	column-gap: var(--gap);
}

@media screen and (min-width: 25em) {
	.site-footer .col {
		align-items: flex-start;
	}
}

@media screen and (min-width: 51em) {
	.site-footer {
		grid-template-columns: repeat(auto-fit, minmax(var(--_min_width), 1fr));
		row-gap: var(--gap);
		height: 25.25rem;
		/* 404px */
	}

	.site-footer .col {
		align-items: center;
		row-gap: var(--gap);
		height: 100%;
		/* Grid Specific */
		/* height: -webkit-fill-available;
		height: -moz-available;
		height: fill-available; */
	}

	.site-footer .col:first-child {
		align-items: flex-start;
	}

	.site-footer .col:last-child {
		align-items: flex-end;
		margin-top: 0;
	}

	.footer-logo {
		display: block;
		margin-top: 0px;
	}

	.footer-badges,
	.footer-social {
		justify-content: auto;
	}

	.footer-menu,
	.footer-legal {
		flex-direction: column;
		text-align: end;
	}
}


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: var(--spacing_default) 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 var(--spacing_default);
}


.entry-meta {
	font-family: var(--font_family_headline);
	font-size: 1.25rem;
	font-style: italic;
	display: flex;
	gap: var(--spacing_default);
	align-items: center;
}

.posted-on {
	flex-shrink: 0;
}

.entry-meta::after {
	flex: 1 1;
	content: '';
	width: 100%;
	height: var(--border_width);
	background: var(--color_burgund);
	margin-top: 2px;
	/* optical adjustment */
	border-radius: var(--border_width);
}


/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: var(--spacing_default);
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: var(--spacing_default);
	display: grid;
	grid-gap: var(--spacing_default);
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Contact Form 7 */
.wpcf7-list-item {
	margin: 0;
}

.wpcf7-acceptance,
.wpcf7-not-valid-tip {
	line-height: 1.33;
}
body .wpcf7 form .wpcf7-response-output{
	border-radius: 4px;
	padding: 0.2em 1em 0.4em;
}


/* Contact Form 7 - Anfragestyles */
.anfrage_form_inner input:not([type="checkbox"], [type="submit"]),
.anfrage_form_inner textarea {
	display: block;
	width: 100%;
	min-width: 100px;
	margin-top: 4px;
}

.anfrage_form_inner,
.anfrage_form_contactdata,
.anfrage_form_dates {
	gap: var(--gap);
	row-gap: calc(var(--gap) - 8px);
	/* optical adjustment */
}

.anfrage_form_inner {
	display: flex;
	flex-direction: column;
}

.anfrage_form_contactdata,
.anfrage_form_dates {
	/* display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); */
	display: flex;
	flex-wrap: wrap;
}

.anfrage_form_contactdata label {
	flex: 1 1 140px;
}

.anfrage_form_dates label {
	flex: 1 1 206px;
}

input.anfrage_termin {
	background: var(--color_white) no-repeat 8px center;
	background-image: var(--icon_calendar);
	background-size: 28px 28px;
	padding-left: 40px;
}

.anfrage_form_acceptance {
	padding-block: var(--spacing_default) 0;

}

.anfrage_form_submit {
	display: flex;
	justify-content: center;
	padding-top: var(--spacing_large);
}




/* popup-for-contact-form-7 */

.courses_button {
	display: flex;
	align-items: center;
	gap: var(--spacing_optical);
	transition: width .2s ease-out;
}


body .swal2-popup {
	background: #e2e2e2;
	border-radius: calc(var(--border_radius) * 2);
	box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.70);
	color: var(--color_text);
	padding: 10px !important;
}

body .swal2-html-container {
	margin: 0;
	padding: 28px;
	border: solid var(--border_width) var(--color_grey);
	border-radius: var(--border_radius);
}

body .swal2-close {
	color: var(--color_text);
}

body .swal2-close:focus {
	box-shadow: none;
}

body .swal2-html-container::before {
	content: "Coaching anfragen";
	display: block;
	font-family: var(--font_family_headline);
	--font_size_headline: 1.75rem;
	font-size: var(--font_size_headline);
	line-height: (--line_height_headline);
	text-align: center;
	padding-bottom: 2rem;
	border-bottom: solid var(--border_width) var(--color_red);
	margin: 1rem 25% 3rem;
	transition: margin .2s ease-out;
}
html[lang="en-GB"] body .swal2-html-container::before {
	content: "Request a coaching session";
}

@media screen and (max-width: 48em) {
	body .swal2-html-container::before {
		margin: 1rem 7% 3rem;
	}
}

body .swal2-html-container a {
	text-decoration: none;
}

body .swal2-show {
	animation: swal2-show-werder 0.3s ease-out;
}

body .swal2-hide {
	animation: swal2-hide-werder 0.15s forwards;
}

/* remove bounce */
@keyframes swal2-show-werder {
	0% {
		transform: scale(0.9);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes swal2-hide-werder {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(0.8);
		opacity: 0;
	}
}




/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft,
.alignright,
.aligncenter {
	/* margin-top: .5rem; */
	margin-bottom: 0;
}

/* p + p .alignleft,
p + p .alignright,
p + p .aligncenter{
	margin-top: 0;
} */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: var(--gap);
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: var(--gap);
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}