/*!
Theme Name: Fleder
Theme URI: https://www.3wm.de
Author: 3WM GmbH
Author URI: https://www.3wm.de
Description: Theme for Heiko Fleder. Needs Advanced Custom Fields PRO for full functionality.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fleder

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Fleder is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

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

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

@font-face {
    font-family: 'OpenSans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: local('OpenSans Bold Italic'), local('OpenSans-BoldItalic'), url('./assets/fonts/OpenSans-BoldItalic.woff2') format('woff2'), url('./assets/fonts/OpenSans-BoldItalic.woff') format('woff');
}

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

@font-face {
    font-family: 'OpenSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('OpenSans Bold'), local('OpenSans-Bold'), url('./assets/fonts/OpenSans-Bold.woff2') format('woff2'), url('./assets/fonts/OpenSans-Bold.woff') format('woff');
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

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

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

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

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

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

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

/**
 * 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;
    width: auto !important;
}

/**
 * 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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-weight: normal;
}

h1 {
    color: #8f7f61;
    font-size: 4em;
    margin: 0.5em 0 0;
    text-align: center;
}

h2 {
    font-size: 2em;
}

p {
    margin-bottom: 1.5em;
}

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

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    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;
    font-size: 15px;
    font-size: 0.9375rem;
}

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

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

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/* 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;
}

body {
    background: #fff;
}

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

ul,
ol {
    margin: 0 0 1.5em 3em;
}

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

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

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# 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);
    font-size: 12px;
    font-size: 0.75rem;
    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%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #7a6b50;
}

a:visited {
    color: #725e20;
}

a:hover,
a:focus,
a:active {
    color: #7a6b50;
}

a:focus {
    outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    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;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

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

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

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

/*--------------------------------------------------------------
# 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: 14px;
    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 {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

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

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

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

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

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

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/* 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;
}

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

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
## Theme Fleder - Allgemein
--------------------------------------------------------------*/
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.akzentfarbe {
    color: #8f7f61;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

.entry-footer {
    display: none; /* Edit-Link unter Seite ausblenden */
}

.force-break {
    margin-top: 0;
    word-break: break-all;
}

.hide-it {
    display: none;
}

/*--------------------------------------------------------------
## Theme Fleder - Dekorzeile (Shortcode)
--------------------------------------------------------------*/
.dekorzeile {
    font-size: 0;
    height: 16px;
    margin: 12px 0 24px;
}

.dekorzeile .line {
    border-bottom: 1px solid #8f7f61;
    display: inline-block;
    height: 16px;
    margin: 0;
    padding: 0;
    width: calc(50% - 26px);
}

.dekorzeile .center {
    display: inline-block;
    height: 16px;
    margin: 0 6px;
    padding-top: 2px;
    width: 40px;
}

.dekorzeile .bricks {
    height: 10px;
    margin: 0;
    padding: 0;
}

.dekorzeile .brick {
    background-color: #8f7f61;
    height: 6px;
    width: 18px;
}

.dekorzeile .single {
    margin: 0 auto;
}

.dekorzeile .double {
    float: left;
}

.dekorzeile .second {
    margin-left: 4px;
}

/*--------------------------------------------------------------
## Theme Fleder - Strategiegespräch
--------------------------------------------------------------*/
#strategiegespraech {
    background-color: #7a6b50;
    color: #ffffff;
    display: none;
    height: 100%;
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

#closer-wrapper {
    padding-bottom: 20px;
    text-align: right;
}

#closer {
    cursor: pointer;
    display: inline-block;
    font-size: 2rem;
    line-height: 1;
}

/* Inline-SVG-Icons (ersetzen Font Awesome) */
svg.icon {
    display: inline-block;
    vertical-align: middle;
}

#strategiegespraech p.h2 {
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
}

#strategiegespraech .form-strategiegespraech {
    margin: 0 auto;
    width: 40%;
}

#strategiegespraech .wpcf7-form {
    border: none;
}

#strategiegespraech .wpcf7 input[type=text], #strategiegespraech .wpcf7 input[type=email], #strategiegespraech .wpcf7 input[type=tel] {
    border: none;
    border-radius: 0;
    padding: 6px 12px;
}

#strategiegespraech .wpcf7 input[type=submit] {
    background-color: #2c2f36;
    border: none;
    border-radius: 0;
    color: #ffffff;
}

#strategiegespraech .wpcf7-list-item {
    display: block;
    margin: 0.2rem 0 0;
}

#strategiegespraech .wpcf7-list-item a {
    color: #ffffff;
    text-decoration: underline;
}

#strategiegespraech .cf7mls_next.action-button, #strategiegespraech .cf7mls_back.action-button {
    background-color: #2c2f36;
    border-radius: 0;
    color: #ffffff;
}

#strategiegespraech .cf7mls_next.action-button:hover, #strategiegespraech .cf7mls_back.action-button:hover {
    background-color: #2c2f36;
    opacity: 1;
}

#strategiegespraech div.wpcf7-mail-sent-ok {
    border: none !important;
}

/* Formular-Meldungen im Overlay (Gold-Hintergrund): dunkle Boxen in Button-Farbe statt Rot/Gruen/Blau */
#strategiegespraech .wpcf7 .wpcf7-not-valid-tip {
    background-color: #2c2f36;
    border-left: 3px solid #e8a093;
    color: #ffffff;
    display: inline-block;
    font-size: 0.8125rem;
    margin-top: 4px;
    padding: 2px 8px;
}

#strategiegespraech .wpcf7 .wpcf7-not-valid {
    box-shadow: inset 0 0 0 2px #e8a093;
}

#strategiegespraech .wpcf7 form .wpcf7-response-output,
#strategiegespraech .fieldset-cf7mls-wrapper div.wpcf7-validation-errors {
    background-color: #2c2f36;
    border: none;
    border-left: 4px solid #e8a093;
    color: #ffffff;
    font-size: 0.9375rem;
    margin: 1.5em 0 0;
    padding: 0.75em 1em;
}

#strategiegespraech .wpcf7 form.sent .wpcf7-response-output {
    border-left-color: #b3a489;
}

#strategiegespraech .fieldset-cf7mls-wrapper div.wpcf7-validation-errors .wpcf7-icon-wraning,
#strategiegespraech .wpcf7-response-output svg {
    fill: #e8a093;
}

/*--------------------------------------------------------------
## Theme Fleder - Header/Logo
--------------------------------------------------------------*/
.site-branding {
    height: 130px;
    margin: 20px 0 35px;
    overflow: hidden;
    text-align: center;
}

.site-branding img {
    margin: 0 auto;
}

#site-header-fixed {
    background-color: #ffffff;
    height: 230px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/*--------------------------------------------------------------
## Theme Fleder - Navigation
--------------------------------------------------------------*/
.main-navigation {
    height: 35px;
    margin: 0 0 10px;
    text-align: center;
}

.menu-hauptmenue-container {
    display: inline-block;
    margin: 0 auto;
}

.main-navigation ul {
    text-transform: uppercase;
}

.main-navigation ul li a {
    color: #666666; /* vorher #868686 (3,6:1) – Kontrast WCAG AA */
    font-size: 1.125em;
    padding: 0 1em;
}

.main-navigation ul li a:hover {
    background-color: #efefef;
}

/*--------------------------------------------------------------
## Theme Fleder - Header-Image
--------------------------------------------------------------*/
#header-image {
    background-color: #efefef;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 230px auto 0;
}

#header-image img {
    position: relative;
}

/* Hero-Bild als <img> hinter den Inhalten (ersetzt background-image, cover-Verhalten) */
#header-image img.header-image-bg {
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Seiten ohne Hero: Abstand fuer den fixen Header (sonst rutscht der Inhalt darunter) */
body:not(.home) #masthead {
    padding-top: 230px;
}

#header-image p {
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------
## Theme Fleder - Header-Claim
--------------------------------------------------------------*/
.header-claim {
    color: #ffffff;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 2em;
    font-weight: normal;
    line-height: 1.5em;
    margin: 0 auto;
    padding: 1em 0;
    position: relative;
    text-align: center;
    width: 50%;
}

.header-claim strong {
    font-size: 1.8em;
    font-weight: normal;
}

/*--------------------------------------------------------------
## Theme Fleder - Header-Video
--------------------------------------------------------------*/
.header-video {
    margin: 1em auto;
    padding: 0;
    position: relative;
    text-align: center;
    width: 40%;
}

.header-video .jetpack-video-wrapper {
    text-align: center;
}

.header-video .jetpack-video-wrapper iframe {
    margin: 0 auto !important;
}


/*--------------------------------------------------------------
## Theme Fleder - Header-CTA
--------------------------------------------------------------*/
.header-cta {
    background-color: #7a6b50;
    color: #ffffff;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 2em;
    line-height: 1.1em;
    margin: 1em auto;
    padding: 0.5em;
    position: relative;
    text-align: center;
    width: 40%;
}

.header-cta a {
    color: #ffffff;
    cursor: pointer;
}

/*--------------------------------------------------------------
## Theme Fleder - Mehr Info...
--------------------------------------------------------------*/
#mehr-info {
    color: #ffffff;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    margin: 0 auto;
    padding: 0.5em;
    position: relative;
    text-align: center;
}

/*--------------------------------------------------------------
## Theme Fleder - In 5 Schritten
--------------------------------------------------------------*/
.in-fuenf-schritten {
    background: #383b41 url('./assets/images/in-fuenf-schritten-min.jpg') center;
    background-size: cover;
    color: #ffffff;
    padding: 2.5em 0 3em;
}

.in-fuenf-schritten h2 {
    margin: 0;
}

.in-fuenf-schritten p.zahl {
    color: #8f7f61;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 4.5em;
    margin: 0;
}

.in-fuenf-schritten .wp-block-columns .wp-block-column:first-child {
    background: rgba(255, 255, 255, 0.1);
}

/*--------------------------------------------------------------
## Theme Fleder - Budget berechnen
--------------------------------------------------------------*/
.budget {
    margin: 2em 0 3em;
}

.budget h2 {
    color: #8f7f61;
    font-size: 2.5em;
    margin: 0.5em 0;
}

.budget h3 {
    font-size: 1.75em;
    margin: 0.25em 0;
}

.budget a {
    color: #7a6b50;
    text-decoration: underline;
}

.budget-opener {
    cursor: pointer;
    line-height: 1.25rem;
    margin: 2em 0 0;
    position: relative;
}

.budget-opener p {
    color: #7a6b50;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 2.5em;
    line-height: 0.5em;
    margin: 0;
}

.budget-opener .click {
    color: #7a6b50;
    display: inline-block;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 0.65rem;
    height: 20px;
    line-height: 20px;
    margin: 0 auto;
    width: 100%;
}

.budget-1 h4 {
    color: #7a6b50;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.budget-1-table h5 {
    color: #ffffff;
    font-size: 1.25em;
    margin: 0;
}

.budget-1-table p {
    color: #ffffff;
    line-height: 1.75em;
}

.budget-1-table .wp-block-column {
    background: #8b3434;
    padding: 1.5em 2em;
}

.budget-1-table .wp-block-column:first-child {
    background: #475f3e;
}

.budget-2 h4 {
    color: #7a6b50;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.budget-3 h4 {
    color: #7a6b50;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.budget-3 .bruchrechnung,
.budget-3 .bruchrechnung .wp-block-table,
.budget-3 .bruchrechnung .wp-block-columns,
.budget-3 .bruchrechnung table,
.budget-3 .bruchrechnung p {
    margin: 0;
}

.budget-3 .bruchrechnung table {
    width: auto;
}

.budget-4 h4 {
    color: #7a6b50;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.budget-4 h5 {
    color: #7a6b50;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
}

.budget-4 ul {
    padding-left: 20%;
}

.budget-4 .immobilienpunkte {
    margin-bottom: 0;
}

.budget-4 .immobilienkosten {
    border-top: 1px solid #8f7f61;
}


/*--------------------------------------------------------------
## Theme Fleder - Eigenleistung
--------------------------------------------------------------*/
.eigenleistung {
    background-color: #efefef;
    padding: 2.5em 0 3em;
}

.eigenleistung h3 {
    color: #7a6b50;
}

.eigenleistung ul {
    margin-left: 28%;
}

/*--------------------------------------------------------------
## Theme Fleder - Versicherungen
--------------------------------------------------------------*/
.versicherungen {
    background: #383b41 url('./assets/images/versicherungen-min.jpg') center;
    background-size: cover;
    color: #ffffff;
    padding: 2.5em 0 3em;
}

.versicherungen h2 {
    margin: 0;
}

.versicherungen h3 {
    color: #8f7f61;
    font-family: 'OpenSans', Arial, sans-serif;
    font-weight: bold;
    margin: 0;
}

.versicherungen .wp-block-column {
    background: rgba(255, 255, 255, 0.1);
    padding: 2em;
}

/*--------------------------------------------------------------
## Theme Fleder - Förderungen
--------------------------------------------------------------*/
.foerderungen {
    margin: 30px 0;
}

.foerderungen h2 {
    color: #8f7f61;
    font-size: 2.5em;
    margin: 0.5em 0;
}

.foerderungen h3 {
    font-size: 1.75em;
    margin-top: 0.25em;
}

.foerderungen ul {
    margin: 0;
    padding: 0 1em;
}

.wohnungsbaupraemie table {
    border-spacing: 0;
    font-size: 0.9em;
}

.wohnungsbaupraemie tbody tr:first-child {
    color: #ffffff;
    background-color: #7a6b50;
}

.wohnungsbaupraemie tbody tr:first-child td {
    border-bottom: 1px solid #b3a489;
}

.wohnungsbaupraemie tbody tr:nth-child(2) {
    background-color: #e0d5c0;
}

.wohnungsbaupraemie tbody tr:nth-child(2) td {
    border-bottom: #e0d5c0;
}

.wohnungsbaupraemie td {
    border-bottom: 1px solid #cccccc;
    padding: 0.5em 1em;
}

/*--------------------------------------------------------------
## Theme Fleder - Anfrage stellen
--------------------------------------------------------------*/
.anfrage {
    background-color: #383b41;
    padding: 2.5em 0 3em;
    position: relative; /* wegen dem stehenden Fleder */
    z-index: 100; /* wegen dem stehenden Fleder */
}

.anfrage h2 {
    color: #b3a489;
    font-size: 3em;
    line-height: 1.0em;
    margin: 0;
}

.anfrage p.h3 {
    color: #ffffff;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 2.5em;
    margin: 0;
}

.anfrage p {
    color: #ffffff;
    margin-bottom: 0;
}

.fleder-stehend img {
    position: absolute;
    top: -265px;
    z-index: 1000;
}

.anfrage .wp-block-button {
    padding-top: 24px;
}

/* Button-Bloecke: globales a:hover (#8f7f61) wuerde die Schrift in Buttonfarbe faerben */
.wp-block-button__link,
.wp-block-button__link:visited,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active {
    color: #ffffff;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    filter: brightness(0.9);
}

.wp-block-button.cta .wp-block-button__link {
    cursor: pointer;
}

/* Kontrast (WCAG AA): Buttons mit im Editor gesetztem CI-Gold auf dunkleres Gold ziehen */
.wp-block-button__link[style*="background-color:#8f7f61"] {
    background-color: #7a6b50 !important;
}

/*--------------------------------------------------------------
## Theme Fleder - Footer
--------------------------------------------------------------*/
.site-footer {
    position: relative;
    z-index: 10; /* wegen dem stehenden Fleder */
}

.footer-data {
    background-color: #26272c;
    color: #ffffff;
    line-height: 1.75em;
    padding: 2em 0 6em;
    position: relative;
}

.footer-data a {
    color: #ffffff;
    text-decoration: none;
}

.footer-data a:hover {
    color: #8f7f61;
}

.footer-data a:visited {
    color: #ffffff;
}

.footer-data p {
    margin: 0 0 1.5em;
}

.footer-col-33 {
    float: left;
    min-height: 1px;
    position: relative;
    width: 33.33333333%;
}

.footer-navigation ul {
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}

.footer-copyright {
    background-color: #383b41;
    color: #a5a6a8;
    font-size: 0.75em;
    letter-spacing: 0.5em;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
}

.footer-copyright a {
    color: #a5a6a8;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #a5a6a8;
}

.footer-copyright a:visited {
    color: #a5a6a8;
}

/*--------------------------------------------------------------
## Theme Fleder - Responsiveness
--------------------------------------------------------------*/

#page {
    max-width: calc(100vw);
}

@media (max-width: 1440px) {

}

@media (max-width: 768px) {

}

@media (max-width: 800px) {
    #site-navigation .menu-toggle {
        font-size: 0;
        background: none;
        border: none;
        color: #8f7f61;
        outline: none;
        cursor: pointer;
        margin-left: 9px;
    }

    #site-navigation .menu-toggle:before {
        content: "";
        display: block;
        width: 32px;
        height: 28px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M2 4h28M2 14h28M2 24h28' stroke='%238f7f61' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
    }

    #header-image {
        padding-bottom: 1em;
    }

    .header-claim {
        font-size: 1em;
        width: 90%;
    }

    .header-claim strong {
        font-size: 1.5rem;
    }

    .header-video {
        width: 90%;
    }

    .header-cta {
        font-size: 1.2rem;
        width: 90%;
    }

    #mehr-info {
        display: none;
    }

    h1 {
        font-size: 2.5em;
        line-height: 1em;
        margin-top: 1.25em;
    }

    h2 {
        font-size: 1.5em;
        line-height: 1em;
    }

    #budget h4 {
        font-size: 1.125em;
        line-height: 1em;
    }

    .budget-1-table .wp-block-column:first-child {
        margin-bottom: 1em;
    }

    .budget-4 ul {
        margin-left: 0;
        padding: 1em 2em;
    }

    .eigenleistung ul {
        margin-left: 0;
        padding: 1em;
    }

    .versicherungen .wp-block-column:first-child {
        margin-bottom: 1.5em;
    }

    .foerderungen h2 {
        font-size: 1.5em;
        line-height: 1em;
    }

    .foerderungen h3 {
        font-size: 1.25em;
        line-height: 1em;
    }

    .fleder-stehend img {
        display: none;
    }

    .anfrage h2 {
        font-size: 1.5em;
        line-height: 1.25em;
    }

    .anfrage .wpcf7 input[type=text], .anfrage .wpcf7 input[type=email] {
        margin-bottom: 10px;
    }

    .footer-col-33 {
        width: 100%;
    }
}


.site-branding,
#site-header-fixed,
.main-navigation ul li a,
#logo-small {
    transition: 250ms ease-in-out;
}

.site-branding {
    transition-property: margin-top, opacity;
    position: relative;
}

#site-header-fixed {
    transition-property: height, padding-left;
}

#logo-small {
    content: '';
    position: absolute;
    top: 10px;
    transition-property: left, opacity;
    opacity: 0;
    left: -70px;
    height: 60px;
    width: 67px;
    background: url("/wp-content/themes/fleder/assets/images/logo_small.jpg");
}

.menu-collapse #logo-small {
    left: 20px;
    opacity: 1;
}

.menu-collapse .site-branding {
    margin-top: -140px;
    opacity: 0;
}

.menu-collapse #site-header-fixed {
    height: 80px;
    padding-left: 80px;
}

.main-navigation ul li a {
    transition-property: padding;
}

.menu-collapse .main-navigation ul li a {
    padding: 0 .5em;
}

@media (max-width: 640px) {

    .wp-block-columns {
        display: block;
    }

    .wp-block-column:nth-child(2n) {
        margin-left: 0;
    }


    .budget-3 .wp-block-column {
        width: 50%;
        float: left;
        padding: 0 5px;
    }

    .budget-4 .immobilienpunkte .wp-block-column {
        float: left;
        padding: 0 5px;
    }

    .budget-4 .immobilienpunkte .wp-block-column:first-child {
        width: 70%;
    }

    .budget-4 .immobilienpunkte .wp-block-column:first-child + .wp-block-column {
        width: 30%;
    }

    .beispiel-formel {
        font-size: 0.75rem;
    }
}


@media (max-width: 1200px) {
    #site-header-fixed {
        padding-left: 0 !important;
    }

    #primary-menu {
        display: none !important;
        padding: 20px;
        text-align: right;
    }

    #primary-menu a {
        padding-right: 2px;
    }

    #site-navigation.toggled #primary-menu {
        display: block !important;
    }

    .menu-toggle {
        display: block !important;
        font-size: 0;
        background: none;
        border: none;
        color: #8f7f61;
        outline: none;
        cursor: pointer;
        margin-right: 20px;
        float: right;
    }

    .menu-toggle:before {
        content: "";
        display: block;
        width: 32px;
        height: 28px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M2 4h28M2 14h28M2 24h28' stroke='%238f7f61' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
    }

    .menu-hauptmenue-container {
        background: #fff;
        width: 100%;
        text-align: left;
        padding: 10px 0px;
    }
}

#page {
    overflow: hidden;
}

#strategiegespraech {
    overflow-y: auto;
}

#strategiegespraech .widget_text {
    min-width: 325px;
}
/*--------------------------------------------------------------
## Theme Fleder - Ratgeber (Blog)
--------------------------------------------------------------*/
.ratgeber-container,
.ratgeber-uebersicht {
    padding: 2em 0 4em;
}

/* Uebersicht */
.ratgeber-uebersicht-kopf {
    margin: 0 auto 2.5em;
    max-width: 760px;
    text-align: center;
}

.ratgeber-uebersicht-kopf .entry-title {
    font-size: 3em;
    line-height: 1.15;
}

.ratgeber-intro {
    margin-top: 1em;
}

.ratgeber-grid {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ratgeber-karte {
    margin: 0;
}

.ratgeber-karte-link {
    background-color: #ffffff;
    border: 1px solid #e3ded4;
    color: #404040;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: box-shadow 200ms ease-in-out, border-color 200ms ease-in-out;
}

.ratgeber-karte-link:hover,
.ratgeber-karte-link:focus {
    border-color: #7a6b50;
    box-shadow: 0 6px 20px rgba(44, 47, 54, 0.12);
    color: #404040;
}

.ratgeber-karte-link:visited {
    color: #404040;
}

.ratgeber-karte-bild {
    aspect-ratio: 3 / 2;
    background-color: #efefef;
    display: block;
    overflow: hidden;
}

.ratgeber-karte-bild img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ratgeber-karte-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25em 1.25em 1.5em;
}

.ratgeber-karte-datum {
    color: #6b6b6b;
    font-size: 0.875em;
    margin-bottom: 0.35em;
}

.ratgeber-karte-titel {
    color: #2c2f36;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 0.6em;
}

.ratgeber-karte-auszug {
    flex: 1;
    font-size: 0.95em;
    margin-bottom: 1em;
}

.ratgeber-karte-mehr {
    color: #7a6b50;
    font-weight: bold;
}

.ratgeber-uebersicht .pagination,
.ratgeber-uebersicht .navigation {
    margin-top: 3em;
    text-align: center;
}

.ratgeber-uebersicht .page-numbers {
    display: inline-block;
    padding: 0.3em 0.7em;
}

.ratgeber-uebersicht .page-numbers.current {
    background-color: #7a6b50;
    color: #ffffff;
}

/* Artikel */
.ratgeber-artikel {
    margin: 0 auto;
    max-width: 760px;
}

.ratgeber-artikel-kopf .entry-title {
    font-size: 2.5em;
    line-height: 1.2;
    margin: 0.5em 0 0.3em;
    text-align: left;
}

.ratgeber-meta {
    color: #6b6b6b;
    font-size: 0.9em;
    margin-bottom: 1.5em;
}

.ratgeber-titelbild {
    margin: 0 0 2em;
}

.ratgeber-titelbild img {
    display: block;
    height: auto;
    width: 100%;
}

.ratgeber-titelbild figcaption {
    color: #6b6b6b;
    font-size: 0.8em;
    margin-top: 0.4em;
    text-align: right;
}

.ratgeber-artikel .entry-content {
    font-size: 1.0625em;
    line-height: 1.7;
}

.ratgeber-artikel .entry-content h2 {
    color: #2c2f36;
    font-size: 1.6em;
    line-height: 1.3;
    margin: 1.8em 0 0.6em;
    scroll-margin-top: 100px; /* fixer Header (eingeklappt 80px) */
}

.ratgeber-artikel .entry-content h3 {
    color: #2c2f36;
    font-size: 1.25em;
    margin: 1.5em 0 0.5em;
    scroll-margin-top: 100px;
}

.ratgeber-artikel .entry-content ul,
.ratgeber-artikel .entry-content ol {
    margin: 0 0 1.5em 1.5em;
}

.ratgeber-artikel .entry-content li {
    margin-bottom: 0.4em;
}

.ratgeber-artikel .entry-content blockquote {
    border-left: 4px solid #b3a489;
    color: #2c2f36;
    font-style: italic;
    margin: 1.5em 0;
    padding: 0.2em 0 0.2em 1.2em;
}

.ratgeber-artikel .entry-content table {
    border-collapse: collapse;
    font-size: 0.95em;
    margin: 0 0 1.5em;
    width: 100%;
}

.ratgeber-artikel .entry-content th,
.ratgeber-artikel .entry-content td {
    border: 1px solid #e3ded4;
    padding: 0.5em 0.75em;
    text-align: left;
}

.ratgeber-artikel .entry-content th {
    background-color: #7a6b50;
    color: #ffffff;
}

.ratgeber-artikel .entry-content img {
    height: auto;
}

/* Inhaltsverzeichnis */
.ratgeber-toc {
    background-color: #f6f4f0;
    border-left: 4px solid #b3a489;
    margin: 0 0 2em;
    padding: 1em 1.5em;
}

.ratgeber-toc-titel {
    color: #2c2f36;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 1.15em;
    margin: 0 0 0.5em;
}

.ratgeber-artikel .ratgeber-toc ol {
    margin: 0 0 0 1.3em;
}

.ratgeber-toc li {
    margin-bottom: 0.25em;
}

/* Feste Boxen unter dem Artikel */
.ratgeber-artikel-fuss {
    margin-top: 3em;
}

.ratgeber-autor {
    align-items: center;
    border-bottom: 1px solid #e3ded4;
    border-top: 1px solid #e3ded4;
    display: flex;
    gap: 1.5em;
    margin-bottom: 2em;
    padding: 1.5em 0;
}

.ratgeber-autor-foto {
    border-radius: 50%;
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
    position: relative;
    width: 120px;
}

.ratgeber-autor-foto img {
    height: auto;
    left: -92px;
    max-width: none;
    position: absolute;
    top: -12px;
    width: 400px;
}

.ratgeber-autor-text p {
    margin: 0;
}

.ratgeber-autor-label {
    color: #6b6b6b;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ratgeber-autor-name {
    color: #2c2f36;
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 1.4em;
}

.ratgeber-cta {
    background-color: #7a6b50;
    color: #ffffff;
    margin-bottom: 3em;
    padding: 1.75em 2em;
}

.ratgeber-cta p {
    margin-bottom: 1em;
}

.ratgeber-cta-titel {
    font-family: 'BreeSerif', 'OpenSans', Arial, sans-serif;
    font-size: 1.6em;
    line-height: 1.2;
}

.ratgeber-cta-aktionen {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1em 1.5em;
    margin-bottom: 0 !important;
}

.ratgeber-cta a,
.ratgeber-cta a:visited {
    color: #ffffff;
}

.ratgeber-button,
.ratgeber-button:visited {
    background-color: #2c2f36;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    padding: 0.8em 1.4em;
    text-decoration: none;
}

.ratgeber-button:hover,
.ratgeber-button:focus {
    background-color: #1d1f24;
    color: #ffffff;
}

.ratgeber-cta-tel a {
    font-weight: bold;
    white-space: nowrap;
}

.ratgeber-verwandt h2 {
    color: #2c2f36;
    font-size: 1.6em;
    margin: 0 0 1em;
}

.ratgeber-verwandt .ratgeber-grid {
    gap: 1.25em;
}

.ratgeber-verwandt .ratgeber-karte-titel {
    font-size: 1.1em;
}

.ratgeber-verwandt .ratgeber-karte-auszug {
    display: none;
}

.ratgeber-zurueck {
    font-size: 0.95em;
    margin: 2.5em 0 0;
    text-align: left;
}

.ratgeber-zurueck a {
    font-weight: bold;
    text-decoration: none;
}

.ratgeber-zurueck a:hover,
.ratgeber-zurueck a:focus {
    text-decoration: underline;
}

.ratgeber-zurueck svg.icon {
    vertical-align: -0.05em;
}

/* Breite Ratgeber-Artikel: Verwandte Artikel duerfen breiter als der Text sein */
@media (min-width: 1000px) {
    .ratgeber-verwandt {
        margin-left: -120px;
        margin-right: -120px;
    }
}

@media (max-width: 900px) {
    .ratgeber-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ratgeber-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ratgeber-uebersicht-kopf .entry-title {
        font-size: 2.2em;
    }

    .ratgeber-artikel-kopf .entry-title {
        font-size: 1.9em;
    }

    .ratgeber-autor {
        align-items: flex-start;
        gap: 1em;
    }

    .ratgeber-autor-foto {
        flex-basis: 90px;
        height: 90px;
        width: 90px;
    }

    .ratgeber-autor-foto img {
        left: -69px;
        top: -9px;
        width: 300px;
    }

    .ratgeber-cta {
        padding: 1.5em 1.25em;
    }
}
