/*!
Theme Name: swissmhc
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: swissmhc
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.

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


/* 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: #000000;
	font-family: "sarvatrik-latin-variable",sans-serif;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.lead {
	font-size: 24px;
}

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

h3 {
    font-size: 30px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
h1, h2 {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

h4 {
    font-family: "Sarvatrik Latin VF", sans-serif;
    font-size: 25px;
    margin: 0;
	text-transform: uppercase;
}

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

/* 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 {
	text-decoration: underline;
	color: #000000;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

a:visited {
	color: #000000;
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.top_header {
    height: 118px;
}

aside.country-selector.weglot-shortcode {
    float: right;
    margin-top: 40px;
}

aside.country-selector.weglot-shortcode .weglot-lang,
aside.country-selector.weglot-shortcode li {
    line-height: 1.2 !important;
    margin: 0 !important;
    vertical-align: top !important;
	font-size: 18px !important;
}

html[lang^="de"] .wg-de,
html[lang^="en"] .wg-en {
	color: #ffdd00 !important;
}

.country-selector.weglot-inline ul {
    vertical-align: top !important;
}

.country-selector a {
    line-height: 1 !important;
    padding-left: 20px !important;
}

.country-selector.weglot-inline a:hover {
    text-decoration: none !important;
    color: #ffdd00 !important;
}




#page {
	display: flex;
	gap: 100px;
}

.container {
	width: 100%;
	max-width: 1590px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.site-header {
	text-align: center;
	width: 288px;

    flex-shrink: 0;
}

.site-branding a,
.footer_logo a{
	width: 254px;
	height: 118px;
	display: inline-block;
	background-image: url(images/Logo.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-bottom: 70px;
}







.site-footer {
	background: #f2eae0;
	padding-top: 70px;
	padding-bottom: 30px;
	margin-top: 40px;
	font-size: 18px;
	line-height: 1.6;
}

.footer_main {
	display: flex;
}

.footer_main > div {
	width: 25%;
}

.footer_logo a{
	width: 230px;
	height: 108px;
	margin-bottom: 0px;
}

.site-footer h3 {
	font-size: 1em;
	line-height: 1.6;
	margin-bottom: 0;
}


.footer_bottom {
	margin-top: 60px;
	display: flex;
	font-size: 15px;
}

.impressum {
    margin-left: auto;
}

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

/* Navigation
--------------------------------------------- */
.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;
	margin-bottom: 25px;
}

.main-navigation li:last-child {
	margin-bottom: 0px;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    color: #000;
	letter-spacing: 0.03em;
}


.main-navigation a:hover,
.current_page_item > a {
    color: #ffdd00;
}


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

.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
--------------------------------------------------------------*/
.row {
	padding-top: 30px;
	padding-bottom: 30px;
}



/*--------------------------------------------------------------
# Startseite
--------------------------------------------------------------*/






/*--------------------------------------------------------------
# Titel Text Button
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Bild rechts & links layout
--------------------------------------------------------------*/
.bild-links-rechts {
    display: flex;
    gap: 55px;
}

.bild-links-rechts img {
    width: calc(50% - 27.5px); /* wegen gap sauber aufgeteilt */
    object-fit: cover;
	aspect-ratio: 562/440;
    height: auto;
}

/*--------------------------------------------------------------
# Bilder
--------------------------------------------------------------*/
img {
    border-radius: 20px;
}

.page-header-image{
	padding-top: 30px;
	padding-bottom: 70px;
}


/*--------------------------------------------------------------
# Bild links text rechts layout
--------------------------------------------------------------*/

.bild-text-layout {
    display: flex;
    align-items: flex-start;
    gap: 55px;
}

.bild-text-layout .bild,
.bild-text-layout .text {
    width: calc(50% - 27.5px);
}

.bild-text-layout.ohne-bild .text {
    width: 100%;
	margin-top: 0;
}

.bild-text-layout .bild img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 562 / 440;
    object-fit: cover;
    border-radius: 20px;
}

.bild-text-layout .text {
    margin-top: 81px;
}

.bild-text-layout .text h2 {
    margin: 0 0 18px 0;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 400;
}

.bild-text-layout .inhalt,
.bild-text-layout .inhalt p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.bild-text-layout .inhalt p + p {
    margin-top: 18px;
}



/*--------------------------------------------------------------
# Gelbe box mit text unten
--------------------------------------------------------------*/

.box-gelb-text-unten {
    margin: 0;
}

/* Gelbe Box */
.box-gelb {
    background: #ffdd00;
    border-radius: 20px;
    padding: 62px 40px 65px;
    margin-bottom: 38px;
}

.box-gelb__inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.box-gelb__icon {
	width: 58px;
	height: 34px;
	background-image: url(images/H.svg);
	margin-top: 4px;
}

.box-gelb__text {
    flex: 1;
	align-items: center;
}

.box-gelb__text-gross {
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.box-gelb__text-klein {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* Text darunter */
.box-gelb-text-unten__inhalt {
    font-size: 18px;
    line-height: 1.7;
}

.box-gelb-text-unten__inhalt p {
    margin: 0 0 18px 0;
}

.box-gelb-text-unten__inhalt p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Bild links gelbe-box rechts layout
--------------------------------------------------------------*/
.bild-gelbe-box-layout {
    display: flex;
    gap: 55px;
    align-items: stretch;
	margin-top: 90px;
}

.bild-gelbe-box-layout__bild,
.bild-gelbe-box-layout__box {
    width: calc(50% - 27.5px);
    flex: 0 0 calc(50% - 27.5px);
}

/* Bild */
.bild-gelbe-box-layout__bild img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 562 / 440;
    object-fit: cover;
    border-radius: 20px;
}

/* Gelbe Box */
.bild-gelbe-box-layout__box {
    background: #ffdd00;
    border-radius: 20px;
    padding: 48px 56px;
    box-sizing: border-box;

    aspect-ratio: 562 / 440;

    display: flex;
    flex-direction: column;
    justify-content: center; 
}

/* Textblock */
.bild-gelbe-box-layout__inhalt {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Button */
.bild-gelbe-box-layout__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
	font-size: 21px;
	max-width: 180px;
	
    padding: 17px 20px;
    border-radius: 999px;

    background: #f1f1f1;
    color: #000;
    text-decoration: none;

    line-height: 1.2;
}

/* Pfeil */
.bild-gelbe-box-layout__button::after {
    content: "";
    display: block;

    width: 33px;
    height: 33px;

    background-image: url("images/Pfeil-gelb-rechts.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bild-gelbe-box-layout__inhalt h4 {
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.bild-gelbe-box-layout__inhalt p {
    margin: 0;
}

.bild-gelbe-box-layout__inhalt a:hover {
    color: #fff;
}

/*--------------------------------------------------------------
# Mitarbeiter-Grid
--------------------------------------------------------------*/

.team-featured {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 65px;
}

.team-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 562/440;
    object-fit: cover;
    border-radius: 16px;
}


.team-featured-content h3, .team-card-content h3 {
    margin: 0 0 8px;
    text-transform: none;
}

.team-card-content h3 {
	font-size: 24px;
}

.team-role {
    margin: 0;
    font-size: 18px;
    color: #444;
}

.team-cv-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    text-decoration: none;
    color: #2f2f2f;
    font-size: 16px;
}

.team-arrow {
    width: 33px;
    height: 33px;
    display: inline-block;
    background-image: url('images/Pfeil-gelb-rechts.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

.team-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.team-card-content {
    padding-top: 12px;
}

.team-card-content h3 {
    margin-bottom: 4px;
}


@media (max-width: 1024px) {
    .team-featured {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {

    .team-grid {
        grid-template-columns: 1fr;
    }
}


/*--------------------------------------------------------------
# Gelbe-box links text rechts
--------------------------------------------------------------*/


.gelbe-box-text-layout {
    display: flex;
    gap: 55px;
    align-items: stretch;
}

.gelbe-box-text-layout__box,
.gelbe-box-text-layout__text {
    width: calc(50% - 27.5px);
    flex: 0 0 calc(50% - 27.5px);
}

/* Gelbe Box */
.gelbe-box-text-layout__box {
    background: #ffdd00;
    border-radius: 20px;
    padding: 48px 56px;
    box-sizing: border-box;

    height: 357px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Inhalt in Box */
.gelbe-box-text-layout__inhalt {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.gelbe-box-text-layout__inhalt h4 {
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.gelbe-box-text-layout__inhalt p:last-child {
    margin: 0;
}

/* Button */
.gelbe-box-text-layout__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 20px;
    border-radius: 999px;

    background: #f1f1f1;
    color: #000;
    text-decoration: none;

    line-height: 1.2;
}

.gelbe-box-text-layout__button::after {
    content: "";
    display: block;

    width: 33px;
    height: 33px;

    background-image: url("images/Pfeil-gelb-rechts.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hover Fix */
.gelbe-box-text-layout__inhalt a:hover {
    color: #fff;
}

/* Text rechts */
.gelbe-box-text-layout__text {
    font-size: 18px;
    line-height: 1.7;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.gelbe-box-text-layout__text p {
    margin: 0 0 18px 0;
}

/*--------------------------------------------------------------
# adresse und zeiten
--------------------------------------------------------------*/
.adresse-zeiten.kontakt-adresse {
    display: block;
}


.adresse-zeiten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}


/* Titel */
.adresse-zeiten h4 {
    font-size: 18px;
	white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
}

/* Text allgemein */
.adresse-zeiten {
    font-size: 18px;
    line-height: 1.6;
}

/* Tabellen sauber */
.adresse-zeiten table {
    width: 100%;
    border-collapse: collapse;
}

.adresse-zeiten td {
    padding: 0;
    vertical-align: top;
}

/* Abstand zwischen Spalten in Tabellen */
.adresse-zeiten td:nth-child(2),
.adresse-zeiten td:nth-child(3) {
    padding-left: 20px;
}

.adresse-zeiten__kontakt p:first-child {
    font-weight: 700;
    white-space: nowrap;
}

.page-header{
	padding-top: 30px;
}

/*--------------------------------------------------------------
# titel mit text und button
--------------------------------------------------------------*/

.titel-text-button {
    font-size: 25px;
    line-height: 1.6;
	 margin-top: 58px;
}

/* Titel */
.titel-text-button__titel {
    margin: 0 0 16px 0;
    text-transform: uppercase;
	font-size: 35px;
}

/* Text */
.titel-text-button__inhalt {
    margin-bottom: 25px;
}

.titel-text-button__inhalt p {
    margin: 0 0 12px 0;
	font-size: 18px;
}

/* Button Wrapper */
.titel-text-button__button-wrap {
    display: inline-block;
}

/* Button */
.titel-text-button__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
	font-size: 20px;
    padding: 14px 30px 14px 25px;
    border-radius: 999px;

    border: 3px solid #ffdd00;
    color: #000;
    text-decoration: none;

    line-height: 1.2;
}

.titel-text-button__button:hover {
    background: #ffdd00;
    color: #000;
}

.titel-text-button__button:hover::after {
    background-image: url("images/Pfeil-weiss-rechts.svg");
}

/* Pfeil */
.titel-text-button__button::after {
    content: "";
    display: block;
    width: 33px;
    height: 33px;

    background-image: url("images/Pfeil-gelb-rechts.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*--------------------------------------------------------------
# Startseite Bilder
--------------------------------------------------------------*/

.bilder-gelbe-box-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
}

.bilder-gelbe-box-layout__left,
.bilder-gelbe-box-layout__right {
    min-width: 0;
}

.bilder-gelbe-box-layout__right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bilder-gelbe-box-layout__small-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 33px;
}

.bilder-gelbe-box-layout__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    isolation: isolate;
}

.bilder-gelbe-box-layout__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.bilder-gelbe-box-layout__card--gross {
    height: 100%;
}

.bilder-gelbe-box-layout__card--klein {
}

.bilder-gelbe-box-layout__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
    height: 50%;
    bottom: 0;
    left: 0;
    top: auto;
}

.bilder-gelbe-box-layout__button-wrap {
    position: absolute;
    left: 23px;
    bottom: 23px;
    display: inline-block;
    z-index: 2;
}

.bilder-gelbe-box-layout__yellow-box {
    position: relative;
    background: #ffdd00;
    border-radius: 20px;
    aspect-ratio: 571 / 495;
    padding: 44px 38px 36px 75px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.bilder-gelbe-box-layout__yellow-icon {
    width: 58px;
    height: 34px;
    background-image: url("images/H.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 32px;
}

.bilder-gelbe-box-layout__yellow-text-gross {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 22px;
	font-weight: 700;
}

.bilder-gelbe-box-layout__yellow-text-klein {
    font-size: 18px;
    line-height: 1.4;
}

.bilder-gelbe-box-layout__button-wrap {
    position: absolute;
    left: 23px;
    bottom: 23px;
    display: inline-block;
}

.grosser-bild-button{
	font-size: 21px;
}

.bilder-gelbe-box-layout__button-wrap--small {
    left: 17px;
    bottom: 14px;
    z-index: 2;
}

.bilder-gelbe-box-layout__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    line-height: 1.2;
    transition: background 0.2s ease;
}

.bilder-gelbe-box-layout__button::after {
    content: "";
    display: block;
    width: 33px;
    height: 33px;
    background-image: url("images/Pfeil-gelb-rechts.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex: 0 0 33px;
}

.bilder-gelbe-box-layout__button--small {
    gap: 10px;
    padding: 15px 15px;
    font-size: 17px;
}

.bilder-gelbe-box-layout__button--small::after {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.bilder-gelbe-box-layout__card:hover .bilder-gelbe-box-layout__button {
    background: #fff;
}

.bilder-gelbe-box-layout__card--gross:hover .bilder-gelbe-box-layout__button {
    color: #000;
}

.bilder-gelbe-box-layout__card--gross .bilder-gelbe-box-layout__button-wrap {
    left: 50%;
    transform: translateX(-50%);
}

.bilder-gelbe-box-layout__card--klein:hover .bilder-gelbe-box-layout__button--small {
    background: #fff;
    color: #000;
}

/*--------------------------------------------------------------
# Leistungen
--------------------------------------------------------------*/

.leistungen {
    width: 100%;
    box-sizing: border-box;
}

/* Tabs */
.leistungen-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 45px;
    margin-bottom: 65px; /* FIX: Abstand zu grossem Titel */
	margin-top: 36px;
}

.leistung-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 62px 18px 18px;
    border: 3px solid #ffdd00;
    border-radius: 999px;
    background: transparent;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.leistung-tab::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 33px;
    height: 33px;
    transform: translateY(-50%);
    background-image: var(--icon-tab-default);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.leistung-tab:hover,
.leistung-tab.active {
    background: #ffdd00;
    border-color: #ffdd00;
}

.leistung-tab:hover::after,
.leistung-tab.active::after {
    background-image: var(--icon-tab-active);
}

/* Content */
.leistung-content {
    display: none;
}

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

/* Grosser Titel */
.leistung-content h3 {
    margin: 0 0 0px; 
    font-weight: 700;
    text-transform: uppercase;
}

/* Einleitung */
.einleitung {
    margin: 0 0 50px;
    line-height: 1.9;
	margin-top: 30px;
}

/* Spalten */
.themen-columns {
    display: flex;
    gap: 38px;
    width: 100%;
}

.themen-col {
    width: calc(50% - 19px);
}

/* Thema */
.thema {
    border-top: 1px solid #ededed;
}

.thema:last-child {
    border-bottom: 1px solid #ededed;
}

.thema-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 18px 34px 18px 0;
}

/* Klickbar */
.thema.has-content .thema-header {
    cursor: pointer;
}

.thema.has-content .thema-header::after {
    content: "";
    position: absolute;
    right: 0;
    width: 26px;
    height: 26px;
    background-image: var(--icon-acc-closed);
    background-size: contain;
}

/* Open */
.thema.open .thema-header span {
    font-weight: 700;
}

.thema.open .thema-header::after {
    background-image: var(--icon-acc-open);
    background-color: #ffdd00;
    border-radius: 50%;
}

/* Content */
.thema-content {
    display: none;
    padding: 0 34px 18px 0;
    font-size: 18px;
	line-height: 1.6;
}

.thema.open .thema-content {
    display: block;
	
}

/* Kein Inhalt */
.thema.no-content .thema-header::after {
    display: none;
}

/* Hausarztmedizin */
.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-header {
    cursor: default;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-header::after {
    display: none;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-header span {
    font-weight: 400;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content {
    display: block;
    padding: 0;
}

/* 2 Spalten Listen */
.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content ul,
.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content ol,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung ul,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 38px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content li,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung li {
    padding: 18px 0;
    border-top: 1px solid #ededed;
    list-style: none;
    box-sizing: border-box;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.35;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content li,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung li {
    border-bottom: 1px solid #ededed;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content li::marker,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung li::marker {
    content: none;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content li::before,
.leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung li::before {
    content: none;
}

.leistung-content[data-leistung-slug="hausarztmedizin"] h4 {
    margin-top: 50px;
    margin-bottom: 20px;
	font-size: 25px;
}

/*--------------------------------------------------------------
# Sprache wechseln
--------------------------------------------------------------*/

#menu-item-weglot-214-de,
#menu-item-weglot-214-en {
    display: none;
}

/*--------------------------------------------------------------
# Geräte Anpassung
--------------------------------------------------------------*/

/* ==========================================
   RESPONSIVE FIX FINAL
   nur ganz unten in css.txt einfügen
========================================== */

@media screen and (max-width: 1024px) {
	
    img {
        max-width: 100%;
        height: auto;
    }

    /* Alle 2-Spalten-Layouts untereinander */
    .bild-links-rechts,
    .bild-text-layout,
    .bild-gelbe-box-layout,
    .gelbe-box-text-layout,
    .team-featured,
    .adresse-zeiten,
    .bilder-gelbe-box-layout,
    .themen-columns,
    .box-gelb__inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    	align-items: start;
    }

    .bild-links-rechts img,
    .bild-text-layout .bild,
    .bild-text-layout .text,
    .bild-gelbe-box-layout__bild,
    .bild-gelbe-box-layout__box,
    .gelbe-box-text-layout__box,
    .gelbe-box-text-layout__text,
    .themen-col {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
    }

    .bild-text-layout .text {
        margin-top: 0;
    }

    .bild-gelbe-box-layout__box,
    .gelbe-box-text-layout__box,
    .bilder-gelbe-box-layout__yellow-box {
        height: auto;
        aspect-ratio: auto;
    }

    .bild-gelbe-box-layout__box,
    .gelbe-box-text-layout__box {
        padding: 32px 30px;
    }

    .bilder-gelbe-box-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bilder-gelbe-box-layout__right {
        display: flex;
        flex-direction: column;
        gap: 24px;
        height: 100%;
    }

    .bilder-gelbe-box-layout__small-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .bilder-gelbe-box-layout__yellow-box {
        min-height: 260px;
        padding: 32px 28px;
    }

    .bilder-gelbe-box-layout__yellow-text-gross,
    .bilder-gelbe-box-layout__yellow-text-klein,
    .titel-text-button,
    .titel-text-button__inhalt,
    .einleitung,
    .thema-header span,
    .thema-content,
    .bild-text-layout .inhalt,
    .gelbe-box-text-layout__text,
    .box-gelb-text-unten__inhalt,
    .team-featured-content,
    .team-card-content {
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .bilder-gelbe-box-layout__yellow-text-gross {
        max-width: 100%;
    }

    .bilder-gelbe-box-layout__card--gross .bilder-gelbe-box-layout__button-wrap {
        left: 24px;
        right: 24px;
        transform: none;
    }

    .bilder-gelbe-box-layout__button,
    .titel-text-button__button,
    .bild-gelbe-box-layout__button,
    .gelbe-box-text-layout__button,
    .leistung-tab {
        white-space: nowrap;
        padding-left: 10px;
        padding-right: 10px;
    }

    .titel-text-button {
        font-size: 22px;
        line-height: 1.5;
    }

    .titel-text-button__titel {
        font-size: 32px;
        line-height: 1.15;
    }

    .leistung-content h3 {
        font-size: 28px;
        line-height: 1.15;
    }


    .leistungen-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 14px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 40px;
	}
   
    .leistung-tab {
        font-size: 18px;
        line-height: 1.2;
        padding-top: 14px;
        padding-bottom: 14px;
        text-align: left;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .thema-header {
        padding-right: 34px;
    }

    .themen-columns {
        gap: 0;
    }

    .leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content ul,
    .leistung-content[data-leistung-slug="hausarztmedizin"] .thema-content ol,
    .leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung ul,
    .leistung-content[data-leistung-slug="hausarztmedizin"] .einleitung ol {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .adresse-zeiten__kontakt p:first-child {
        white-space: normal;
    }

    .adresse-zeiten table {
        width: 100%;
    }

    .site-footer {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Footer: 2 Zeilen */
    .footer_main {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer_main > div {
        min-width: 0;
    }

    .footer_logo,
    .footer_kontakt,
    .footer_sprechstunden,
    .footer_telefonzeiten {
        width: calc(50% - 12px);
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media screen and (max-width: 1400px) {
    
    html,
    body {
        overflow-x: hidden;
    }
	
	.top_header .weglot-shortcode {
		display: none;
	}
	
	#menu-item-weglot-214-de,
	#menu-item-weglot-214-en {
		display: inline-block;
		margin-top: 20px;
	}

	.main-navigation ul {
		text-align: center;
	}

	#menu-item-weglot-214-de a,
	#menu-item-weglot-214-en a {
		font-weight: normal;
		font-size: inherit;
	}
	
	.main-navigation li:last-child { margin-left: 20px;}
	
	.main-navigation a:hover, .current_page_item > a { color: #000;}
	
    .top_header {
        height: 60px;
    }
    
    #page {
        display: block;
        gap: 0;
    }

    .site-header {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        text-align: left;
		margin-bottom: 20px;
    }

    .site-branding a {
        width: 190px;
        height: 88px;
        margin-bottom: 0;
    }

    /* Navigation */
    .main-navigation {
        width: auto;
        position: fixed;
        top: 24px;
        right: 24px;
        transform: none;
        margin-left: 0;
        z-index: 5000;
    }

    .menu-toggle {
        display: block;
        width: 42px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: linear-gradient(#ffdd00, #ffdd00) center / 100% 4px no-repeat;
        font-size: 0;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        box-shadow: none;
        outline: none;
        position: fixed;
        top: 24px;
        right: 24px;
        transform: none;
        z-index: 5003;
        transition: background-size 0.25s ease, transform 0.25s ease;
    }

    .menu-toggle::before,
    .menu-toggle::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        background: #ffdd00;
        transform-origin: center;
        transition: top 0.25s ease, bottom 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle::before {
        top: 0;
    }

    .menu-toggle::after {
        bottom: 0;
    }

    .main-navigation.toggled .menu-toggle {
        background-size: 0 0;
    }

    .main-navigation.toggled .menu-toggle::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .main-navigation.toggled .menu-toggle::after {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(-45deg);
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 22px;
        position: fixed;
        top: 0px;
        left: 50%;
        transform: translate(-50%, -120%);
        width: min(460px, calc(100vw - 96px));
		padding: 96px 44px 72px;
		margin: 0;
        list-style: none;
        background: #ffdd00;
        border-radius: 0 0 32px 32px;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 5001;
    }

    .main-navigation.toggled ul {
        transform: translate(-50%, 0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-navigation li {
        margin-bottom: 30px;
    }

    .main-navigation a {
        display: block;
        font-size: 34px;
        line-height: 1.05;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
        color: #000;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    html[lang^="de"] .weglot-de a,
	html[lang^="en"] .weglot-en a {
		color: #000 !important;
		font-weight: bold !important;
	}
}

@media screen and (max-width: 767px) {
    
    h1,
    h2 {
        font-size: 34px;
    }
	
	h3 {
		font-size: 24px;
	}
	
	body, button, input, select, optgroup, textarea { font-size: 18px;}
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-navigation {
        top: 16px;
        right: 16px;
        transform: none;
    }

    .menu-toggle {
        width: 38px;
        height: 26px;
        top: 16px;
        right: 16px;
        transform: none;
        position: fixed;
        background: linear-gradient(#ffdd00, #ffdd00) center / 100% 4px no-repeat;
    }

    .menu-toggle::before,
    .menu-toggle::after {
        height: 4px;
    }

    .main-navigation ul {
        top: 0px;
        width: min(360px, calc(100vw - 48px));
        padding: 78px 24px 56px;
        border-radius: 0 0 26px 26px;
        gap: 18px;
    }

    .main-navigation a {
        line-height: 1.08;
    }

    .bilder-gelbe-box-layout {
        gap: 16px;
    }

    .bilder-gelbe-box-layout__right {
        gap: 16px;
    }

    .bilder-gelbe-box-layout__small-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bilder-gelbe-box-layout__yellow-icon {
        margin-bottom: 18px;
    }

    .bilder-gelbe-box-layout__yellow-text-gross {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .bilder-gelbe-box-layout__yellow-text-klein {
        font-size: 16px;
        line-height: 1.4;
    }

    .bilder-gelbe-box-layout__button-wrap,
    .bilder-gelbe-box-layout__button-wrap--small {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .bild-links-rechts,
    .bild-text-layout,
    .bild-gelbe-box-layout,
    .gelbe-box-text-layout,
    .team-featured,
    .adresse-zeiten,
    .footer_main,
    .box-gelb__inner {
        gap: 16px;
    }

    .box-gelb__text-gross {
        font-size: 24px;
        line-height: 1.25;
    }
    
    .team-card {
        padding-bottom: 50px;
    }

    .bild-gelbe-box-layout__box,
    .gelbe-box-text-layout__box {
        padding: 24px 20px;
    }

    .titel-text-button {
        margin-top: 30px;
    }

    .titel-text-button__titel,
    .team-title {
        font-size: 26px;
        line-height: 1.15;
    }
	
	.team-arrow { width: 24px; height: 24px;}

    .titel-text-button__button-wrap {
        display: block;
    }

    .leistungen-tabs {
		position: relative;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 12px;
		margin-top: 0;
		margin-bottom: 26px;
		-webkit-overflow-scrolling: touch;
    	cursor: grab;

		/* Scrollbar ausblenden */
		scrollbar-width: none;        /* Firefox */
		-ms-overflow-style: none;     /* IE / Edge */
	}

	.leistungen-tabs::-webkit-scrollbar {
		display: none;                /* Chrome, Safari */
	}
	
	.leistungen-tabs::after {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		width: 30px;
		height: 100%;
		pointer-events: none;
		background: linear-gradient(to left, white, transparent);
	}

    .leistung-tab {
        width: auto;
        min-width: max-content;
        flex: 0 0 auto;
        font-size: 16px;
        padding: 14px 48px 14px 14px;
    }

    .leistung-tab::after {
        right: 14px;
        width: 24px;
        height: 24px;
    }

    .leistung-content h3 {
        font-size: 24px;
    }

    .thema-header {
        padding: 14px 30px 14px 0;
    }

    .thema.has-content .thema-header::after {
        width: 22px;
        height: 22px;
    }

    .thema-content {
        padding: 0 0 14px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer auf Handy: 1 Spalte */
    .footer_main {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .footer_main > div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer_logo a {
        width: 170px;
        height: 80px;
    }

    .site-footer {
        padding-top: 32px;
        padding-bottom: 20px;
        font-size: 15px;
    }

    .footer_bottom {
        display: block;
        font-size: 13px;
        margin-top: 24px;
    }

    .footer_bottom > * {
        display: block;
        margin-bottom: 8px;
    }
}