@charset "UTF-8";
/*
Theme Name: Brillenwerkstatt 2023
Theme URI:
Author: Andreas Meier, Kentro Design
Author URI: https://www.kentro-design.de
Description: Kentro Design Theme für die Brillenwerkstatt
Version: 1.0
Tags: white, blue, grey
Text Domain: brille
*/

/*
	
	Inhalt:
	
	CSS RESET
	ACCESSIBILITY
	VARIABLES
	FONTS AND ICONS
	
	AREAS
	BASIC CONTAINERS
	GENERAL HTML TAGS
	CUSTOM CLASSES
	
	HEADER
	NAVIGATION
	
	CONTENT
	- layout allgemein
	- spalten
	- text
	- links
	- listen
	- buttons
	- icons
	- bilder
	- galerie-blöcke (nicht genutzt)
	KD-Blöcke
	WORDPRESS PLUGINS
	
	SIDEBAR
	FOOTER
	
	RESPONSIVENESS 88 rem / 1408 px
	RESPONSIVENESS 72.5 rem / 1160 px
	RESPONSIVENESS 63 rem / 1008 px
	RESPONSIVENESS 52 rem / 832 px
	RESPONSIVENESS 40 rem / 640 px
	
	PRINT	
	
*/

/* ========================================================================== */
/* !CSS RESET ---------------------------------------- */
/* ========================================================================== */

/* normalize.css v1.0.1 | MIT License | git.io/normalize */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    font-family: sans-serif;
}

body {
    margin: 0;
}

a:focus {
    outline: thin dotted;
}

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

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

p, pre {
    margin: 1em 0;
}

code, kbd, pre, samp {
    font-family: monospace,serif;
    _font-family: 'courier new',monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before, q:after {
    content: '';
    content: none;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl, menu, ol, ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

menu, ol, ul {
    padding: 0 0 0 40px;
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
}

button[disabled], input[disabled] {
    cursor: default;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

    
 
/* ========================================================================== */
/* ! ACCESSABILITY ---------------------------------------- */
/* ========================================================================== */

.screen-reader-text {
    position: absolute;
    top: -9999px;
    left: -9999px;
} 

 
    
/* ========================================================================== */
/* ! VARIABLES ---------------------------------------- */
/* ========================================================================== */

/* colors */

:root {
    --color-main: #09e; /* blau */
    --color-text: #000; /* textschwarz */
	--color-text-bold: #000; /* textgrau */
    --color-text-light: #333; /* textgrau im footer */
    --color-breadcrumb: #666; /* mittelgrau */
	--color-negative: #fff; /* weiß */

    --color-link: #09e; /* blau */
    --color-link-visited: #666; /* textgrau */
    --color-link-hover: #09e; /* blau */
	
	--color-lines: #ccc; /* hellgrau */
    
    --color-bg-1: #f8f8f8; /* sehrhellgrau */
	--color-bg-2: #999188; /* bg sticky nav */
	--color-bg-3: #999; /* dunkelgrau */
}



/* ========================================================================== */
/* ! FONTS UND ICONS ---------------------------------------- */
/* ========================================================================== */

/* Light */
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 300;
  src: local(''),
	   url('fonts/OpenSans-Light.woff2') format('woff2'),
	   url('fonts/OpenSans-Light.woff') format('woff');
}

/* Light Italic */
@font-face {
  font-family: 'OpenSans';
  font-style: italic;
  font-weight: 300;
  src: local(''),
	   url('fonts/OpenSans-LightItalic.woff2') format('woff2'),
	   url('fonts/OpenSans-LightItalic.woff') format('woff');
}

/* Regular */
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
	   url('fonts/OpenSans-Regular.woff2') format('woff2'),
	   url('fonts/OpenSans-Regular.woff') format('woff');
}

/* Regular Italic */
@font-face {
  font-family: 'OpenSans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
	   url('fonts/OpenSans-Italic.woff2') format('woff2'),
	   url('fonts/OpenSans-Italic.woff') format('woff');
}

/* Semibold */
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
	   url('fonts/OpenSans-Semibold.woff2') format('woff2'),
	   url('fonts/OpenSans-Semibold.woff') format('woff');
}

/* Semibold Italic */
@font-face {
  font-family: 'OpenSans';
  font-style: italic;
  font-weight: 600;
  src: local(''),
	   url('fonts/OpenSans-SemiboldItalic.woff2') format('woff2'),
	   url('fonts/OpenSans-SemiboldItalic.woff') format('woff');
}


/* svg icons */
.icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

a.icon,
a.icon:visited,
a.icon:hover,
a.icon:active {
    border-bottom: none;
}

.icon svg {
    width: 1.5em;
    height: 1.5em;
}




/* ========================================================================== */
/* ! AREAS ---------------------------------------- */
/* ========================================================================== */

/* .site-header */
body.site .site-banner {
	background: url('images/bg-header-site.jpg') no-repeat center top;
	background-size: cover;
}

@media only screen and (max-width: 50rem) {
	body.home .site-banner {
		background-image: linear-gradient(to bottom, rgb(215, 173, 129, .5), transparent), 
			url('images/bg-header-mobil.jpg');
		background-position: center top, 
			center top;
		background-repeat: no-repeat;
		background-size: 100% 400px,
			cover;
	}
}
@media only screen and (min-width: 50rem) {
	body.home .site-banner {
		background-image: linear-gradient(to bottom, rgb(215, 173, 129, .5), transparent), 
			url('images/bg-header.jpg');
		background-position: center top, 
			center top;
		background-repeat: no-repeat;
		background-size: 100% 400px,
			cover;
	}
}

body.home .site-banner,
body.site .site-banner  {
	height: 800px;
	margin: 0 auto;
	position: relative;
	top: 0;
	width: 100%;
}

body.site .site-banner {
	height: 150px;
}

.site-header {
  	background-color: var(--color-negative);
	margin: 0 auto;
	position: fixed;
	width: 100%;
	z-index: 9999;    
}

/* .site-content */
.site-content,
.site-footer {
    display: flex;
    background-color: #fff;
    flex: 1 0 auto;
    padding: 2rem 0 3rem;
    width: 100%;
}

.site-content {
	background-color: #fff;
	margin-top: 250px;
	margin-bottom: 120px;
}

/* .site-footer */
.site-footer {
    background-color: var(--color-bg-1);
    padding: 4em 0 1em;
}

.site-header::after,
.site-content::after,
.site-footer::after {
    content: " ";
    display: block;
    height: 0;
    margin-top: 1.5em;
    visibility: hidden;
}

/* layout-basics */
.container {
    margin-right: auto;
    margin-left: auto;
    width: 80rem;
}

.row {
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: -1rem;
    padding-right: -1rem;
}

.center {
    justify-content: center;
    text-align: center;
}

.middle {
    align-items: center;
}

.wp-block-column.kd-vertikal-mittig {
	display: grid;
	grid-template-rows: 1fr;
	justify-items: start;
	align-items: center;
}

.bottom {
    align-items: flex-end;
}

.around {
    justify-content: space-around;
}

.between {
    justify-content: space-between;
}

.first {
    order: -1;
}

.last {
    order: 1;
}
    


/* ========================================================================== */
/* ! BASIC CONTAINERS ---------------------------------------- */
/* ========================================================================== */

.row {
    /* margin-bottom: 1em; */
	/* strange: wenn bottom-wert gesetzt ist, zeigt safari (desktop und mobile) ein nach unten verschobenes logo und navbar */
}

.header-wrap,
.content-wrap,
.footer-wrap {
    padding: 0 1em;
}

.main-wrap {
    flex: 0 0 auto;
    flex-basis: 100%;
    max-width: 100%;
}

.container > header,
.container > footer {
    display: flex;
    flex: 0 1 auto;
}

.main {
    display: flex;
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
}
    


/* ========================================================================== */
/* ! GENERAL HTML TAGS                     ---------------------------------------- */
/* ========================================================================== */

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

/* glatteres scrollen */
html {
	scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--color-text);
    font-family: "OpenSans", Arial, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    height: 100%;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-main);
    font-size: 21px;
    font-size: 1.3125rem;
    font-family: "OpenSans", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.4;
    margin: 2em 0 .4em;
    word-wrap: break-word;
}

h1 {
    font-size: 42px;
    font-size: 2.625rem;
    -ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
    line-height: 1.2;
    margin-bottom: .5em;
    margin-top: 0;
}

h2 {
    font-size: 28px;
    font-size: 1.75rem;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
	line-height: 1.3;
    margin-bottom: 1.25em;
}

h1 + h2 {
    margin-top: 0;
	margin-bottom: 2em;
}

h2 + h3 {
    margin-top: 1em;
}

h3 {
    font-size: 18px;
	font-size: 1.125rem;
	font-weight: 400;
}

h4,
h5,
h6 {
	font-size: 18px;
    font-size: 1.125rem;
	font-weight: 400;
}

h4 {
    margin-bottom: .2em;
    margin-top: 1.5em;
}

h5,
h6 {
    margin-bottom: 0;
    margin-top: 1.25em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
    background: transparent;
    border-bottom: none;
    color: var(--color-main);
    text-decoration: none;
}

p,
ul,
ol {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0 0 1.5em;
}

p:empty {
    display: none;
}

strong {
    color: var(--color-main);
    font-family: "OpenSans", Arial, sans-serif;
    font-weight: 400;
}

em {
    font-family: "OpenSans", Arial, sans-serif;
    font-style: italic;
}

blockquote {
    margin: 0 2em;
}
    
blockquote p {
	color: var(--color-main);
	font-family: "OpenSans", Arial, sans-serif;
	font-style: italic;
	font-weight: 300;
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 1.4;
}

ul,
ol,
dl,
menu {
    margin-left: 0;
    padding-left: 0;
}

ul li,
ol li {
    padding-bottom: .5em;
    padding-left: 1.2em;
}

ul li ul,
ol li ol,
ul li ol,
ol li ul {
	margin-bottom: 0;
	padding-bottom: 0;
	padding-top: .5em;
}

ul li::before {
	/* achtung: die farbe muss der einfachheit halber direkt im svg gesetzt werden */	
	content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    background-image: url('icons/icon-bullet.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: .6em;
    margin-left: -1.1em;
}
	
ol {
    list-style-position: inside;
}
    
ol li {
    text-indent: -1.2em;
    margin-left: .8em;
}

ul li {
    list-style-type: none;
}

dt {
    font-style: bold;
}

dd {
    font-style: italic;
    margin-left: 0;
    padding-left: 0;
}

sup {
    font-size: .65em;
}

address {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 5px;
    color: var(--color-breadcrumb);
    margin: 1em 0 2em;
}

tr:nth-child(odd) {
    background-color: #ececec;
}

tr:nth-child(even) {
    background-color: #fafafa;
}

td,
th {
    border-top: 1px solid var(--color-breadcrumb);
    padding-left: 0;
    text-align: left;
    vertical-align: top;
}

td {
    border-right: 0.5em solid #fff;
    padding: .3em .5em;
}

tr:last-of-type {
	border-bottom: 1px solid var(--color-breadcrumb);
}

th {
    border-right: 0.3125em solid #fff;
    color: var(--color-main);
    padding: .2em .5em;
}
    
th.sub {
    font-weight: normal;
}

th.left,
td.left {
    padding-left: .625em;
    text-align: left;
}

fieldset {
    background-color: #fff;
}

legend {
    padding-top: 2em;
}

form label {
    cursor: pointer;
    display: block;
    margin: 1.25em 0 -0.625em;
}

textarea,
input,
select {
    font-size: 16px;
    font-size: 1rem;
    background: #fff;
    border: #ccc solid 1px;
    border-radius: .4em;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: #333;
    font-family: "OpenSans", Arial, sans-serif;
	font-weight: 400;
    padding: .15em .3em .05em;
}

input#reset,
input#submit {
    background: none;
    margin: 1.25em 1.25em 0 0;
    width: auto;
}

select {
    font-size: 16px;
    font-size: 1rem;
    padding: .3em 0 .3em .5em;
}

optgroup {
    font-style: normal;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: .3125em;
}

img {
    font-size: 12px;
    font-size: 0.75rem;
    border: none;
    float: left;
    margin: .3125em 0 1.5625em;
    max-width: 100%;
    height: auto;
}

abbr[title] {
/*     cursor: help; */
    display: inline-block;
    line-height: 1;
    padding-bottom: 1px;
    text-decoration: none;
}

a,
a strong {
    border-bottom: 1px solid var(--color-link);
    color: var(--color-link);
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: 1;
    text-decoration: none;
/*     transition: all 0.3s ease-in-out; */
}
    
a:visited,
a:hover,
a:active {
	border-bottom: none;
	text-decoration: none;
}

a:visited,
a:visited strong {
	border-bottom: 1px solid var(--color-link);
	color: var(--color-link);
}
    
a:hover {
	border-bottom: 1px solid var(--color-text);
	color: var(--color-text);
}

a:active {
	
}

a[href^="clockto:"] {
    
}

a[href^="tel:"] {
    
}

a.thumb,
a.inline {
    display: inline;
}

figure.link-bild a {
    border: none;
}

figure a,
figure a:hover,
figure a:focus,
figure a:active {
	border-bottom: none;
}

a.svg-item:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

a.svg-item {
    border-bottom: none;
}

/* anker-links etwas verschieben, um verdecken durch fixed header zu vermeiden */
:target:before {
	content: "";
	display: block;
	height: 100px;
	margin: -100px 0 0;
}

::-moz-selection {
    background: #fdecd9;
    /* Auswahlfarbe Safari */
}

::selection {
    background: #fdecd9
};
    /* Auswahlfarbe Safari */
}

::-moz-selection {
    background: #fdecd9
};
    /* Auswahlfarbe Firefox */
}

.icon-alone {
    display: inline-block;
}

a.icon-alone:hover,
a.icon-alone:hover {
    border-bottom: none;
}

object {
    width: 100%;
}



/* ========================================================================== */
/* ! CUSTOM CLASSES ---------------------------------------- */
/* ========================================================================== */

.kd-small,
.kd-block-seitenspalte p.kd-small {
    font-size: 12px;
    font-size: 0.75rem;
}

.padded {
    padding: 1em;
}

.left {
    float: left;
}

.right {
    float: right;
}

.inline {
    display: inline;
}

.wp-block-columns.kd-erstes {
    margin-top: 0;
    padding-top: 0;
}

.tight {
    margin-bottom: 0;
}

.tighter {
    margin-bottom: .3125em;
}

.kd-abstand-eng {
	margin-bottom: .25em;
}

.wp-block-column.kd-abstand-weit {
	margin-bottom: 3em;
}

.kd-abstand-unten,
.wp-block-image.kd-abstand-unten {
	margin-bottom: 3em;
}

.unsichtbar {
	font-size: .5rem;
	line-height: 1;
	margin: 0;
	padding: 0;
	visibility: hidden;
}

.visuallyhidden {
	display: none;
}

.keine-trennungen {
	display: inline-block;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

.trennungen {
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}


    
/* ========================================================================== */
/* ! HEADER ---------------------------------------- */
/* ========================================================================== */

/* !Wrapper-Lösung für Sticky Footer bei wenig Content -------------------- */

.wrapper {
	min-height: 100vH;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-footer {
	/* flex-shrink: 0;
	flex-grow: 0; */
}

.site-content {
	flex: 1;
}
/* Ende Wrapper-Lösung für Sticky Footer bei wenig Content -------------------- */

.site-header .row {
    position: relative;
}

.logo {
	position: absolute;
	top: 25px;
	left: 0;
	transition: all 0.3s ease-in-out;
	z-index: 1000;
}

.logo object {
	transition: all 0.3s ease-in-out;
	width: 320px;
}

/* search */
.sb-search {
    position: absolute;
	top: 95px;
	right: 0;
	
	height: 20px;
    min-width: 20px;
    overflow: hidden;
	padding: 1em;
    transition: all 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    width: 0%;
	z-index: 1300;
}

.sb-search .icon {
	padding-right: 1em;
}

.sb-search .icon svg {
	height: 20px;
	width: 20px;
}

.sb-search-input {
    position: absolute;
	right: 0;
	top: 0;
	
	background: transparent;
    border: none;
    box-shadow: none;
    color: var(--color-text);
    font-family: inherit;
	font-size: 16px;
	font-size: 1rem;
    height: 30px;
    margin: 0;
    outline: none;
    padding: 5px 40px 5px 10px;
    width: 100%;
    z-index: 10;
}

.sb-search-input::-webkit-input-placeholder {
    color: var(--color-text);
}

.sb-search-input:-moz-placeholder {
    color: var(--color-text);
}

.sb-search-input::-moz-placeholder {
    color: var(--color-text);
}

.sb-search-input:-ms-input-placeholder {
    color: var(--color-text);
}

.sb-icon-search,
.sb-search-submit {
    position: absolute;
	top: 5px;
	right: 8px;
	
	cursor: pointer;
    display: block;
    height: 20px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 20px;
}

.sb-search-submit {
    background: #fff;
    /* IE needs this */
    border: none;
    color: transparent;
    opacity: 0;
    outline: none;
    z-index: -1;
}

.sb-icon-search {
    background: transparent;
    transition: all 0.3s ease-in-out;
    z-index: 90;
}

/* um svg-farbe zu setzen, muss svg inline eingebunden sein und darf in der datei keine farbe (stroke und fill) haben! */
.sb-icon-search.icon svg {
	fill: #000;
}

.sb-icon-search.icon svg:hover {
	/* fill: var(--color-main); */
}

/* search open */
.sb-search.sb-search-open,
.no-js .sb-search {
    width: 200px;
}

.sb-search.sb-search-open .sb-search-input {
    background-color: #fff;
    /* border: 1px solid var(--color-main); */
}

.sb-search.sb-search-open .sb-search-input::placeholder {
	color: var(--color-text-light);
	opacity: .6;
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
    background: transparent;
    color: var(--color-text);
    z-index: 11;
}

.sb-search.sb-search-open .sb-icon-search.icon svg,
.no-js .sb-search .sb-icon-search.icon svg {
	fill: var(--color-text-light);
}

.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
    z-index: 90;
}

#s-label {
	margin-left: -5000px;
}

.brillenkreise-header-top-left {
	position: absolute;
	top: -58px;
	left: -80px;
	opacity: 20%;
}

.brillenkreise-header-bottom-small {
	position: absolute;
	bottom: -130px;
	right: 70px;
	opacity: 40%;
}

.brillenkreise-header-bottom-big {
	position: absolute;
	bottom: 0;
	right: 0;
	opacity: 10%;
}

.brillenkreise-header-top-left img,
.brillenkreise-header-bottom-small img,
.brillenkreise-header-bottom-big img {
	margin: 0;
}

/* sticky header */
.site-header.sticky {
	position: fixed;
	
	background-color: var(--color-negative);
	box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.2);
	height: 110px; 
	transition: all 0.3s ease-in-out;
}

.site-header.sticky .logo {
	top: 15px;
}

.site-header.sticky .logo object {
	width: 200px;
}

.site-header.sticky .sb-search {
	top: 50px;
}

.site-header.sticky .brillenkreise-header-bottom-small,
.site-header.sticky .brillenkreise-header-bottom-big {
	display: none;
}




/* ========================================================================== */
/* ! NAVIGATION ---------------------------------------- */
/* ========================================================================== */

/* smartphone-menu */
/* menu icon, wird dynamisch per js eingefügt */
#menu-icon {
    display: none;
}

ul.widget {
    margin-top: 0;
}

/* main navigation */
.nav-wrap {
    position: absolute;
    top: 95px;
    right: 40px;
    transition: top 0.3s ease-in-out;
	z-index: 1100;
}

.nav-wrap ul {
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.2;
    margin: 0;
}

ul.nav > li {
    display: inline-block;
    float: left;
    padding: .5em .5em;
    position: relative;
}

ul.nav li:before {
	background-image: none;
	content: '';
	display: none;
}

ul.nav a {
    border-bottom: 1px solid transparent;
    color: var(--color-text);
	font-weight: 400;
    letter-spacing: .07em;
	padding-bottom: 3px;
	text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

ul.nav > li > a {
	
}

ul.nav > li:last-of-type > a {
    padding-right: 0;
}

.nav-main a:focus,
.nav-main .current-page-item > a,
.nav-main .current-page-ancestor > a {
    /* color: var(--color-link); */
}

.nav-main li:hover > a,
.nav-main .current-page-item > a:hover,
.nav-main .current-page-ancestor > a:hover {
    border-bottom: 1px solid var(--color-text);
    /* color: var(--color-link); */
}



.nav-main .current-menu-item > a,
.nav-main .current-page-ancestor > a {
	border-bottom: 1px solid var(--color-text);
    color: var(--color-text);
    font-weight: normal;
}

.nav-main .current-menu-item > a:hover,
.nav-main .current-page-ancestor > a:hover,
ul.nav a:hover {
    border-bottom: 1px solid var(--color-text);
    /* color: var(--color-link); */
}

.sub-menu {
    position: absolute;
	top: 2.1em;
	left: -1em;
	
	background-color: var(--color-bg-1);
    box-shadow: 0px 50px 50px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    opacity: 0;
    padding-top: .5em;
	padding-bottom: .7em;
    visibility: hidden;
    width: 200px;
    z-index: -1;
}

ul.nav li:hover .sub-menu {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    z-index: 1;
}

.sub-menu li {
    padding: .65em 1.5em;
}

.sub-menu li a {
    color: var(--color-text);
    letter-spacing: unset;
	padding: 0;
	text-transform: unset;
}

/* sticky header */
.site-header.sticky .nav-wrap {
	top: 50px;
}

.site-header.sticky .sub-menu {
/*     top: 2.9em; */
}

/* !breadcrumb ---------------------------------------- */
.breadcrumb {
	margin-bottom: 1em;
}

.breadcrumb p {
	font-size: 14px;
	font-size: 0.875rem;
	color: var(--color-breadcrumb);
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	margin-bottom: .5em;
}

.breadcrumb span {
	color: var(--color-breadcrumb);
	font-size: 14px;
	font-size: 0.875rem;
}

.breadcrumb a {
	border-bottom: 1px solid #fff;
	color: var(--color-breadcrumb);
	padding-bottom: .05em;
}

.breadcrumb a:hover {
	border-bottom: 1px solid var(--color-breadcrumb);
}

.breadcrumb .current {
	color: var(--color-breadcrumb);
}

span.separator {
	margin-left: .2em;
	margin-right: .2em;
}

span.separator::before {
	font-size: 16px;
	font-size: 1rem;
	content: '›'; 
	color: var(--color-breadcrumb);
}



/* ========================================================================== */
/* ! CONTENT ---------------------------------------- */
/* ========================================================================== */

/* layout allgemein  ------------------------------------------------------- */
.container-main {
	margin-top: 0;
	position: relative;
}

article {
    margin-bottom: 1.5em;
    width: 100%;
}


/* spalten ------------------------------------------------------- */   
.wp-block-group {
	display: flex;
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}

.wp-block-group__inner-container {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}

.wp-block-group__inner-container figure {
	margin-right: 1em;
}

.wp-block-columns {
	margin-top: 5em;
	width: 100%;
}

.wp-block-columns.mittig {
	align-items: center;
}

.wp-block-group + .wp-block-columns {
	margin-top: 0;
}

h2 + .wp-block-columns {
	margin-top: 2em;
}

h2 + .wp-block-group .wp-block-group__inner-container .wp-block-columns {
	margin-top: 0;
}

.wp-block-column:not(:last-child) {
	margin-right: 30px;
}

.wp-block-column:nth-child(2n+1) {
	margin-right: 30px;
}

.wp-block-column:not(:first-child), 
.wp-block-column:nth-child(2n) {
	margin-left: 30px;
}

.wp-block-column:last-child {
	margin-right: 0;
}



/* textblock (gruppe, die auch vertikal zentriert werden kann) */
.kd-textblock {
	
}

.wp-block-group.kd-textblock {
	margin-top: 0;
}

/* kreise im content */
.kd-brillenkreise-oben-rechts::before {
	background-image: url('images/brillenkreise-cut-oben.svg');
	content: '';
	display: inline-block;
	height: 75px;
	width: 395px;
	background-position: left top;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 0;
	opacity: 40%;
}

.kd-brillenkreise-oben-rechts {
	position: relative;
}


/* links rubrik */
.kd-links-rubrik .wp-block-group__inner-container {
	flex-direction: column;
}

.kd-links-rubrik ul li {
	padding-left: 0;
}

.kd-links-rubrik ul li::before {
	display: none;
	margin: 0;
	background-image: initial;
}


/* text  ------------------------------------------------------- */
h3 + .wp-block-columns {
	margin-top: 1.5em;
}

p + p.searchresultlink {
	margin-bottom: 2.5em;
	margin-top: -1em;
}

p.mehr,
.kd-block-seitenspalte p.mehr {
	margin-top: -.5em;
}

.kd-einzug {
	padding-left: 4.5em;
}

/* block mit css in zwei spalten geteilt */
p.aufgeteilt,
ul.aufgeteilt {
	column-count: 2;
	column-gap: 60px; /* margin-right von .wp-block-column * 2 */
	margin-bottom: 4rem;
}

.wp-block-column > h2,
.wp-block-column > h3,
.wp-block-column > h4,
.wp-block-column > h5,
.wp-block-column > h6 {
	margin-top: 2rem;
}

.wp-block-column > h2:first-child,
.wp-block-column > h3:first-child,
.wp-block-column > h4:first-child,
.wp-block-column > h5:first-child,
.wp-block-column > h6:first-child {
	margin-top: 0;
}

/* blockquote */
.wp-block-quote {
	border: none;
	margin: 0;
	padding: 0;
}

.wp-block-quote p {
	margin-bottom: .5em;
}

.wp-block-quote cite {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.4;
}

.wp-block-pullquote p {
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.5;
	margin-bottom: .7em;
}

/* tabellen */
.wp-block-table table {
	color: var(--color-text);
	font-size: 1.0625rem;
}

.wp-block-table td, 
.wp-block-table th {
	border-top: 1px solid var(--color-lines);
	border-bottom: 1px solid var(--color-lines);
	border-left: unset;
	border-right: unset;
}

.wp-block-table tr {
	
}

.wp-block-table tr:nth-child(2n) {
	background-color: #fafafa;
}

.wp-block-table tr:nth-child(2n+1) {
	background-color: var(--color-bg-1);
}

/* tabelle über ganze breite gezogen */
.wp-block-table.ganze-breite {
	width: 100%;
}

.wp-block-table.alignwide.ganze-breite {
	width: calc( 100% + 200px);
}



/* links  ------------------------------------------------------- */
.site-content a {
	font-weight: 400;
}

.link-text a {
	border-bottom: 1px solid transparent;
	color: var(--color-text);
}

.link-text a:hover {
	border-bottom: 1px solid var(--color-text);
	color: var(--color-text);
}



/* listen  ------------------------------------------------------- */
ul.linkliste li {
	padding-left: 0;
	padding-bottom: .3em;
}

ul.linkliste li::before {
	background-image: none;
}

ul.linkliste li a::before {
	content: '› ';
}

ol.farbnummern {
	list-style: none;
	counter-reset: my-counter;
}

ol.farbnummern li {
	counter-increment: my-counter;
}
ol.farbnummern li::before {
	content: counter(my-counter) ". ";
	color: var(--color-main);
	font-family: "OpenSans", Arial, sans-serif;
	font-weight: 600;
}



/* buttons ------------------------------------------------------- */
.wp-block-buttons {
	/* betrifft den gesamten block, den wp um den button herum erstellt, in gesamt-layout-breite */
	margin-bottom: 1.5em;
}

/* der eigentliche button */
a.wp-block-button__link {
	background-color: transparent;
	border: 1px solid var(--color-main);
	border-radius: .3em;
	color: var(--color-main);
	font-size: 18px;
	font-size: 1.125rem;
	padding: .5em 1.5em;
	transition: all 0.2s ease-in-out;
}

.site-footer a.wp-block-button__link {
	font-size: 1rem;
	padding: .5em 1em;
}

a.wp-block-button__link:hover {
	border: 1px solid var(--color-text);
	color: var(--color-text);
}

a.wp-block-button__link:active,
a.wp-block-button__link:focus {
	border: 1px solid var(--color-main);
	color: var(--color-main);
}

.kd-button-gross a.wp-block-button__link {
	font-size: 20px;
	font-size: 1.25rem;
}

.kd-button-klein a.wp-block-button__link {
	font-size: 15px;
	font-size: .9375rem;
}


/* icons  ------------------------------------------------------- */
.icon-haus,
.icon-uhr,
.icon-telefon,
.icon-instagram,
.icon-facebook {
	position: relative;
}

.icon-haus::before,
.icon-uhr::before,
.icon-telefon::before,
.icon-instagram::before,
.icon-facebook::before {
	/* achtung: die farbe muss der einfachheit halber direkt im svg gesetzt werden */	
	content: '';
	display: inline-block;
	height: 17px;
	width: 17px;
	background-position: left bottom;
	background-size: initial;
	background-repeat: no-repeat;
	position: absolute;
	left: -28px;
	top: 2px;
}

.icon-instagram::before {
	left: -12px;
}

.icon-facebook::before {
	left: -9px;
}

.icon-haus::before {
	background-image: url('icons/icon-home.svg');	
}

.icon-uhr::before {
	background-image: url('icons/icon-clock.svg');	
}

.icon-telefon::before {
	background-image: url('icons/icon-phone.svg');
	top: 4px;	
}

.site-footer ul.menu li.icon-instagram::before {
	background-image: url('icons/icon-instagram.svg');
	display: inline;
}

.site-footer ul.menu li.icon-facebook::before {
	background-image: url('icons/icon-facebook.svg');	
	display: inline;
}



/* bilder ------------------------------------------------------- */
.wp-block-image .alignleft,
.main-with-sidebar .wp-block-image .alignleft {
    float: left;
    margin-right: 1.875em;
}

.wp-block-image .alignright,
.main-with-sidebar .wp-block-image .alignright {
    float: right;
    margin-left: 1.875em;
}

.wp-block-image {
	position: relative;
	margin-bottom: 2em;
}

.wp-block-image img {
	/* border-radius: 7px; */
	float: none;
	margin-bottom: 0;
}

.wp-block-image figcaption {
	color: var(--color-text);
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 1.4; 
	margin-top: .3em;
	margin-bottom: .5em;
	padding: 0;
	text-align: center;
	width: 100%;
}

.wp-block-image.alignwide img {
	margin-left: 0;
	width: 100%;
}

.wp-block-image.bild-kleiner img {
	width: 70%;
}

.wp-block-image.kd-logo-kleiner {
	text-align: center;
}

.wp-block-image.kd-logo-kleiner img {
	width: 60%;
}

/* weite und volle breite */
.alignfull {
	margin: 32px calc(50% - 50vw); /* auf mac funktioniert das bestens */
	max-width: 100vw;
	width: 100vw;
}

.alignwide {
	margin-left: -100px;
	margin-right: -100px;
	max-width: calc( 100% + 200px);
}

/* cover image */
.wp-block-cover.alignwide, 
.wp-block-cover-image.alignwide {
	width: calc(100% + 200px);
}

.wp-block-cover__inner-container p {
	font-size: 32px;
	font-size: 2rem;
	margin-bottom: 0;
} /* beschriftung stylen */


/* blog news */
.blog h2,
.kategorie h2 {
	margin-bottom: .25em;
}

.blog .article-infos,
.kategorie .article-infos {
	font-size: 14px;
	font-size: .875rem;
	margin-bottom: 1em;
}

.blog .more-link,
.kategorie .more-link {
	margin-top: -1em;
	margin-bottom: 3em;
}

.kd-highlight {
	border: 1px solid var(--color-lines);
	padding: 1.5em 2em 1em;
	background: var(--color-bg-1);
}

.kd-highlight p {
	width: 100%;
}

.kd-highlight h3 {
	margin-top: 0;
}

.wp-block-group.kd-highlight {
	margin-top: 0;
}


/* ========================================================================== */
/* ! KD-Blöcke ---------------------------------------- */
/* ========================================================================== */

/* wordpress 6.5 reset */
/* body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto !important;
  margin-right: auto !important;
} */

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* kd-block-3-spalten-flexibel ------------------------------------------------------- */
.wp-block-group.kd-block-3-spalten-flexibel h2,
.wp-block-group.kd-block-3-spalten-flexibel h3 {
	margin-bottom: .4em;
}

.wp-block-group.kd-block-3-spalten-flexibel p {
	margin-bottom: .7em;
}

.wp-block-group.kd-block-3-spalten-flexibel p:last-of-type {
	margin-bottom: 0;
}

.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-columns {
	flex-wrap: wrap !important;
}

.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column {
	flex-basis: 29%;
	margin-bottom: 2em;
	margin-right: 3%;
	margin-left: 0;
}

.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column:nth-of-type(3n) {
	margin-right: 0;
}



/* kd-block-hauptspalte/seitenspalte ------------------------------------------------------- */
.wp-block-column.kd-block-hauptspalte {
	flex-basis: 70% !important;
	padding-right: 7%;
}

.wp-block-column.kd-block-seitenspalte {
	flex-basis: 23% !important;
}

.kd-block-seitenspalte h3 {
	font-size: 1.2rem;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	line-height: 1.4;
	margin-bottom: .25em;
}

.kd-block-seitenspalte p,
.kd-block-seitenspalte ul,
.kd-block-seitenspalte ol,
.kd-block-seitenspalte h4 {
	font-size: 16px;
	font-size: 1rem;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	line-height: 1.4;
	margin-bottom: 1em;
}

.kd-block-seitenspalte .wp-block-group {
	margin-top: 0;
}



/* kd-block-bildteaser ------------------------------------------------------- */
.alignfull.kd-block-bildteaser .wp-block-columns.is-layout-flex {
	gap: 0 !important;
}

.alignfull.kd-block-bildteaser .wp-block-columns {
	margin: 0;
}

.alignfull.kd-block-bildteaser .wp-block-column {
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;	
}

.alignfull.kd-block-bildteaser {
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
}

.alignfull.kd-block-bildteaser::before {
	background-image: url('images/brillenkreise.svg');
	content: '';
	display: inline-block;
	height: 220px;
	width: 508px;
	background-position: left 140px;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: 50px;
	bottom: 0;
	opacity: 40%;
}

.alignfull.kd-block-bildteaser .wp-block-column:nth-of-type(1) {
	background: url('images/teaser-mann.jpg') no-repeat center center;
	background-size: cover;
}

.alignfull.kd-block-bildteaser .wp-block-column:nth-of-type(2) {
	background: url('images/teaser-frau.jpg') no-repeat center center;
	background-size: cover;
}

.alignfull.kd-block-bildteaser .wp-block-column:nth-of-type(3) {
	background: url('images/teaser-kind.jpg') no-repeat center center;
	background-size: cover;
}

.alignfull.kd-block-bildteaser .wp-block-column:nth-of-type(4) {
	background: url('images/teaser-kontaktlinsen.jpg') no-repeat center center;
	background-size: cover;
}

.alignfull.kd-block-bildteaser .wp-block-column::before { /* macht die flex-elemente quadratisch! */
	content: '';
	display: block;
	padding-top: 100%;
}

.alignfull.kd-block-bildteaser h3 a {
	color: var(--color-negative);
	font-size: 22px;
	font-size: 1.375rem;
	font-weight: 400;
}


/* kd-block-news ------------------------------------------------------- */
.alignfull.kd-block-news {
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
}

.kd-block-news {
	background-color: var(--color-bg-1);
}

.kd-block-news .wp-block-group__inner-container {
	width: 80rem;
	z-index: 10;
}

.kd-block-news h2 {
	margin-bottom: 0;
}

.alignfull.kd-block-news::before {
	background-image: url('images/brillenkreise.svg');
	content: '';
	display: inline-block;
	height: 220px;
	width: 508px;
	background-position: left 140px;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: 40%;
	bottom: 0;
}

/* kd-block-news latest posts ------------------------------------------------------- */
.kd-block-news .wp-block-columns .wp-block-columns {
	margin-top: 0;
}

.kd-block-news  .wp-block-columns .wp-block-columns ul {
	margin-bottom: 0;
}

.kd-block-news  .wp-block-columns .wp-block-columns ul li {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 0 75px max-content;
	padding-left: 0;
}

.kd-block-news  .wp-block-columns .wp-block-columns ul li::before {
	background-image: none;
}

.kd-block-news  .wp-block-columns .wp-block-columns ul li a {
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
}

.kd-block-news  .wp-block-columns .wp-block-columns ul li a:hover {
	border-bottom: none;
}

.wp-block-latest-posts__post-excerpt {
	font-size: 16px;
	font-size: 1rem;
}

.wp-block-latest-posts.columns-3 li {
  width: 26.787%;
  margin-right: 9.8%;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-3-spalten-von-4 {
	margin-right: 5%;
	flex-basis: 75% !important;
	flex-grow: 0;
	width: 75%;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-1-spalte-von-4 {
	margin-left: 0;
	flex-basis: 20% !important;
	flex-grow: 0;
	width: 20%;
}

.newsarchiv h2 {
	margin-top: 4rem;
	margin-bottom: 1rem;
}


/* kd-block-logos ------------------------------------------------------- */
.alignfull.kd-block-logos {
	margin-top: 5rem;
	margin-bottom: 5rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.kd-block-logos .wp-block-group__inner-container {
	margin-left: auto;
	margin-right: auto;
	width: 70rem;
}

.kd-logogrid .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 70px 8%;
	place-items: center;
}


/* kd-block-fotos ------------------------------------------------------- */
.kd-block-fotos {
	margin-top: 0;
	margin-bottom: 0;
}

.kd-fotogrid .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 40px;
	place-items: center;
}


/* kd-block-dunkel ------------------------------------------------------- */
.alignfull.kd-block-dunkel {
	margin-bottom: 6rem;
	position: relative;
}

.kd-block-dunkel {
	background-color: var(--color-bg-3);
}

.kd-block-dunkel .wp-block-group__inner-container {
	margin-left: auto;
	margin-right: auto;
	width: 80rem;
	z-index: 10;
}

.kd-block-dunkel h2,
.kd-block-dunkel h3,
.kd-block-dunkel p,
.kd-block-dunkel blockquote {
	color: var(--color-negative);
}

.kd-block-dunkel h2 {
	margin-bottom: 0;
}

.kd-block-dunkel a.wp-block-button__link {
	border: 1px solid var(--color-negative);
	color: var(--color-negative);
}

.alignfull.kd-block-dunkel::before {
	background-image: url('images/brillenkreise.svg');
	content: '';
	display: inline-block;
	height: 220px;
	width: 508px;
	background-position: left -80px;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: -50px;
	top: 0;
	opacity: 10%;
}

.alignfull.kd-block-dunkel::after {
	background-image: url('images/brillenkreise.svg');
	content: '';
	display: inline-block;
	height: 411px;
	width: 948px;
	background-position: left 0;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: 40px;
	top: 40px;
	opacity: 3%;
}


/* kd-block-brillen ------------------------------------------------------- */
.alignfull.kd-block-brillen {
	margin-top: 6rem;
	margin-bottom: 3rem;
	position: relative;
}

.kd-block-brillen {
	background-image: url('images/bg-brillenblock-sonnenbrille-dummy.jpg'),
		url('images/brillenkreise-grau.svg');
	background-position: left top, 
		-140px 320px;
	background-repeat: no-repeat;
	background-size: 450px 450px,
		508px 220px;
}

.kd-block-brillen .wp-block-group__inner-container {
  width: 80rem;
}

.kd-block-brillen .kd-brille-mit-info .wp-block-group__inner-container {
	width: 100%;
}

.kd-brille-mit-info .wp-block-group__inner-container h3,
.kd-brille-mit-info .wp-block-group__inner-container p {
	padding-left: 70px;
}

.kd-brille-mit-info .wp-block-group__inner-container p {
	font-size: 16px;
	font-size: 1rem;
}

.kd-brille-mit-info .wp-block-group__inner-container figure {
	padding-left: 0;
}


/* kd-block-inhalt-schmaler ------------------------------------------------------- */
.wp-block-group.kd-block-inhalt-schmaler,
.wp-block-columns.kd-block-inhalt-schmaler {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}





/* ========================================================================== */
/* ! WORDPRESS Plugins --------------------------------------------------- */
/* ========================================================================== */




/* ========================================================================== */
/* ! FOOTER ---------------------------------------- */
/* ========================================================================== */

.site-footer {
	position: relative;
}

.site-footer::before {
	background-image: url('images/brillenkreise-grau.svg');
	content: '';
	display: inline-block;
	height: 220px;
	width: 508px;
	background-position: left top;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: unset;
	right: 10%;
	top: -90px;
}

.site-footer::after {
	background-image: url('images/brillenkreise-grau.svg');
	content: '';
	display: inline-block;
	height: 411px;
	width: 948px;
	background-position: left top;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: unset;
	right: 15%;
	top: -70px;
	visibility: visible;
}

.site-footer .container {
    position: relative;
	z-index: 10;
}

.site-footer .row {
	padding: .5em 0;
	margin-bottom: 0;
}
    
.site-footer .footer-box {
	color: var(--color-text-light);
	flex: 1 1 21.25%;
    width: 21.25%;
    padding-right: 5%;
	padding-left: 28px;
}

.site-footer .footer-box:last-of-type {
	padding-right: 0;
}

.site-footer .row.footer-row-2 .footer-box {
	flex: 1 1 21.25%;
	width: 21.25%;
	padding-right: 5%;
	padding-left: 0;
}

.site-footer .row.footer-row-2 {
	margin-top: 50px;
}

.site-footer .row.footer-row-2 .footer-box:nth-of-type(2) {
	flex: 1 1 25%;
	width: 25%;
	padding-right: 2%;
	padding-left: 28px;
}

.site-footer .row.footer-row-2 .footer-box:nth-of-type(3),
.site-footer .row.footer-row-2 .footer-box:nth-of-type(4) {
	flex: 1 1 10%;
	width: 10%;
	padding-right: 2%;
	padding-left: 0;
}

.site-footer .row.footer-row-2 .wp-block-button {
	margin-right: 7%;
}

.siegel {
	flex: 1 1 21.25%;
	width: 21.25%;
	padding: 0;
}

.siegel img {
	margin-right: 15px;
}

.site-footer h3,
.site-footer p,
.site-footer ul {
    font-size: 14px;
    font-size: .875rem;
	font-weight: 400;
    color: var(--color-text-light);
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: 1.4;
}

.site-footer h3 {
	font-weight: 600;
	margin-bottom: 0;
	margin-top: 0;
}

.site-footer p {
	margin-bottom: .7em;
}

.site-footer strong {
	color: var(--color-text-light);
	font-family: "OpenSans", Arial, sans-serif;
	font-weight: 600;
}

.site-footer ul.widget li {
	padding-left: 0;
}

.site-footer ul.widget li:before {
	content: '';
	display: none;
}

.site-footer ul.menu li {
	padding-left: 0;
}

.site-footer ul.menu li:before {
	content: '';
	display: none;
}

.site-footer p.small {
    font-size: 15px;
    font-size: 0.9375rem;
}

.site-footer ul {
    margin-top: 0;
	margin-bottom: 0;
}

.site-footer a {
    border-bottom: 1px solid transparent;
    color: var(--color-text-light);
/*     transition: all 0.3s ease-in-out; */
}

.site-footer a:hover {
    border-bottom: 1px solid var(--color-text);
    color: var(--color-text);
}

.site-footer strong a {
	color: var(--color-text-light);
}

.site-footer a.wp-block-button__link {
	border: 1px solid var(--color-text-light);
	color: var(--color-text-light);
}

.site-footer a.wp-block-button__link:hover {
	border: 1px solid var(--color-text);
	color: var(--color-text);
}

a[href^="tel:"] {
/* 	border-bottom: 1px solid #fff; */
}

a.to-top {
    cursor: pointer;
    display: block;
    margin-bottom: 1em;
    position: absolute;
    top: -120px;
}

.site-footer a.to-top {
    font-size: 20px;
    font-size: 1.25rem;
    height: 40px;
    width: 40px;
}

a.to-top:link,
a.to-top:visited,
a.to-top:hover,
a.to-top:active {
    border-bottom: none;
}

a.to-top.icon svg {
	fill: var(--color-link);
	width: 17px;
}

a.to-top.icon svg:hover {
	fill: var(--color-text);
}

.row.copyright {
	margin-top: 30px;
}

.row.copyright p {
	font-size: 12px;
	font-size: .75rem;
	padding: 2em 0;
	text-align: center;
	width: 100%;
}



/* ========================================================================== */
/* ! RESPONSIVENESS 88 rem / 1408 px ---------------------------------------- */
/* ========================================================================== */

/* ab hier verändern sich die container flexibel */
@media only screen and (max-width: 88rem) {
    
    /* h1 {color: gray;} */
    /* h1::after {content: '....';}
	h2::after {content: '....';} */
	    
    
    /* header -------------------------- */
    .site-header .container,
	.site-content .container,
	.site-footer .container {
	    width: 86%;
	}

	
	/* content -------------------------- */	
	.wp-block-columns {
		margin-top: 4em;
	}
	
	.alignwide {
		margin-right: 0;
		margin-left: 0;
		max-width: 100%;
	}
	
	
	/* kd-block-3-spalten-flexibel ------------------------------------------------------- */
	.kd-block-dunkel .wp-block-group__inner-container {
	  width: 86%;
	}
	
	.kd-block-3-spalten-flexibel .wp-block-group__inner-container {
		width: 100%;
	}
	
	/* kd-block-hauptspalte/seitenspalte ------------------------------------------------------- */
	
	/* kd-block-bildteaser ------------------------------------------------------- */
	
	/* kd-block-news ------------------------------------------------------- */
	.kd-block-news .wp-block-group__inner-container {
	  width: 86%;
	}
	
	.wp-block-column + .wp-block-column.kd-block-1-spalte-von-4 {
	  margin-top: -3rem;
	}
	
	/* kd-block-news latest posts ------------------------------------------------------- */
	
	/* kd-block-logos ------------------------------------------------------- */
	.kd-block-logos .wp-block-group__inner-container {
		width: 86%;
	}
	
	.kd-block-logos .wp-block-group__inner-container {
		width: 86%;
	}
	
	.kd-logogrid .wp-block-group__inner-container {
		gap: 60px 6%;
	}
	
	/* kd-block-dunkel ------------------------------------------------------- */
	
	/* kd-block-brillen ------------------------------------------------------- */
	.kd-block-brillen .wp-block-group__inner-container {
	  flex-direction: column;
	  width: 86%;
	}
	
	.kd-block-brillen {
		background-position: left top, 
			-130px 220px;
		background-size: 350px 350px,
			441px 191px;
	}
	
	/* kd-block-inhalt-schmaler ------------------------------------------------------- */
	
	
	
	/* text -------------------------- */
	h1 {
		font-size: 40px;
		font-size: 2.5rem;
	}
	
	h2 {
		font-size: 24px;
		font-size: 1.5rem;
	}
		
    
}
    


/* ========================================================================== */
/* ! RESPONSIVENESS 75 rem / 1200 px ---------------------------------------- */
/* ========================================================================== */

@media only screen and (max-width: 75rem) {
    
    /* h1 {color: green;} */
    /* h1::after {content: '...';}
	h2::after {content: '...';} */
    
    
    /* layout allgemein -------------------------- */
    .container-main {
	    width: 84.5%;
	}
    
    
	/* header -------------------------- */	
	body.home .site-banner {
		height: 500px;
	}

	.sb-search {
		top: 92px;
	}
	
	.brillenkreise-header-top-left {
		width: 40%;
	}
	
	.brillenkreise-header-bottom-big {
		width: 60%;
	}
	
	.brillenkreise-header-bottom-small {
		bottom: -90px;
		right: 7%;
		width: 40%;
	}
	
	/* sticky header */	
		
	/* mobile navigation -------------------------- */
    #menu-icon {
        cursor: pointer;
        display: block;
        /* show menu icon */
        font-size: 1.2em;
        margin-top: -3px;
        padding: 0;
        text-align: right;
        width: 100%;
	}
	
	#menu-icon svg {
		fill: var(--color-text);
	}
	
	#menu-icon:hover,
    #menu-icon.active {
        background: transparent;
	}
	
	#menu-icon:hover svg {
		/* fill: var(--color-main); */
	}
	
	#menu-icon span {
		pointer-events: none;
	}
    
    .nav-main {
        box-shadow: 0px 25px 25px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        display: none;
        /* menu-icon-function: visibility will be toggled with jquery */
        float: none;
        margin-top: .3em;
	}
	
	.nav-wrap {
		right: 0;
		left: auto;
		
		padding: 0;
		width: 250px;        
	}
    
    ul.nav {
        background-color: var(--color-bg-1);
        border-radius: 5px;
		display: block;
        float: none;
        margin-top: 0;
        padding: .2em 1.4em;
        position: relative;
        z-index: 1000;
	}
    
    ul.nav > li {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        display: block;
        float: none;
        margin-left: 0;
        padding: 1em;
	}
    
    ul.nav li:first-child {
        border-top: none;
	}
    
    ul.nav > li > a {
        padding: 0;
	}
        
    .nav-main .current-menu-item > a, 
    .nav-main .current-page-ancestor > a, 
    .nav-main .current-menu-item > a:hover, 
    .nav-main .current-page-ancestor > a:hover {
		border-bottom: 1px solid transparent;
		font-family: "OpenSans", Arial, sans-serif;
		font-weight: 600;
   
	}
    
    .nav-main li:hover > a, 
    .nav-main .current-page-item > a:hover, 
    .nav-main .current-page-ancestor > a:hover {
		border-bottom: 1px solid var(--color-text);
	}
	
	.nav-main a:focus, 
	.nav-main .current-page-item > a, 
	.nav-main .current-page-ancestor > a {
		/* color: var(--color-link); */
	}
    
    .sub-menu {
        position: relative;
		top: 10px;
		
		box-shadow: none;
        margin: 0;
        opacity: 1;
        padding: .2em 0 .2em 1.2em;
        width: auto;
        z-index: 1;
	}
    
    .sub-menu li {
        padding: .5em 0 .5em 1em;
	}
    
    .sub-menu li a {
        padding: 0;
	}
	
	.sub-menu li a::before {
		content: '› ';
	}
	
	/* open/close icon */
	ul.nav > li > a.mobile-toggle::before {
		background-image: url('icons/icon-down.svg');
		background-size: contain;
		background-repeat: no-repeat;
		content: '';
		display: inline-block;
		height: 20px;
		position: absolute;
		top: 12px;
		right: 0;
		width: 20px;
	}
	
	ul.nav > li.sub-menu-open > a.mobile-toggle::before {
		background-image: url('icons/icon-up.svg');
	}
	
	/* hide submenu */
	.sub-menu {
		display: none !important;
		visibility: hidden !important;
	}
	
	/* show submenu */
	.menu-item-has-children .sub-menu.visible {
		display: block !important;
		visibility: visible !important;
	}
    /* ende mobile navigation */
    
    /* open state */
    /* font-size für input-felder auf 16px setzen > verhindert skalieren auf dem iphone */
    input[type="color"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="eclock"],
    input[type="month"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    select:focus,
    textarea {
        font-size: 16px;
	}
    
    .sb-search {
		right: 2.5rem;
	}
	
	.site-header.sticky .sb-search {
		top: 47px;
	}
	
   
    /* content -------------------------- */
   .wp-block-columns {
		margin-top: 3em;
	}
	
	.main {
        flex-wrap: wrap;
	}
	
	.home h1 + h2 {
		width: 100%;
	}
	
	.wp-block-column {
		flex-basis: 47%;
	}
	
	.kd-einzug {
		padding-left: 3em;
	}
	
	
	/* kd-block-3-spalten-flexibel ------------------------------------------------------- */
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column {
		flex-basis: 43%;
		margin-bottom: 2em;
		margin-right: 7%;
	}
	
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column:nth-of-type(3n) {
		margin-right: unset;
	}
	
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column:nth-of-type(3n) {
		margin-right: 7%;
	}
	
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column:nth-of-type(2n) {
		margin-right: 0;
	}
	
	/* kd-block-hauptspalte/seitenspalte ------------------------------------------------------- */
	.wp-block-column.kd-block-hauptspalte {
		flex-basis: 70% !important;
		padding-right: 0;
	}
	
	.wp-block-column.kd-block-seitenspalte {
		flex-basis: 30% !important;
	}
	
	/* kd-block-bildteaser ------------------------------------------------------- */
	
	/* kd-block-news ------------------------------------------------------- */
	.alignfull.kd-block-news .wp-block-columns {
		flex-wrap: wrap !important;
	}
	
	/* kd-block-news latest posts ------------------------------------------------------- */
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-3-spalten-von-4 {
		margin-right: 0;
		flex-basis: 100% !important;
		flex-grow: 0;
		width: 100%;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-1-spalte-von-4 {
		margin-left: 0;
		flex-basis: 50% !important;
		flex-grow: 0;
		width: 50%;
	}
	
	/* kd-block-logos ------------------------------------------------------- */
	.kd-logogrid .wp-block-group__inner-container {
		grid-template-columns: repeat(3, 1fr);
		gap: 50px 8%;
	}
	
	/* kd-block-dunkel ------------------------------------------------------- */
	
	/* kd-block-brillen ------------------------------------------------------- */
	
	/* kd-block-inhalt-schmaler ------------------------------------------------------- */
	
	


    /* footer -------------------------- */	
	
	
}



/* ========================================================================== */
/* ! RESPONSIVENESS 65 rem / 1040 px ---------------------------------------- */
/* ========================================================================== */

/* einspaltig – war ursprünglich 52 rem */
@media only screen and (max-width: 65rem) {
    
    /* h1 {color: red;} */
    /* h1::after {content: '..';}
	h2::after {content: '..';} */
    
    
    /* layout allgemein -------------------------- */	
	.container-main {
		width: 90%;
	}
	
	body.home .site-banner {
		height: 450px;
	}
	
	body.site .brillenkreise-header-top-left {
		width: 80%;
	}
	
	.site-content {
		padding-top: 1rem;
	}
	
	body.home .site-content,
	body.site .site-content {
		margin-top: 200px;
	}
	
	.container .wp-block-columns {
		flex-wrap: wrap !important;
	}
	
	.container .wp-block-column {
    	flex-basis: 100% !important;
	}
	
	.wp-block-column {
		margin-bottom: 0;
	}
	
	.wp-block-column:nth-child(2n+1) {
		margin-right: 0;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
	}
	
	.wp-block-column:not(:first-child) {
		margin-left: 0;
	}
	
	.wp-block-column + .wp-block-column {
		margin-top: 3rem;
	}
	
	:where(.wp-block-columns.is-layout-flex) {
		gap: 0 !important;
	}
	
	.alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}	
    
    
    /* header -------------------------- */    
    .site-header {
		height: 150px;
	}
		
	.site-header .row {
		margin-bottom: 0;
	}
    
    .sb-search {
		right: 2.5rem;
	}
	
        
    /* content -------------------------- */ 
    .wp-block-columns {
		margin-top: 2em;
	}
	
	.site.home h1 {
	    margin-top: 1em;
	}
	
	table {
		width: 100%;
	}
	
	.wp-block-column > h2, 
	.wp-block-column > h3, 
	.wp-block-column > h4, 
	.wp-block-column > h5, 
	.wp-block-column > h6 {
		margin-top: 1.5em;
	}
	
	.wp-block-column:first-of-type h2:first-of-type,
	.wp-block-column:first-of-type h3:first-of-type,
	.wp-block-column:first-of-type h4:first-of-type {
		margin-top: 2rem;
	}
	
	.wp-block-column ul li,
	.wp-block-column ol li {
		padding-bottom: .7em;
	}	
	
	
	/* kd-block-3-spalten-flexibel ------------------------------------------------------- */
	/* > wird zu 1-spaltig */
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column {
		flex-basis: 100%;
		margin-bottom: 1em;
	}
	
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column,
	.wp-block-group.kd-block-3-spalten-flexibel .wp-block-group__inner-container .wp-block-column:nth-of-type(3n) {
		margin-right: 0;
	}
	
	/* kd-block-hauptspalte/seitenspalte ------------------------------------------------------- */
	.is-layout-flow.wp-block-column.kd-block-hauptspalte {
		flex-basis: 95% !important;
		flex-shrink: 0;
		margin-right: 0;
		padding-right: 5%;
	}
	
	.is-layout-flow.wp-block-column.kd-block-seitenspalte {
		flex-basis: 95% !important;
		flex-shrink: 0;
		margin-left: 0 !important;
		margin-top: 3rem;
		padding-right: 5%;
	}
	
	.kd-block-seitenspalte .wp-block-group__inner-container {
		flex-basis: 1;
		flex-direction: column;
	}
	
	.kd-block-seitenspalte p, 
	.kd-block-seitenspalte ul, 
	.kd-block-seitenspalte ol, 
	.kd-block-seitenspalte h3, 
	.kd-block-seitenspalte h4 {
	   font-size: 18px;
	   font-size: 1.125rem;
	}
	
	/* kd-block-bildteaser ------------------------------------------------------- */
	.alignfull.kd-block-bildteaser .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 50% !important;	
	}
	
	/* kd-block-news ------------------------------------------------------- */
	.alignfull.kd-block-news,
	.alignfull.kd-block-dunkel {
		padding: 2rem 0;
	}
	
	.alignfull.kd-block-news::before {
		left: unset;
		right: 20px;
	}
	
	/* kd-block-news latest posts ------------------------------------------------------- */
	.kd-block-news .wp-block-columns .wp-block-columns ul li {
		grid-template-rows: 0 50px max-content;
	}
		
	.wp-block-latest-posts.columns-3 li {
	  width: 45%;
	  margin-right: 9.8%;
	}
	
	.wp-block-latest-posts.columns-3 li:nth-of-type(2n) {
	  margin-right: 0;
	}
	
	/* kd-block-fotos ------------------------------------------------------- */
	.kd-block-fotos {
		margin-top: 0;
		margin-bottom: 4rem;
	}
	
	.kd-fotogrid .wp-block-group__inner-container {
		grid-template-columns: repeat(2, 1fr);
	}
	
	/* kd-block-logos ------------------------------------------------------- */
	.kd-logogrid .wp-block-group__inner-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px 12%;
	}
	
	/* kd-block-dunkel ------------------------------------------------------- */
	.alignfull.kd-block-dunkel::before {
		left: -170px;
	}
	
	.alignfull.kd-block-dunkel::after {
		display: none;
	}
	
	/* kd-block-brillen ------------------------------------------------------- */
	.kd-block-brillen {
		background-image: none;
	}
	
	.kd-brille-mit-info .wp-block-group__inner-container h3, 
	.kd-brille-mit-info .wp-block-group__inner-container p {
		padding-left: 40px;
	}
	
	/* kd-block-inhalt-schmaler ------------------------------------------------------- */
	.wp-block-group.kd-block-inhalt-schmaler,
	.wp-block-columns.kd-block-inhalt-schmaler {
		width: 70%;
	}
	
	
	/* text -------------------------- */
	p.aufgeteilt,
	ul.aufgeteilt {
		column-count: 1;
		column-gap: 0;
		margin-bottom: 2em;
	}
    
	
	/* buttons */
    .kd-button-klein a.wp-block-button__link {
	  font-size: 18px;
	  font-size: 1.125rem;
	}
    
	
    /* footer -------------------------- */
    .site-footer {
	    padding-top: 3em;
	}
	
	.icon-haus::before, 
	.icon-uhr::before, 
	.icon-telefon::before {
		left: 0;
	}
	
	.icon-instagram::before,
	.icon-facebook::before {
		left: -12px;
		top: 4px;
	}
	
	.icon-haus, 
	.icon-uhr, 
	.icon-telefon,
	.icon-instagram,
	.icon-facebook,
	.footer-box p {
		padding-left: 28px;
	}
	
	.site-footer .footer-box:first-of-type p {
	    padding-left: 28px;
	}
	
	.site-footer .footer-box:first-of-type p span {
		padding-left: 0;
	}
    
    .site-footer .footer-box,
    .site-footer .footer-box:nth-of-type(2n),
    .site-footer .footer-box:last-of-type {
        flex-basis: 50%;
        max-width: 50%;
        padding-right: 0;    
	}
	
	.site-footer .footer-box:first-of-type {
		flex-basis: 50%;
	}
	
	.site-footer .footer-box:nth-of-type(2n) {
	    margin-left: 0;
	}
	
	.site-footer .footer-box:nth-of-type(2n+1) {
		padding-left: 0;
	}
	
	.site-footer .footer-box:first-of-type {
		padding-left: 0;
	}
    
    .site-footer .footer-box {
	    margin-bottom: 2em;
		padding-left: 0;
	}
	
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(2) {
		flex: 1 1 50%;
		width: 50%;
		padding-right: 2%;
		padding-left: 28px;
	}
	
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(3),
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(4) {
		flex: 1 1 25%;
		width: 25%;
		padding-right: 2%;
		padding-left: 0;
	}
	
	.site-footer .row.footer-row-2 .wp-block-button {
		margin-right: 0;
		width: 50%;
	}
	
	.siegel {
		flex: 1 1 50%;
		width: 50%;
		padding: 0;
	}
    
    .site-footer .footer-box ul {
        margin-bottom: 0;
	}
    
    .site-footer ul li {
        padding: .2rem 0;
	}
	
	.site-footer p.small {
		padding-top: 2em;
	}
	
}



/* ========================================================================== */
/* ! RESPONSIVENESS 40 rem / 640 px ---------------------------------------- */
/* ========================================================================== */

/* einspaltig, iPhone6 */
@media only screen and (max-width: 40rem) {

    /* h1 {color: black;} */
    /* h1::after {content: '.';}
	h2::after {content: '.';} */
    
	
	/* layout allgemein -------------------------- */
    .container {
        margin-right: 7%;
        margin-left: 7%;
	}
	
	.container-main {
		width: 86%;
	}
	
	.wp-block-image .alignleft,
	.main-with-sidebar .wp-block-image .alignleft {
		float: none;
		margin-right: 0;
	}
	
	.wp-block-image .alignright,
	.main-with-sidebar .wp-block-image .alignright {
		float: none;
		margin-left: 0;
	}
	
	.wp-block-table.alignwide.ganze-breite {
		width: 100%;
	}
	
	.wp-block-columns {
		margin-top: 3em;
	}
	
		
	
	/* header -------------------------- */    
	.site-header {
		height: 130px;
	}
	
	.site-header .logo {
		top: 15px;
		z-index: 1300;
	}
	
	.site-header .logo object {
		width: 250px;
	}
	
	.nav-main {
		margin-top: 9px;
	}
	
	.nav-wrap {
        padding: 0;
        left: auto;
        top: 70px;
        right: 0;
        width: 100%;
		z-index: 3000;        
	}
	
	.sb-search {
		right: 2em;
		top: 67px;
	}
	
	.sb-search.sb-search-open, 
	.no-js .sb-search {
		width: 50%;
	}
		
	
	/* sticky header */
	.site-header.sticky {
		height: 130px;
	}
	
	.site-header.sticky .logo object {
		width: 250px;
	}
	
	.site-header.sticky .nav-wrap {
		top: 28px;
	}
	
	.site-header.sticky .sb-search {
		top: 26px;
	}
	
	
	/* content -------------------------- */
	body.home .site-content,
	body.site .site-content {
		margin-top: 180px;
	}
	
	.site-content {
		margin-top: 50px;
		margin-bottom: 80px;
	}
	
	
	
	
	/* kd-block-3-spalten-flexibel ------------------------------------------------------- */
	.is-layout-flow.wp-block-column.kd-block-hauptspalte,
	.is-layout-flow.wp-block-column.kd-block-seitenspalte {
		padding-right: 0;
	}
	
	/* kd-block-hauptspalte/seitenspalte ------------------------------------------------------- */
	
	/* kd-block-bildteaser ------------------------------------------------------- */
	/* sorgt dafür, dass der teaser auch auf iphones die ganze breite ausfüllt */
	html {
		width: -webkit-fill-available;
	}
	
	.alignfull.kd-block-bildteaser .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;	
	}
	
	.alignfull.kd-block-bildteaser::before {
		display: none;;
	}
	
	/* kd-block-news ------------------------------------------------------- */
	
	/* kd-block-news latest posts ------------------------------------------------------- */
	.kd-block-news .wp-block-columns .wp-block-columns ul li {
		display: block;
	}
		
	.wp-block-latest-posts.columns-3 li {
	  width: 100%;
	  margin-right: 0;
	}
	
	.wp-block-column + .wp-block-column.kd-block-1-spalte-von-4 {
		margin-top: -4rem;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-3-spalten-von-4 {
		flex-basis: 100% !important;
		width: 100%;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.kd-block-1-spalte-von-4 {
		flex-basis: 100% !important;
		width: 100%;
	}
	
	.kd-block-news .wp-block-columns .wp-block-columns ul li a {
		font-size: 20px;
		font-size: 1.25rem
	}
	
	.wp-block-latest-posts__post-excerpt {
		font-size: 18px;
		font-size: 1.125rem;
	}
	
	/* kd-block-fotos ------------------------------------------------------- */
	.kd-block-fotos {
		margin-top: 0;
		margin-bottom: 3rem;
	}
	
	.kd-fotogrid .wp-block-group__inner-container {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.kd-fotogrid .wp-block-group__inner-container figure {
		margin-right: 0;
	}
	
	/* kd-block-logos ------------------------------------------------------- */
	
	/* kd-block-dunkel ------------------------------------------------------- */
	
	/* kd-block-brillen ------------------------------------------------------- */
	
	/* kd-block-inhalt-schmaler ------------------------------------------------------- */
	.wp-block-group.kd-block-inhalt-schmaler,
	.wp-block-columns.kd-block-inhalt-schmaler {
		width: 100%;
	}
	

	/* text -------------------------- */
	h1 + .wp-block-columns .wp-block-column:first-of-type h2:first-of-type {
		margin-top: 0;
	}
	
	h2,
	h3,
	p,
	ul,
	ol {
		-ms-hyphens: auto;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
	
	h1 {
		font-size: 34px;
		font-size: 2.125rem;
		line-height: 1.2;
	}
	
	h2 {
		font-size: 26px;
		font-size: 1.625rem;
	}
	
	h3 {
		font-size: 20px;
		font-size: 1.25rem;
	}
	
	strong,
	a {
		-ms-hyphens: none;
		-webkit-hyphens: none;
		hyphens: none;
	}
	
	.breadcrumb {
		margin-bottom: .75em;
	}
	
	.breadcrumb p,
	.breadcrumb a,
	.breadcrumb .current {
		font-size: 13px;
		font-size: .8125rem;
		line-height: 1.3;
	}
	
	table {
		font-size: 12px;
		font-size: .75rem;
		word-break: break-word;
	}
	
	.kd-einzug {
		padding-left: 0;
	}
	
	.kd-highlight.kd-einzug {
		padding-left: 2em;
	}
	
	
	/* bilder */
		

	/* footer -------------------------- */
	.site-footer h3,
	.site-footer p, 
	.site-footer ul {
		font-size: 16px;
		font-size: 1rem;
	}
	
	.site-footer ul li {
		padding: .3rem 0;
	}

	.site-footer .footer-box:first-of-type,
	.site-footer .footer-box, 
	.site-footer .footer-box:nth-of-type(2n), 
	.site-footer .footer-box:last-of-type {
		flex-basis: 100%;
		max-width: 100%;
	}
	
	.site-footer .footer-box {
		/* border-top: 1px solid var(--color-text-bold);
		padding-top: 1.5em; */
		margin-bottom: 1.2em;
	}
	
	.site-footer .footer-row-2 .footer-box {
		border-top: none;
		padding-top: 0;
	}
	
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(2) {
		flex: 1 1 100%;
		width: 100%;
		padding-right: 0;
		padding-left: 28px;
	}
	
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(3),
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(4) {
		flex: 1 1 100%;
		width: 1005%;
		padding-right: 0;
		padding-left: 0;
	}
	
	.footer-box .wp-block-button {
		margin-top: 1rem;
		margin-bottom: 3rem;
	}
	
	.site-footer .row.footer-row-2 .wp-block-button {
		margin-right: 0;
		margin-bottom: 40px;
		width: 100%;
	}
	
	.site-footer a.wp-block-button__link {
		font-size: 20px;
		font-size: 1.25em;
		font-weight: 400;
		padding: 1em 1.5em;
		width: 100%;
	}
	
	.icon-instagram::before,
	.icon-facebook::before {
		left: -12px;
		top: 7px;
	}
	
	.site-footer .row.footer-row-2 .footer-box:nth-of-type(3) {
		margin-bottom: 0;
	}
	
	.siegel {
		flex: 1 1 100%;
		margin-top: 3em;
		width: 100%;
		padding: 0;
	}

}



/* ========================================================================== */
/* ! RESPONSIVENESS 22.5 rem / 360 px ---------------------------------------- */
/* ========================================================================== */

/* einspaltig, Samsung*/
@media only screen and (max-width: 22.5rem) {

    /* h1 {color: purple;} */
    /* h1::after {content: '_';}
	h2::after {content: '_';} */
    
	.site-header.sticky {
		height: 100px;
	}
	
	.logo object,
	.site-header.sticky .logo object {
		width: 180px;
	}
    
}



/* ========================================================================== */
/* ! PRINT STYLES ---------------------------------------- */
/* ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
	}
	
    pre,
    blockquote {
        border: 1px solid #000;
        page-break-inside: avoid;
	}
	
    tr,
    img {
        page-break-inside: avoid;
	}
	
    img {
        max-width: 100% !important;
	}
	
    @page {
        margin: 0.5cm;
	}
	
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
	}
	
    h2,
    h3 {
        page-break-after: avoid;
	}
    /* !eigene print-styles */
}

