/*!
Theme Name: sonnenhof
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sonnenhof
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

:root {
	--hauptfarbe: #FED837;
	--komplementaerfarbe: #0069B3;
	--komplementaerfarbe2: #00355A;
	--border-color: #ddd;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
}
main {
	display: block;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
a {
	background-color: transparent;
}
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}
b,
strong {
	font-weight: bolder;
}
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;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * 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 {
	color: #404040;
	font-family: clother, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}
@media (min-width: 1200px) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 1.125rem;
}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: futura-100, sans-serif;
	margin-top: 0;
}
h3,
h4,
h5,
h6 {
	font-weight: normal;
}
@media (min-width: 1200px) {
	h1 {
		font-size: 2.222222em;
	}
	h2 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.444em;
	}
	.subline {
		font-size: 1.333em;
	}
}
p {
	margin-bottom: 1em;
}

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

blockquote {
	margin: 0 1em;
}

address {
	margin: 0 0 1em
}

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

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: #fff;
	margin: 0 auto;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1em 1em;
	padding-left: 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* 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 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--komplementaerfarbe);
}
#primary a:after {
	content: '';
	display: inline-block;
	width: .75em;
	height: .75em;
	position: relative;
	background: url("assets/arrow-blue.svg") no-repeat;
	background-size: contain;
	top: .06em;
	margin-left: 4px;
	margin-right: 4px;
}
.jumplist a:after {
	display: none;
}
a:visited {
	color: var(--komplementaerfarbe);
}

a:hover,
a:focus,
a:active {
	color: var(--komplementaerfarbe);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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%;
}

.gform-theme--foundation .gform_fields {
    row-gap: 2em !important;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#primary { overflow: hidden;}
.site-branding {
	width: 120px;
	margin: 10px 0 0 15px;
	display: inline-block;
}
@media (max-width: 767px) {
	
}
@media (min-width: 768px) {
	.site-header-inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		max-width: 1190px;
		padding: 0 15px;
		margin: 0 auto;
	}
	.site-branding {
		flex: 0 0 140px;
		margin: -10px 0 0 0; 
	}
	.menu-hauptmenue-container {
		display: flex;
		justify-content: flex-end;
		height: 100%;
		flex: 0 0 calc(100% - 260px);
	}
}
@media (min-width: 992px) {
	.site-branding {
		flex: 0 0 220px;
	}
}
@media (min-width: 1200px) {

}

/* Inhaltsbreite */
.vc_section:not(.is-hero):not(.has-gm) .vc_row {
	max-width: 1190px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.vc_section:not(.is-hero):not(.has-gm) .vc_row {
		margin: 2rem auto;
	}
}
.vc_section:not(.is-hero):not(.has-gm) {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
@media (min-width: 992px) {
	.vc_section:not(.is-hero):not(.has-gm) {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}
@media (min-width: 1200px) {
	.vc_section:not(.is-hero):not(.has-gm) {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}
.subpage .vc_section .vc_row {
	max-width: 950px !important;
}

/* Farbige Abschnitte und die Kurve des Kopfbereichs */

.vc_section.is-hero {
	position: relative;
	background: linear-gradient(180deg, #fff 0%, #f1f1f1 100%);
	z-index: 11;
}
@media (max-width: 767px) {
	.vc_section.is-hero .vc_col-sm-6:nth-child(1) {
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 40px;
	}
	.vc_section.is-hero .vc_col-sm-6:nth-child(2) .wpb_content_element {
		
	}
}
@media (min-width: 992px) {
	.vc_section.is-hero {
		padding-bottom: 3rem;
	}
}
@media (min-width: 1200px) {
	.vc_section.is-hero {
		padding-bottom: 4rem;
	}
}
.vc_section.is-hero > .vc_row {
	position: relative;
	z-index: 12;
}
/* nächste Section unter den Schnitt schieben */

.vc_section.is-hero:after, .vc_section.has-curved-border:after {
	content:"";
  position:absolute;
  left:0; right:0; bottom:-1px; /* -1px verhindert manchmal einen Haarlinien-Bruch */
  height:8vw; /* Höhe der Kurve */
  z-index: 10;
  pointer-events:none;

  background: var(--komplementaerfarbe); /* Kurvenfarbe */

  -webkit-mask-image: url("assets/kurve-blau.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: 50% 100%;

  mask-image: url("assets/kurve-blau.svg");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: 50% 100%;
}
.vc_section.is-hero-subpage:after {
	background: #fff !important; /* Kurvenfarbe */
}
.vc_section.has-curved-border {
	position: relative;
}
.vc_section.has-curved-border .vc_row {
	position: relative;
	z-index: 11;
}
.vc_section.has-curved-border:after {
  background: #f1f1f1;          /* Kurvenfarbe */
  -webkit-mask-image: url("assets/kurve-blau.svg");
  mask-image: url("assets/kurve-blau.svg");
}

.has-bg-komplementaerfarbe {
	background: var(--komplementaerfarbe);
	color: #fff;
	padding-top: 40px;
}
.has-bg-komplementaerfarbe a {
	color: #fff;
}
.has-bg-gray {
	background: #f1f1f1;
	padding-top: 40px;
}
#tagesablauf {
	background: #f1f1f1;
	background: linear-gradient(180deg, #f1f1f1 0%, #fff 100%);
}
	
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Die Slideshow im Kopfbereich bis an den Rand, die andere Spalte nur Inhaltsbreit */
.has-slideshow-right > .vc_row {
	display: flex;
}
@media (max-width: 767px) {
	.has-slideshow-right > .vc_row {
		flex-direction: column-reverse;
	}
}

@media (min-width: 768px) {
	.has-slideshow-right > .vc_row > .vc_col-sm-6:first-child {
		display: flex;
        justify-content: flex-end;
	}
	.has-slideshow-right > .vc_row > .vc_col-sm-6:first-child > .vc_column-inner {
		max-width: 610px;
		padding-left: 30px; /* soll 15px sein, aber -15px margin durch WPBakery */
		padding-bottom: 60px;
	}
	.has-slideshow-right > .vc_row > .vc_col-sm-6:nth-child(2) > .vc_column-inner {
		padding-right: 0; /* soll 15px sein, aber -15px margin durch WPBakery */
		height: 100%;
	}
	.has-slideshow-right > .vc_row > .vc_col-sm-6:nth-child(2) div {
		height: 100%;
	}
}
/* Slideshow Hero */
.slideshow {
	overflow: hidden;
}
.slick-slide img {
	height: 100%;
	object-fit: cover;
	max-height: 500px;
}
@media (min-width: 768px) {
	.slick-slide img {
		border-top-left-radius: 12px;
		border-bottom-left-radius: 12px;
	}
}
@media (min-width: 2400px) {
	.slick-slide img {
		max-height: 700px;
	}
}

/* Slideshow mit Tabnavigation */
.has-slideshow > .vc_row {
  	max-width: none !important;
}
.has-slideshow .slideshow-2col {
  	display: flex;
}
.has-slideshow .slideshow-2col img {
  	border-radius: 12px;
}
@media (max-width: 767px) {
	.has-slideshow .slideshow-2col {
		flex-direction: column;
	}
}
@media (min-width: 768px) {
	.has-slideshow .slideshow-2col {
		flex-direction: row;
	}
	.has-slideshow .slideshow-2col > div {
		flex: 1;
	}
	.has-slideshow .slideshow-2col .slideshow-2col__right-inner {
		max-width: 610px;
		padding-right: 30px; /* soll 15px sein, aber -15px margin durch WPBakery */
		padding-bottom: 60px;
		padding-left: 30px;
	}
}
@media (min-width: 1640px) {
	.has-slideshow .slideshow-2col .slideshow-2col__left {
		display: flex;
		justify-content: flex-end;
	}
	.has-slideshow .slideshow-2col .slideshow-2col__left-inner {
		max-width: 800px;
	}	
}
.slideshow-2col__left{ min-width: 0; }

.slideshow-main .slide-item img{
  width: 100%;
  height: auto;
  display: block;
}

.slideshow-captions{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.slideshow-captions .caption-item{
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.3;
}
.slideshow-captions .caption-item:hover {
  background: rgba(0,0,0,.06);
}
.slideshow-captions .caption-item.is-active{
	background: var(--komplementaerfarbe);
	color: #fff;
}

/* Pfeile */
.slick-prev, .slick-next {
	background: var(--hauptfarbe) !important;
	padding: 15px 20px;
	position: absolute;
	top: auto;
	left: auto;
	bottom: 20px;
	right: 65px;
	opacity: .8;
	transition: opacity .2s ease-in-out;
	border-radius: none;
}
.slick-prev {
	border-top-left-radius: 99px;
	border-bottom-left-radius: 99px;
}
.slick-next {
	right: 20px;	
	border-top-right-radius: 99px;
	border-bottom-right-radius: 99px;
}
.slick-prev:hover, .slick-next:hover {
	background: var(--hauptfarbe) !important;
	opacity: 1;
}
.slick-prev:before, .slick-next:before {
	content: '';
	position: relative;
	width: 16px;
	height: 16px;
	display: block;
	background: url("assets/arrow.svg") no-repeat;
	bottom: 8px;
    right: 8px;
}
.slick-prev:before {
	transform: rotate(180deg);
}

@media (max-width: 900px){
  .slideshow-2col{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Zitat mit Apostroph */
.quote {
	position: relative;
	font-size: 1.25em;
	margin-top: 3rem;
}
.quote:before {
	content: '';
	display: block;
	position: absolute;
	width: 100px;
	height: 100px;
	background: url("assets/quote.svg") no-repeat;
	background-size: contain;
	opacity: .1;
	left: 0;
	top: -2rem;
}
.team-item .quote:before {
	width: 80px;
	height: 80px;
	top: -1rem;
}
.vc_section.has-bg-komplementaerfarbe .quote:before {
	fill: #fff;
}


/* Bilder mit Rundungen */
.vc_single_image-wrapper img {
	border-radius: 12px;
	position: relative;
	box-shadow: 8px 8px 0 var(--hauptfarbe);
}
.img-is-circle .vc_single_image-wrapper img {
	border-radius: 9999px;
	box-shadow: none;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	max-width: 300px;
	width: 100%;
}
@media (min-width: 768px) {
	.img-is-circle .vc_single_image-wrapper img {
		max-width: 400px;
	}
}

/* Tags */
.tag {
	background: var(--hauptfarbe);
	border-radius: 3px;
	padding: 3px 10px;
	font-size: .9125em;
	display: inline-block;
}

/* Google Map */
.has-gm {
	position: relative;
}
.has-gm .wpb_content_element {
	margin-bottom: 0;
}
.has-gm .wpb_text_column {
	position: absolute;
	left: 20%;
	top: 30%;
	background: #fff;
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 0 15px rgba(0,0,0,.1);
}
.has-gm iframe {
	display: block;
}
.has-gm .wpb_text_column * {
	margin: .25rem;
}

/* Sprung-Pillen */
.jumplist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}
.jumplist li a {
	background: var(--hauptfarbe);
	padding: 3px 20px 4px 20px;
	border-radius: 99px;
	display: block;
	color: #000;
	font-size: .915em;
}
#primary .jumplist li a:after {
	display: none;	
}

/* Infobox */
.infobox {
	background: var(--komplementaerfarbe);
	border-radius: 8px;
	padding: 1rem;
	color: #fff;
}
@media (min-width: 768px) {
	.infobox {
		padding: 1.5rem;
	}
}
@media (min-width: 992px) {
	.infobox {
		padding: 2rem;
	}
}
.infobox h2, .infobox h3, .infobox p {
	margin: 0 0 1rem 0 !important;
}
.infobox ul.infobox-list {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 2.2;
}
/* Icons */
.icon-clock, .icon-person {
	position: relative;
}
.icon-clock:before, .icon-person:before {
	position: relative;
	top: 4px;
	content: '';
	display: inline-block;
	height: 20px;
	width: 20px;
	background: url("assets/clock.svg") no-repeat;
	background-size: contain;
	margin-right: 7px;
	
}
.icon-person:before {
	background-image: url("assets/add-user.svg");	
}
/* Falls die Infobox über die ganze Breite gehen soll */
@media (max-width: 767px) {
	.infobox-xl {
		margin: 0 15px !important;
	}
}
.infobox-xl .wpb_content_element {
	margin-bottom: 0;
}

 /* Team-Item */
.team-item {
	margin-bottom: 2rem !important;
}
.team-item .quote {
	font-size: 1em;
}
@media (max-width: 767px) {
	.team-item .wpb_single_image figure {
		margin-bottom: 2rem;
	}
	.team-item .quote {
		font-size: 1em;
	}
}
@media (min-width: 768px) {
	.team-item {
		margin-bottom: 4rem !important;
	}
}
@media (min-width: 992px) {
	.team-item {
		margin-bottom: 6rem !important;
	}
}
.team-item .vc_single_image-wrapper img {
	box-shadow: none;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	max-width: 300px;
	border-radius: 999px;
}
.team-item .wpb_content_element {
	margin: 0;
}
.team-item h2 {
	font-size: 1.5em;
	margin: 0 0 .5rem 0;
}
.team-item .funktion {
	margin-bottom: 1rem;
}
.team-item .funktion p {
	font-size: 1.25em;
	color: #888;
	margin: 0 0 .5rem 0;
}
.team-item .ausbildung {
	font-size: 1.125em;
}

/* Buttons */
.gform_button, .btn, .vc_btn3 {
	background: var(--hauptfarbe) !important;
	padding: .625em 2em !important;
	border-radius: 99px !important;
	border: none !important;
	color: #000 !important;
	box-shadow: none !important;
}
.vc_btn3.vc_btn3-size-md, .gform_button {
	font-size: 1rem !important;	
}
#primary a.vc_btn3:after {
	background-image: url("assets/arrow.svg");
}
@media (min-width: 1200px) {
	.vc_btn3.vc_btn3-size-md {
		font-size: 1.125em !important;	
	}
}


/* Fußbereich */
#colophon {
	border-top: 10px solid var(--hauptfarbe);
	font-size: .8725em;
}
#colophon h4 {
	font-size: 1.25em;
}
.footer-inner, .legal-inner {
    max-width: 1190px;
    margin: 0 auto;
    padding: 2rem 30px;
}
.legal {
	background: var(--komplementaerfarbe2);
	color: #fff;
}
.legal-inner {
	padding: 10px 30px 15px 30px;
	font-size: 0.915em;
}
.legal-inner * {
	margin: 0;
	
}
#menu-fussbereich {
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu-fussbereich a {
	color: #FFFFFF
}
@media (min-width: 768px) {
	.footer-inner {
        padding: 3rem 30px;
    }
	.site-info {
        display: flex;
    }
    .site-info .col {
        flex: 1;
        flex-shrink: 1;
    }
}
.footer-inner .menu-hauptmenue-container {
	display: block;
}
.footer-inner #menu-hauptmenue {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-inner #menu-hauptmenue a {
	display: block;
	margin: 0;
	padding: 6px 0;
	border-bottom: 1px dashed #ddd;
	color: #000;
}
.footer-inner #menu-hauptmenue .primary-menu-kontakt a {
	background: none;
	padding: 6px 0;
	border-radius: 0;
}
@media (min-width: 768px) {
	.legal-inner {
		display: flex;
		justify-content: space-between;
	}
	.legal-inner a {
		color: #fff;	
		margin-left: 20px;
	}
	#colophon #menu-fussbereich {
		display: flex;
		justify-content: center;
		margin-top: 2rem;
		padding-top: 2rem;
		list-style: none;
		margin: 0;
		padding: 0;
	}
}

/* Navigation
--------------------------------------------- */
.meta-navigation {
	background: var(--komplementaerfarbe);
	color: #fff;
}
.menu-meta-navigation-container {
	max-width: 1190px;
	padding: 0 15px;
	margin: 0 auto;
}
#menu-meta-navigation {
	list-style: none;
	margin: 0;
	padding: 0; 
	display: flex;
	justify-content: space-between;
}
#menu-meta-navigation a {
	color: #fff;
	padding: 3px 0;
	margin: 0 5px;
	font-size: 13px;
	display: block;
	position: relative;
	text-decoration: none !important;
}
@media (min-width: 420px) {
	#menu-meta-navigation {
		justify-content: flex-end;
	}
	.meta-navi-tel a:before, .meta-navi-email a:before {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		top: 5px;
		width: 16px;
		height: 16px;
		background: url("assets/mail.svg") no-repeat;
		background-size: contain;
		background-position: center;
	}
	.meta-navi-tel a:before {
		background-image: url("assets/phone.svg");
	}
	#menu-meta-navigation a {
		padding: 3px 10px 5px 20px;
	}
}
.main-navigation {
	display: block;
}

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.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;
}

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

.main-navigation li {
	position: relative;
	border-bottom: 1px solid #ddd;
}
.main-navigation li:first-of-type {
	border-top: 1px solid #ddd;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-size: 15px;
	padding: 8px 10px;
	color: #000;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.menu-toggle {
	background: var(--hauptfarbe);
	border: none;
	position: absolute;
    right: 15px;
    top: 50px;
    margin: 0;
    padding: 11px 15px 10px 15px;
}
.toggled .menu-toggle {
    padding: 14px 15px;
}
.menu-toggle .icon-bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 1px;
    background: #000;
    transition: transform 200ms, top 200ms;
    position: relative;
}
.menu-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
.toggled .menu-toggle .icon-bar {
    display: none;
    height: 3px;
}
.toggled .menu-toggle .icon-bar:first-child {
    transform: rotate(45deg);
    display: block;
    top: 4px;
}
.toggled .menu-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
    display: block;
    bottom: 3px;
}
@media (max-width: 767px) {
	.main-navigation #primary-menu {
		max-height: 0;
		transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
		overflow: hidden;
		margin-top: 0.5em;
		background: #f6f6f6;
	}
	.main-navigation.toggled #primary-menu {
		max-height: 999px;
		transition: max-height 1s ease-in-out;
		overflow: hidden;
	}
	.main-navigation a {
		border-bottom: 1px dotted var(--border-color); 
	}
	.main-navigation a:last-of-type {
		border-bottom: none; 
	}
}
@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex;
		align-items: center;
	}
	.main-navigation ul li {
		margin-left: 1rem;
		border: none !important;
	}
	.primary-menu-kontakt a {
		background: var(--hauptfarbe);
		padding: 7px 20px;
		border-radius: 99px;
	}
}
@media (min-width: 992px) {
	.primary-menu-kontakt a {
		padding: 10px 32px;
	}
}

.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%;
}

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

.post,
.page {
	margin: 0;
}

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

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* 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: 1.5em;
	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: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.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
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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