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

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

brascri 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #651319;
	font-family: "mundial",sans-serif;
	font-size: 22px;
	line-height: 1.45;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top: 0;
	
}

h1 {
	font-size: 30px;
}

h2 {
	font-family: "gooddog-new",sans-serif;
	font-size: 56px;
    line-height: 1.25;
	font-weight: normal;
}

h3 {
	font-family: "gooddog-new",sans-serif;
	font-size: 46px;
    line-height: 1.25;
	font-weight: normal;
	color: #e52322;
    margin-bottom: 30px;
}

h4 {
	font-size: 36px;
	line-height: 1.2;
	color: #651319;
	margin: 0;
}

h5 {
    font-size: 25px;
    color: #651319;
    margin-bottom: 15px;
}

p {
	margin-top: 0;
	margin-bottom: 30px;
}

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;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

ul, ol {
    margin: 0 0 1.5em 0;
    padding-left: 20px;
}

ul {
	list-style: disc;
}

p + ul {
	margin-top: -30px;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #e52322;
	text-decoration: none;
}

a:visited {
	color: #e52322;
}

a:hover,
a:focus,
a:active {
	color: #000000;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px;
	border-radius: 0px;
	background: transparent;
	line-height: 1.45;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	
}

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

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: #651319 !important;
    border: 0 !important;
    border-bottom: 2px solid #e52322 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1em !important;
	padding: 8px 0 !important;
	outline: none !important;
    height: 50px !important;
}

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

select {
    color: #651319 !important;
    border: 0 !important;
    border-bottom: 2px solid #e52322 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1em !important;
	padding: 8px 0 !important;
	outline: none !important;
    height: 50px !important;
}

textarea {
	width: 100%;
	height: 126px !important;
}


/* Gravity Form */
.site .gform-theme--api, 
.site .gform-theme--foundation {
    --gf-form-gap-x: 50px;
}

.gform-theme--foundation .gfield textarea.large {
    min-block-size: 4rem !important;
}

body .gform_wrapper select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background-image: url("images/Menupfeil-dunkelrot.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px 9px !important;

    padding-right: 40px !important;
}

.gform_wrapper #field_submit input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;

    font-family: 'mundial', sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-align: left !important;

    border: 2px solid #e52322 !important;
    border-radius: 0 !important;
    border-top-left-radius: 12px !important;
    padding: 10px 60px 10px 20px !important;

    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpolyline points='29.5 18.96 38.46 10 29.5 1.04' fill='none' stroke='%23e52322' stroke-linejoin='round' stroke-width='2'/%3E%3Cline x1='37.25' y1='10' x2='.54' y2='10' fill='none' stroke='%23e52322' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 40px 20px !important;

    color: #e52322 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
}

/* Hover */
.gform_wrapper #field_submit input[type="submit"]:hover {
    background-color: #e52322 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpolyline points='29.5 18.96 38.46 10 29.5 1.04' fill='none' stroke='%23ffffff' stroke-linejoin='round' stroke-width='2'/%3E%3Cline x1='37.25' y1='10' x2='.54' y2='10' fill='none' stroke='%23ffffff' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") !important;
    color: #fff !important;
    border-color: #e52322 !important;
}




/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.site-header {
}

/* Standardzustand */
.site-header {
    position: relative;
    width: 100%;
    z-index: 1000;
	padding-top: 20px;
	padding-bottom: 20px;
    transition: all 0.3s ease;
}

/* Wenn Header sticky ist */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
	padding-top: 10px;
	padding-bottom: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header .container {
	display: flex;
    align-items: center;
}

.site-branding a,
.footer_logo a {
    display: block;
    width: 250px;
    height: 70px;
    background-image: url(images/Logo-rot.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
    transition: all 0.3s ease;
}

.footer_logo a {
    background-image: url(images/Logo-weiss.svg);
}

.is-sticky .site-branding a {
	width: 176px;
	height: 50px;
}




.site-footer .container {
    background: #e52322;
    border-top-left-radius: 80px;
    color: #fff;
    padding: 80px 80px 30px;
    font-size: 18px;
	line-height: 1.4;
}

.site-footer a {
	text-decoration: none;
	color: #fff;
}

.footer_content {
    display: flex;
    gap: 90px;
    margin-bottom: 40px;
}

.footer_content .button-mit-pfeil {
    text-transform: none;
}

.footer_bottom {
    font-size: 15px;
}

.footer_bottom span {
    display: inline-block;
    margin: 0 10px;
}


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

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


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

.main-navigation ul ul {
	display: block;
	background: #eff1ee;
	border-top-left-radius: 18px;
	padding: 25px 20px;
	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 {
    text-transform: none;
    margin-bottom: 6px;
	padding: 0;
}

.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;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: #e52322;
	padding-top: 10px;
	padding-bottom: 10px;
	white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-parent > a {
    color: #651319;
}



.menu-item-has-children > a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 10px;
    margin-left: 10px; /* Abstand zum Text */
    background-image: url('images/Menupfeil-rot.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.2s ease;
}

.main-navigation .current-menu-parent > a::after,
.menu-item-has-children > a:hover::after {
    background-image: url('images/Menupfeil-dunkelrot.svg');
}



.spenden_button a {
    display: inline-flex;
    align-items: center;
    color: #e52322 !important;
    background-color: #651319;
	border: 2px solid #651319;
    border-top-left-radius: 18px; 
    padding: 14px 20px 14px 24px;
	transition: all 0.3s ease;
}

.spenden_button a:hover {
    background-color: #fff;
    border-color: #e52322 !important;
}

.spenden_button a::after {
    content: "";
    display: inline-block;
    width: 31px;
    height: 28px;
    margin-left: 12px; /* Abstand nach dem Text */
    background-image: url('images/Herz-rot.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}














.main-navigation {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background: white;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 999;
}






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

@media screen and (min-width: 1181px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
        gap: 40px;
        align-items: center;
	}
	
	
    .main-navigation {
        display: block;
        margin-left: auto;
        transform: translateX(0);
        position: relative;
        width: auto;
        height: auto;
        top: auto;
        right: auto;
        background: transparent;
    }
	
}


.menu-toggle {
    width: 33px;
    height: 30px;
    position: fixed;
    top: 44px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999; /* wichtig! */
}

.is-sticky .menu-toggle {
	top: 20px;
}

/* Die 3 Balken */
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e52322;
    transition: all 0.3s ease;
}

/* oberer Balken */
.menu-toggle::before {
    top: 0;
}

/* mittlerer Balken */
.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

/* unterer Balken */
.menu-toggle::after {
    bottom: 0;
}

.menu-toggle.active::before,
.menu-toggle.active::after {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active::after {
    transform: rotate(-45deg);
}

.menu-toggle.active span {
    opacity: 0;
}




.main-navigation.active {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 9;
	background: #fff;
	transform: translateX(0);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-navigation.active ul {
	display: block;
}









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

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

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

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

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

.post,
.page {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

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

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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






/*--------------------------------------------------------------
# Allgemein
--------------------------------------------------------------*/
.container {
	width: 100%;
	max-width: 1430px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.row {
	margin-top: 100px;
	margin-bottom: 100px;
}

.site-main .row:first-child {
    margin-top: 0;
}

.site-main {
    margin-top: 40px;
}

.text-weiss {
	color: #fff;
}



/*--------------------------------------------------------------
# Einstieg
--------------------------------------------------------------*/
.row-einstieg {
	width: 100%;
	position: relative;
	overflow: hidden;
	border-top-left-radius: 180px;
	background-color: #e52322;
}

.einstieg_inner {
	position: relative;
	width: 100%;
	height: 80vh;
	max-height: 500px;
}

.home .einstieg_inner {
	max-height: 686px;
}

/* Bild über gesamte Breite */
.row-einstieg.fullwidth .image_wrap {
	position: absolute;
	inset: 0; /* top:0; left:0; bottom:0; right:0 */
}

.row-einstieg.fullwidth .image_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover; 
}

/* Bild auf RECHTER HÄLFTE */
.row-einstieg.halfwidth .image_wrap {
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;    
	height: 100%;
}

.row-einstieg.halfwidth .image_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Titel links unten auf dem Bild */
.titel_wrap {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    width: calc(50% - 80px);
}

.titel_klein {
	color: #fff;

}

.titel_gross {
	font-size: 66px;
	line-height: 1.1;
	color: #fff;
    margin: 0;
}


/* Basis-Einstellung ohne Overlay */
.row-einstieg.halfwidth::after {
	content: none;
}

/* Verlauf NUR bei voller Breite */
.row-einstieg.fullwidth::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.40),
		rgba(0, 0, 0, 0)
	);
	mix-blend-mode: multiply; /* gewünschter Modus */
	z-index: 1;
	pointer-events: none;
}



/*--------------------------------------------------------------
# Titel links Text rechts
--------------------------------------------------------------*/
.row-textblock{
    display: flex;
    gap: 50px;
}

.title-col {
	width: 41.66%;
    padding-left: calc(1 / 12 * 100%);
	flex-shrink: 0;
}

.content-col {
    flex: 1;
	padding-right: 40px;
}


.row.row-textblock.einViertelDreiViertel .title-col {
    width: 25%;
    padding-left: 0;
}


.row.row-textblock.einViertelDreiViertel .content-col {
	padding-right: 0px;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}




.row.row-textblock-small .content-col {
    padding: 0;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Bild links Text rechts
--------------------------------------------------------------*/

.row-image-text{
    display: flex;
    gap: 50px;
	align-items: center;
}

.row-image-text .image-col,
.row-image-text .text-col {
    flex: 1;
}


.image-col img {
    width: 100%;
    height: auto;
    display: block;
	border-bottom-right-radius: 120px;
}






/*--------------------------------------------------------------
# roter Block
--------------------------------------------------------------*/
.row-rot {
    display: flex;
    justify-content: center;
    background: #651319;
	color: #fff;
    padding: 80px 30px 70px;
    border-top-left-radius: 74px;
}
.row-roter-block {
    display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
    color: #e52322;
    font-family: "gooddog-new", sans-serif;
    font-size: 44px;
    line-height: 1.25;
}

.herzicon {
    width: 58px;
    height: 52px;
    flex: 0 0 58px;
    background-image: url('images/Herz-rot.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.roter-block-content {
    flex: 1;
    max-width: 1060px;
}

.zitat {
    margin-bottom: 30px;
}

.roter-block-content .inhalt {
    font-family: "mundial", sans-serif;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.roter-block-content .button-wrap {
    display: flex;
    justify-content: center;
    font-weight: bold;
}





/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/
.button-mit-pfeil {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-family: 'mundial';
    text-transform: uppercase;
    font-size: 22px;
}

span.pfeil {
    display: flex;
}

.pfeil svg {
    width: 40px;
    height: 20px;
}

.button-mit-rahmen {
    border: 2px solid #e52322;
    border-top-left-radius: 12px;
    padding: 10px 20px;
}

.button-mit-rahmen:hover {
    background-color: #e52322;
	color: #fff;
}


.text-weiss .button-mit-rahmen {
	color: #fff;
	border-color: #fff;
}

.text-weiss .button-mit-rahmen:hover {
    background-color: #fff;
	color: #e52322;
}



/*--------------------------------------------------------------
# Projekte Grid
--------------------------------------------------------------*/

.projekt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
}

.projekt-item {
    text-decoration: none;
    color: inherit;
}

.projekt-inner {
    background: #e52322;
	color: #fff;
    padding: 40px 30px;
    border-bottom-right-radius: 40px;
    transition: all 0.2s ease;
}

.projekt-inner:hover {
	transform: scale(1.05);
}

.projekt-item .untertitel {
    font-size: 20px;
    font-weight: bold;
    color: #651319;
}

.projekt-item .kurzbeschrieb {
    font-size: 18px;
	margin-top: 20px;
	margin-bottom: 0;
	padding-right: 60px;
}





/*--------------------------------------------------------------
# News Grid
--------------------------------------------------------------*/
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.news-item {
    display: flex;
    flex-direction: column;
}

.news-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-right-radius: 50px;
}

.news-date {
	color: #651319;
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
}

.news-title {
    margin: 0px 0 30px;
    font-family: 'mundial';
    font-size: 36px;
    font-weight: bold;
}

.news-title a {
    text-decoration: none;
}

.link-mit-pfeil {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e52322; /* deine Farbe */
}

.link-mit-pfeil .icon-arrow {
    width: 40px;
    height: 20px;
    transition: transform 0.2s ease;
}

/* Hover Effekt */
.news-item:hover .icon-arrow {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}






/*--------------------------------------------------------------
# Mitarbeiter Grid
--------------------------------------------------------------*/
.mitarbeiter-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.geschaeftsstelle .mitarbeiter-grid {
    flex-wrap: nowrap;
}

.mitarbeiter-abteilung {
    margin-bottom: 60px;
}

.mitarbeiter-abteilung__title {
    margin-bottom: 40px;
}

.mitarbeiter-abteilung__beschreibung {
    padding-top: 75px;
    padding-left: 40px;
    max-width: 818px;
}

.mitarbeiter-abteilung__beschreibung p {
    font-family: "gooddog-new", sans-serif;
    font-size: 46px;
    line-height: 1.25;
    font-weight: normal;
    color: #e52322;
    margin: 0 !important;
}

.mitarbeiter-liste.mitarbeiter-liste--individuell {
    margin-left: 25%;
    padding-left: 50px;
}

.mitarbeiter-liste.mitarbeiter-liste--individuell .mitarbeiter-card {
    width: 33.33%;
}

.mitarbeiter-card {
    width: calc(25% - 150px / 4);
    flex-shrink: 0;
}

.mitarbeiter-card__media {
    margin-bottom: 20px;
}

.mitarbeiter-card__image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom-right-radius: 30px;
}

.mitarbeiter-card__title {
    margin: 0 0 10px;
    color: #e52322;
    font-size: 32px;
    line-height: 1.2;
}

.mitarbeiter-card__funktion {
    margin: 0;
}

.mitarbeiter-card__meta a {
    color: #651319;
}
.mitarbeiter-card__meta a:hover {
    color: #e52322;
}





/*--------------------------------------------------------------
# Downloads
--------------------------------------------------------------*/
.downloads-layout {
    display: flex;
    gap: 65px;
    justify-content: center;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.downloads-grid .button-mit-pfeil {
    text-transform: none;
    width: 100%;
}

.single-projekt .downloads-grid .button-mit-pfeil {
    max-width: 100%;
}

@media (max-width: 767px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}


/*--------------------------------------------------------------
# Bildzeile
--------------------------------------------------------------*/
.row-bildzeile {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    height: 600px;
}

.bild--gross {
    grid-row: span 2;
}

.bild img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0 0 30px 0;
}

.bild--gross img {
    border-radius: 0 0 70px 0;
}

@media (max-width: 768px) {
    .row-bildzeile {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .bild--gross {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bild--gross,
    .bild:not(.bild--gross) {
        aspect-ratio: 4 / 3;
    }
}



/*--------------------------------------------------------------
# Tab element
--------------------------------------------------------------*/
.tab-wrapper {
	display: flex;
	width: 100%;
	max-width: 1000px;
	gap: 40px;
}

.tab-titles {
	flex: 1;
	text-align: left;
}

.tab-title {
	cursor: pointer;
	opacity: 0.5;
	transition: 0.3s;
	font-family: 'gooddog-new';
	color: #e52322;
	font-size: 34px;
	line-height: 1;
	margin-bottom: 20px;
}

.tab-title:hover {
	opacity: 0.7;
}

.tab-title.active {
	opacity: 1;
}

.tab-contents {
	flex: 2;
	text-align: left;
}

.tab-content {
	display: none;
	font-size: 20px;
	line-height: 1.7;
}

.tab-content.active {
	display: block;
}


/*--------------------------------------------------------------
# Accordion element
--------------------------------------------------------------*/
.accordion-wrapper {
	display: none; /* standardmäßig aus, nur mobile an */
	width: 100%;
}

.accordion-item {
	border-bottom: 1px solid #e52322;
}

.accordion-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 16px 0;
	font-family: 'gooddog-new';
	color: #e52322;
	font-size: 28px;
	line-height: 1;
}

.accordion-icon {
	transition: transform 0.3s ease;
	font-size: 24px;
	line-height: 1;
}

.accordion-item.active .accordion-icon {
	transform: rotate(45deg);
}

.accordion-content {
	display: none;
	padding: 0 0 16px 0;
	font-size: 18px;
	line-height: 1.7;
}

.accordion-item.active .accordion-content {
	display: block;
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
	.tab-wrapper {
		display: none; /* Tabs auf mobile ausblenden */
	}

	.accordion-wrapper {
		display: block; /* Accordion auf mobile einblenden */
	}
}



/*--------------------------------------------------------------
# Geschichte Slider
--------------------------------------------------------------*/
.row.row-geschichte-slider.row-rot {
    position: relative;
}

.geschichte-slider {
    position: relative;
    width: 100%;
}

.geschichte-slides { 
    width: 100%;
    max-width: 986px;
}

.geschichte-slides {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.geschichte-slide {
    display: none;
}

.geschichte-slide.active {
    display: flex;
    gap: 100px;
}

.geschichte-slide-titel {
    margin: 0 0 20px;
    font-family: "gooddog-new", sans-serif;
    font-size: 48px;
    line-height: 1.25;
    color: #e52322;
    width: 33.33%;
}

.geschichte-slide-inhalt {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.45;
}

.geschichte-arrow {
	position: absolute;
	right: 40px;
	top: 50%;
	color: #e52322;
	background: transparent;
	outline: none;
    border: none;
    width: 40px;
    height: 28px;
	margin-top: -14px;
	opacity: 0.7;
    cursor: pointer;
    transition: 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.geschichte-arrow-prev {
	right: auto;
	left: 40px;
    transform: rotate(180deg);
}

.geschichte-arrow:hover {
	opacity: 1;
}

@media (max-width: 767px) {
    .geschichte-slider-inner {
        gap: 10px;
    }

    .geschichte-slide {
        padding: 40px 20px;
    }

    .geschichte-slide-titel {
        font-size: 32px;
    }

    .geschichte-slide-inhalt {
        font-size: 16px;
    }

    .geschichte-arrow {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}









/*--------------------------------------------------------------
# Spendenformular
--------------------------------------------------------------*/
.row-spendenformular h2 {
	text-align: center;
}

.donation-card {
	padding: 40px 50px 60px;
	border-radius: 0 0 50px 0;
	background: #e42322;
	color: #fff;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.donation-card__inner {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.donation-card__title {
	margin: 0 0 30px;
	color: #641218;
}

.donation-card__text {
	font-size: 18px;
	margin: 0 0 50px;
}

.donation-form {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.donation-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	width: 100%;
}

.donation-tile {
	position: relative;
    color: #641218;
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 7px;
	padding: 15px 15px 16px 15px;
	border: 2px solid #641218;
	border-radius: 0 0 20px ;
	cursor: pointer;
	transition: all 0.18s ease;
	overflow: hidden;
}

.donation-tile:hover {
	border-color: #fff;
}

.donation-tile input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.donation-tile__currency {
	font-size: 13px;
    line-height: 1;
}

.donation-tile__amount {
	font-size: 24px;
	line-height: 1;
	font-weight: 700;
}

.donation-tile--custom {
	gap: 0px;
}

/* Chrome, Safari, Edge */
.donation-tile__input::-webkit-outer-spin-button,
.donation-tile__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.donation-tile__input {
    -moz-appearance: textfield;
}
.donation-tile__input {
    appearance: textfield;
}

.donation-tile__input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 20px;
	font-weight: 700;
	color: #e42322;
	padding: 0;
}

.donation-tile__input::placeholder {
	color: #e42322;
	font-weight: 600;
}

.donation-tile:has(input[type="radio"]:checked) {
	border-color: #fff;
	background: #fff;
	color: #e42322;
}


input#custom-amount {
	height: 34px !important;
	border-color: #641218 !important;
    text-align: center;
}


.donation-tile:has(input[type="radio"]:checked) input#custom-amount {
	border-color: #e42322 !important;
	color: #e42322 !important;
}

.donation-form__error {
	display: none;
	font-size: 14px;
	font-weight: 600;
	color: #b42318;
}

.donation-form__error.is-visible {
	display: block;
}

.donation-form .button-wrap {
    text-align: center;
}

.donation-form__button {
    appearance: none;
    cursor: pointer;
    border-color: #fff;
    color: #fff;
    text-transform: none;
    gap: 26px;
    padding: 10px 20px 13px;
	font-weight: bold;
}


.donation-form__button:hover {
	background: #fff;
	color: #e42322;
}




/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/


@media screen and (max-width: 1180px) {
	.main-navigation ul ul {
		display: block;
		background: #fff;
		padding: 0;
		float: none;
		position: relative;
		top: 100%;
		left: -999em;
		z-index: 99999;
		height: 0;
	}
	.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
		left: -999em;
	}
	.main-navigation ul li.submenu-open ul {
		height: auto;
		padding-bottom: 20px;
        left: 0;
	}
	
	body, button, input, select, optgroup, textarea { font-size: 20px;}
	
	.row { margin-top: 60px; margin-bottom: 60px;}
	.row-textblock, .downloads-layout, .geschichte-slide.active { gap: 40px;}
	.projekt-grid {grid-template-columns: repeat(2, 1fr); grid-gap: 40px;}
	
	.home .einstieg_inner { max-height: 400px;}
	.einstieg_inner { max-height: 360px;}
	.home .titel_wrap { width: calc(70% - 80px);}
	h1 { font-size: 26px;}
	.titel_gross { font-size: 38px;}
	
	.title-col { width: calc(50% - 20px); padding-left: 20px;}
	.content-col { padding-right: 20px;}
	
	h3 { font-size: 42px;}
	.row-roter-block {font-size: 38px;}
	
	.geschichte-slides { padding: 0 50px;}
	
	.mitarbeiter-liste.mitarbeiter-liste--individuell { margin-left: 0; padding-left: 0;}
	.mitarbeiter-grid { gap: 40px;}
	.mitarbeiter-card { width: calc(33.33% - 80px / 3); }
	.mitarbeiter-abteilung__beschreibung p { font-size: 28px;}

}


@media screen and (max-width: 767px) {
	.site-branding a, .footer_logo a { width: 176px;height: 50px;}
	.menu-toggle { top: 28px;}
	.row-einstieg { border-top-left-radius: 100px;}
	.einstieg_inner {
		display: flex;
    	flex-direction: column-reverse;
		max-height: fit-content;
	}
	.row-einstieg.halfwidth .image_wrap {
		position: relative;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
	}
	.titel_wrap {
		position: relative;
		left: 0;
		bottom: 0;
		z-index: 2;
		width: 100%;
		padding: 60px 20px 20px 40px;
	}
	
	
	
	.row-textblock, .downloads-layout, .geschichte-slide.active { flex-direction: column;}
	.row-image-text { gap: 20px; flex-direction: column-reverse;}
	.title-col { width: 100%; padding-left: 0px;}
	.content-col { padding-right: 0px;}
	
	body, button, input, select, optgroup, textarea { font-size: 18px;}
	.home .titel_wrap { width: 100%;}
	h1 { font-size: 20px;}
	.titel_gross { font-size: 34px;}
	h2 { font-size: 46px;}
	h3 { font-size: 34px; }

	
	
	.mitarbeiter-grid { gap: 20px;}
	.mitarbeiter-card { width: calc(50% - 20px); }
	.mitarbeiter-card__title { font-size: 26px;}
	
	.mitarbeiter-abteilung__beschreibung {padding-top: 0; padding-left: 0;}
	.mitarbeiter-abteilung__beschreibung p {font-size: 24px;}
	
	.mitarbeiter-liste.mitarbeiter-liste--individuell .mitarbeiter-card { width: 100%;}
	
	.projekt-grid { grid-template-columns: 1fr;}
	
	.geschichte-arrow {right: 5px;}
	.geschichte-arrow-prev { left: 5px;}
	.geschichte-slides {  padding: 0 10px; }
	
	.row-roter-block { font-size: 30px; }
	
	.button-mit-pfeil {font-size: 20px;}
	
	.donation-card { padding: 40px 15px 50px;}
	
	
	.footer_content {gap: 40px; flex-direction: column;}
	.site-footer .container {padding: 80px 20px 30px;}
}