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

endokonsil-gruppe 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 */

:root {
  --black: 0 0 0; /* #000000 */
  --white: 255 255 255; /* #ffffff */
  --accent: 203 69 134; /* #cb4586 */
  --accent-dark: 195 58 124; /* #c33a7c */
  --light-blue: 246 252 255; /* #f6fcff */
  --light-blue-2: 239 247 255; /* #EFF7FF */
  --black-bluish: 46 49 100; /* #2e3164 */
  --blue: 73 124 254; /* #497cfe */
  --sky-blue: 139 197 254; /* #8BC5FE */
  --gray: 114 114 114; /* #727272 */
}

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

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

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

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 100%;
    padding-inline: 40px !important;
  }
}

.full-screen-width {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow-x: clip;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: rgb(var(--black));
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: rgb(var(--black-bluish));
}

h1,
.h1 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: 600;
  color: rgb(var(--black-bluish));
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

h2,
.h2 {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 500;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

h3,
.h3 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

h3 a,
.h3 a {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.h3--sm {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.h2--xl {
  font-size: 38px;
  line-height: 1.1;
}

.h2--xl > img {
  width: 30px;
  transform: translateY(10%);
}

@media (min-width: 1024px) {
  h1,
  .h1 {
    font-size: 50px;
    line-height: 1.25;
  }
  h2,
  .h2 {
    font-size: 56px;
    line-height: 1.35;
  }
  .h2--xl {
    font-size: 64px;
    line-height: 1.4;
  }
  .h2--xl > img {
    width: 70px;
  }
}

.eyebrow-heading {
  position: relative;
  padding: 7px 10px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgb(var(--black-bluish) / 0.1);
  border-radius: 100px;
  font-weight: 500;
  color: rgb(var(--black-bluish));
  font-size: 1rem;
  line-height: 1;
}

.eyebrow-heading::before {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(var(--black-bluish));
  content: "";
}

p {
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

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

.wp-block-quote {
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: rgb(var(--black-bluish));
}

.wp-block-quote p {
  margin: 0;
}

/* Elements
--------------------------------------------- */
body {
  background-color: rgb(var(--light-blue));
}

hr.wp-block-separator {
  background-color: rgb(var(--black-bluish) / 0.3);
  border: none;
  width: 100%;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  padding-inline-start: 32px;
  margin-block-start: 0;
  margin-block-end: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

ul > li,
ol > li {
  padding-block: 0.5em;
}

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

.wp-block-image img {
  border-radius: 44px;
}

.wp-block-image.radius-sm img {
  border-radius: 12px;
}

.wp-block-image.no-border-radius img {
  border-radius: 0px;
}

.content-section {
  margin-top: 100px;
}

.content-section:has(> h2),
.content-section .wp-block-group:has(> h2) {
  gap: 22px !important;
}

.content-section:has(> h2) .wp-block-buttons,
.content-section .wp-block-group:has(> h2) .wp-block-buttons {
  margin-top: 10px !important;
}

.colored-section {
  padding-block: 140px;
  background: rgb(var(--light-blue-2));
}

.content-section-row {
  display: grid !important;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  width: 100%;
}

.content-section-row--sm {
  gap: 44px;
}

.content-section-row > .wp-block-group {
  flex: 1;
}

.content-section:last-child:not(:has(.colored-section)) {
  padding-bottom: 140px;
}

@media (min-width: 1024px) {
  .content-section {
    margin-top: 130px;
  }
}

@media (max-width: 1023px) {
  .content-section-row {
    grid-template-columns: 1fr;
    gap: 22px !important;
  }
}

/* BUTTONS */

.button {
  outline: none;
  border-radius: 12px;
  white-space: nowrap;
  line-height: 100%;
  text-decoration: none;
  width: fit-content;
}

.button:has(a) a {
  display: inline-block;
  padding: 22px 32px;
  border-radius: inherit;
  transition: all ease-in-out 0.2s;
  text-decoration: none !important;
  font-size: 1.125rem;
  font-weight: 600;
}

.button:has(a):hover a {
  text-decoration: none !important;
}

@media only screen and (max-width: 600px) {
  .button:has(a) a {
    white-space: normal;
  }
}

.button--primary a {
  background-color: rgb(var(--accent));
  color: rgb(var(--white)) !important;
}

.button--primary:hover a {
  background: rgb(var(--accent-dark));
}

.button--secondary a {
  background-color: rgb(var(--white));
  color: rgb(var(--black-bluish)) !important;
  border: 1px solid rgb(var(--white));
}

.button--secondary:hover a {
  border-color: rgb(var(--black-bluish));
}

/* BUTTONS END */

/* Links
--------------------------------------------- */

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

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

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

/* Navigation
--------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
}

/* Initial state */
.site-header {
  background-color: transparent;
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  margin: 0 auto;
  padding-top: 38px;
}

.site-branding {
  flex: 0 0 auto;
  display: inline-flex;
  z-index: 3;
}

/* Sticky state */
.site-header.is-sticky {
  position: fixed;
  background-color: rgb(var(--light-blue));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
}

.site-header.is-sticky .site-header__inner {
  padding-block: 10px;
}

.site-header.no-transition {
  transition: none !important;
}

.site-header.is-sticky:not(.is-visible) {
  transform: translateY(-100%);
}

.site-header.is-sticky.is-visible {
  transform: translateY(0);
}

.site-header.has-open-mega-menu {
  background-color: #fff;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

body.has-open-mega-menu::before {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(18, 25, 42, 0.58);
  animation: mega-backdrop-enter 220ms ease-out both;
  pointer-events: none;
  content: "";
}

body.has-open-mega-menu.is-closing-mega-menu::before {
  animation: mega-backdrop-exit 220ms ease-out both;
}

/* Logo switch */
.site-logo--primary {
  display: inline-flex;
  width: auto;
  max-width: 148px;
  max-height: 74px;
}

.site-logo--secondary {
  display: none;
}

.site-header.is-sticky .site-logo--primary {
  display: none;
}

.site-header.is-sticky .site-logo--secondary {
  display: inline-flex;
}

/* MEGA MENU START */

.primary-nav {
  margin-left: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 41px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__item {
  position: static;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  color: rgb(var(--black));
  font-size: 1.125rem;
  line-height: 1;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-block: 40px;
  background: #fff;
}

.mega-menu.is-entering {
  animation: mega-menu-enter 220ms ease-out both;
}

.mega-menu.is-leaving {
  animation: mega-menu-exit 220ms ease-out both;
  pointer-events: none;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  width: 100%;
  margin: 0 auto;
}

.mega-menu__intro {
  position: relative;
  min-height: 218px;
  height: fit-content;
  padding: 30px 34px;
  border-radius: 22px;
  color: #fff;
  background-color: var(--mega-color, rgb(var(--accent)));
  overflow: hidden;
  z-index: 1;
}

.mega-menu__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(assets/images/circles-background-pattern.svg);
  background-size: auto 100%;
  background-position: right;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0) invert(1);
}

.mega-menu__title {
  margin-bottom: 22px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.mega-menu__description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
}

.mega-menu__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 218px;
  gap: 22px;
  align-items: start;
}

.mega-menu__parents,
.mega-menu__child-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mega-menu__parents li,
.mega-menu__child-list li {
  padding-block: 0.1em;
}

.mega-menu__parent,
.mega-menu__child-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 36px;
  padding: 10px 0;
  color: rgb(var(--black));
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  border-bottom: 1px solid rgb(226, 232, 239);
  cursor: pointer;
}

.mega-menu__parent:hover,
.mega-menu__parent:focus-visible,
.mega-menu__parent[aria-expanded="true"],
.mega-menu__child-list a:hover,
.mega-menu__child-list a:focus-visible,
.mega-menu__parent.is-current-ancestor,
.mega-menu .is-current-ancestor > a,
.mega-menu a.is-current {
  color: rgb(var(--accent));
  text-shadow: 0.5px 0 rgb(var(--accent));
}

.mega-menu__arrow {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 1rem;
  line-height: 1;
}

.mega-menu__children {
  min-width: 0;
}

.mega-menu__child-list--mobile {
  display: none;
}

@media (min-width: 1024px) {
  .mega-menu__child-list.is-entering {
    animation: mega-child-enter 160ms ease-out both;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-open-mega-menu::before,
  .mega-menu.is-entering,
  .mega-menu.is-leaving,
  .mega-menu__child-list.is-entering {
    animation: none;
  }
}

@keyframes mega-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mega-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mega-backdrop-exit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mega-menu-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes mega-child-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu__image {
  width: 100%;
}

.mega-menu__image img {
  display: block;
  width: 100%;
  min-height: 218px;
  height: 218px;
  object-fit: cover;
  border-radius: 22px;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2d2a59;
  cursor: pointer;
  z-index: 3;
}

.burger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger svg {
  overflow: visible;
}

.burger .line {
  fill: #000;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}

.burger.active .line-top {
  transform: translate(3.5px, 7px) rotate(45deg);
}

.burger.active .line-middle {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active .line-bottom {
  transform: translate(3.5px, -7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: fixed;
    height: 100dvh;
    inset: 0;
    z-index: 2;
    display: block;
    overflow-y: auto;
    margin-left: 0;
    padding-block: 126px 22px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-sticky .primary-nav {
    padding-top: 80px;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav__list {
    display: block;
    padding: 0;
  }

  .primary-nav__item {
    border-bottom: 1px solid rgb(226, 232, 239);
  }

  .primary-nav__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    font-weight: 400;
  }

  .primary-nav__button[aria-expanded="true"] {
    color: rgb(var(--accent));
    text-shadow: 0.5px 0 rgb(var(--accent));
  }

  .primary-nav__link:focus-visible,
  .primary-nav__button[aria-expanded="true"],
  .primary-nav__item.is-current > .primary-nav__link,
  .primary-nav__item.is-current-ancestor > .primary-nav__link {
    opacity: 1;
    color: rgb(var(--accent));
  }

  .primary-nav__button::after {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin-left: 16px;
    background: none;
    color: currentColor;
    content: "→";
    rotate: 90deg;
    transition: rotate ease-in-out 0.2s;
  }

  .primary-nav__button[aria-expanded="true"]::after {
    rotate: 270deg;
  }

  .primary-nav__link[aria-current="page"]::after {
    display: none;
  }

  .mega-menu {
    position: static;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .mega-menu__inner,
  .mega-menu__columns {
    display: block;
  }

  .mega-menu__intro,
  .mega-menu__image {
    display: none;
  }

  .mega-menu__children {
    display: none;
  }

  .mega-menu__parents {
    margin: 0;
  }

  .mega-menu__parent {
    min-height: 38px;
  }

  .mega-menu__child-list {
    margin: 0 0 12px;
    padding: 0 0 0 16px;
  }

  .mega-menu__child-list--mobile {
    display: block;
  }

  .mega-menu__child-list--mobile[hidden] {
    display: none;
  }

  .mega-menu__child-list a {
    min-height: 38px;
  }

  .mega-menu__parent .mega-menu__arrow {
    rotate: 90deg;
    transition: rotate 0.2s ease-in-out;
  }

  .mega-menu__parent[aria-expanded="true"] .mega-menu__arrow {
    rotate: 270deg;
  }
  .mega-menu__columns {
    min-height: unset;
  }
  .primary-nav__item .mega-menu .container {
    padding: 0;
    padding-left: 20px;
    max-width: unset;
  }
}

@media (min-width: 1024px) {
  .primary-nav .container--nav {
    padding: 0;
    max-width: unset;
  }

  .primary-nav__link::after {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    height: 2px;
    background: rgb(var(--accent));
    border-radius: 2px;
    translate: 0 100%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    content: "";
  }

  .primary-nav__link:hover,
  .primary-nav__link:focus-visible,
  .primary-nav__button[aria-expanded="true"],
  .primary-nav__item.is-current > .primary-nav__link,
  .primary-nav__item.is-current-ancestor > .primary-nav__link {
    text-shadow: 0.5px 0 rgb(var(--black));
  }

  .primary-nav__link:hover::after,
  .primary-nav__link:focus-visible::after,
  .primary-nav__button[aria-expanded="true"]::after,
  .primary-nav__item.is-current > .primary-nav__link::after,
  .primary-nav__item.is-current-ancestor > .primary-nav__link::after {
    opacity: 1;
  }
}

/* MEGA MENU END */

body.has-open-mobile-menu {
  overflow: hidden;
}

@media screen and (max-width: 1023px) {
  .site-header__inner {
    min-height: 68px;
  }

  .site-title {
    font-size: 1.45rem;
  }
}

@media screen and (min-width: 761px) {
  .menu-toggle {
    margin-left: 6px;
  }
}

/* Posts and pages
--------------------------------------------- */

.sticky {
  display: block;
}

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

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

.entry-content a {
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
  color: inherit;
}

.entry-content a:hover {
  color: rgb(var(--accent));
}

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

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

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

.hero-section-outer {
  position: relative;
  padding-top: 210px;
}

.hero-section-outer--homepage {
  background-image: url(assets/images/hero-section-background-pattern.webp);
  background-repeat: no-repeat;
  background-size: cover;
}

.blue-shadow-bg {
  position: relative;
}

.blue-shadow-bg::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  height: 200%;
  pointer-events: none;
  background-image: url('data:image/svg+xml,<svg width="1440" height="1226" viewBox="0 0 1440 1226" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_14_96" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1440" height="1226"><rect width="1440" height="1226" fill="%23D9D9D9"/></mask><g mask="url(%23mask0_14_96)"><g filter="url(%23filter0_f_14_96)"><path d="M2105.78 -57.9999C1502.74 -58 2105.78 367.27 80 504.078C1916.81 651.213 1428.57 1212 2031.61 1212C2191.55 883.53 2077.4 926.122 2130.93 640.242C2067.72 388.566 2186.39 196.259 2105.78 -57.9999Z" fill="%236982FE" fill-opacity="0.5"/></g></g><defs><filter id="filter0_f_14_96" x="-219.7" y="-357.7" width="2654.4" height="1869.4" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="149.85" result="effect1_foregroundBlur_14_96"/></filter></defs></svg>');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  content: "";
}

.blue-shadow-bg--sm::before {
  height: 130%;
}

.hero-section-outer > * {
  position: relative;
  z-index: 1;
}

.hero-section-wrapper > .wp-block-group__inner-container {
  position: relative;
}

.hero-section-content {
  color: rgb(var(--black-bluish));
  z-index: 1;
}

.hero-section--homepage {
  gap: 0 !important;
  align-items: center !important;
}

.hero-section-content--homepage {
  width: 60%;
  margin: 0 auto;
  gap: 6px !important;
  align-items: center !important;
  text-align: center;
}

.hero-section-content--homepage h1 {
  font-size: 70px;
  line-height: 1.2;
}

.hero-section-content--homepage .wp-block-buttons {
  margin-top: 32px;
}

.hero-section-gallery--homepage {
  gap: 22px !important;
  align-items: flex-end !important;
  margin-top: -28px !important;
}

.hero-section {
  align-items: center !important;
  gap: 7.5vw;
}

.hero-section__content {
  flex: 1;
  gap: 12px !important;
  z-index: 2;
}

.subtitle {
  font-weight: 300;
  font-size: 1.375rem;
}

.subtitle--bold {
  font-weight: 600;
}

.hero-section__subtitle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgb(var(--black-bluish));
}

.hero-section__subtitle::before {
  content: "";
  display: block;
  width: 28px;
  height: 18px;
  background-color: rgb(var(--accent));
  -webkit-mask: url(assets/icons/arrow.svg) no-repeat center;
  mask: url(assets/icons/arrow.svg) no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.hero-section__content .wp-block-buttons {
  margin-top: 10px;
}

.hero-section__image {
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-section__image img {
  border-radius: 22px;
  aspect-ratio: 541 / 407;
  object-fit: cover;
  object-position: center;
}

.hero-section__image::before,
.hero-section__image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgb(var(--white) / 0.5);
  transform: translate(50%, -50%) scale(0.8);
  z-index: -1;
}

.hero-section__image::after {
  transform: translate(-30%, -30%) scale(0.8);
}

.icon-label {
  gap: 10px !important;
  align-items: center !important;
  width: fit-content;
  z-index: 1;
  pointer-events: none;
}

.icon-label__text {
  padding: 4px 6px;
  border-radius: 4px;
  background-color: rgb(var(--blue));
  color: rgb(var(--white));
  font-size: 0.875rem;
  line-height: 1;
}

.icon-label .wp-block-image {
  width: fit-content;
  height: fit-content;
}

.infinite-images-slider .wp-block-image {
  width: fit-content;
  height: fit-content;
  margin: 0;
}

.infinite-images-slider .wp-block-image img {
  border-radius: 22px;
}

.infinite-images-slider .swiper-slide {
  width: fit-content;
}

/* YouTube video shortcode
--------------------------------------------- */
.youtube-player {
  display: block;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

img.youtube-thumbnail {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 28px;
}

div.youtube-play-btn,
.video-play-btn {
  height: 86px;
  width: 86px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  position: absolute;
  background: rgb(var(--blue));
  border-radius: 99px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

div.youtube-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.video-play-btn:hover {
  transform: scale(1.05);
}

div.youtube-play-btn:after,
.video-play-btn::after {
  position: absolute;
  width: 35px;
  height: 44px;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  background-image: url('data:image/svg+xml,<svg width="35" height="44" viewBox="0 0 35 44" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0V43.9226L34.5106 21.9613L0 0Z" fill="white"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.youtube-iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 1023px) {
  div.youtube-play-btn,
  .video-play-btn {
    width: 55px;
    height: 55px;
  }
  div.youtube-play-btn:after {
    scale: 0.6;
    transform-origin: left top;
  }
}
/* --------------------------------------------- */

/* YouTube video shortcode end */

.animated-number {
  --animated-number-left-offset: 16px;

  gap: 18px;
  color: rgb(var(--black-bluish));
  font-weight: 500;
}

.animated-number-value {
  position: relative;
  padding-left: var(--animated-number-left-offset);
  font-size: 44px;
  line-height: 1.4;
}

.animated-number-value::before {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 1px;
  height: calc(100% + 12px);
  background: rgb(var(--black-bluish) / 0.3);
  content: "";
}

.animated-number-label {
  padding-left: var(--animated-number-left-offset);
  font-size: 1rem;
}

.info-card {
  padding-block: 44px 32px;
  padding-inline: 36px;
  border-radius: 22px;
  border: 1px solid rgb(var(--sky-blue));
  background: linear-gradient(
    144.08deg,
    rgba(60, 119, 255, 0.015) -8.42%,
    rgba(36, 71, 153, 0.15) 96.44%
  );
  color: rgb(var(--black-bluish));
}

.info-card--sm {
  padding: 22px;
  gap: 20px !important;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.info-card--dark {
  background: linear-gradient(
    144.08deg,
    rgba(60, 119, 255, 0.3) -8.42%,
    rgba(36, 71, 153, 1) 96.44%
  );
  border: none;
  color: rgb(var(--white));
}

.info-card--dark-revert {
  background: linear-gradient(
    92.69deg,
    rgba(36, 72, 153, 1) 2.25%,
    rgba(176, 201, 251, 1) 120.13%
  );
}

.info-card--light {
  background: rgb(var(--light-blue-2));
  border-color: rgb(201, 218, 255);
  color: rgb(var(--black));
  font-size: 1rem;
  font-weight: 400;
}

.info-card--image {
  padding: 0;
}

.info-card--image .wp-block-image {
  margin: 0;
}

.info-card--text {
  gap: 20px !important;
}

.info-card__text-content {
  flex: 1;
  gap: 12px !important;
}

.info-card__text-content h3 a {
  text-decoration: none;
}

.info-card__title {
  font-weight: 600;
}

.info-card__subtitle {
  font-size: 1.05em;
  font-weight: 600;
}

.info-card__description {
  font-size: 1rem;
}

.info-card--text .wp-block-buttons {
  margin-top: 12px !important;
}

.info-card__header {
  gap: 20px !important;
  margin-bottom: 8px !important;
  align-items: center !important;
  font-size: 1.375rem;
  font-weight: 600;
  color: rgb(var(--black-bluish));
}

.info-card__icon {
  position: relative;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__icon::before {
  content: "";
  width: 50px;
  height: 50px;
  background: linear-gradient(206.57deg, #92ade6 0%, #284c9c 83.33%);
  border-radius: 12px;
}

.info-card__icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
  border-radius: 0;
}

.info-card .wp-block-cover,
.info-card > .wp-block-image {
  border-radius: 14px;
  overflow: hidden;
}

.info-card > .wp-block-image {
  width: fit-content;
  height: fit-content;
}
.info-card > .wp-block-image img {
  border-radius: 0px;
}

.wp-block-image a img {
  width: 100%;
  transition: transform 0.2s ease;
}

.wp-block-image a:hover img {
  transform: scale(1.05);
}

.glass-bg-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 12px;
  border-radius: 10px;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 600;
  color: rgb(var(--black-bluish));
  background: rgb(var(--white) / 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px solid rgb(var(--white) / 0.3);
}

.glass-bg-label::before {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--black));
  content: "";
}

.treatments-slider .swiper-slide {
  width: fit-content;
}

.treatments-slider p {
  margin-block: 0;
}

.label {
  position: relative;
  border-radius: 100px;
  background-color: rgb(var(--white));
  color: rgb(var(--black-bluish));
  font-weight: 600;
}

.label--gray {
  background-color: rgb(var(--black-bluish) / 0.1);
}

.label--pink-outline {
  background-color: rgb(var(--accent) / 0.1);
  border: 1px solid rgb(var(--accent));
  color: rgb(var(--accent));
}

.label--checkmark::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 13px;
  margin-right: 8px;
  background-color: currentColor;
  -webkit-mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
  mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
}

.label:not(:has(a)),
.label a {
  display: inline-block;
  padding: 22px;
}

.label a {
  color: rgb(var(--black-bluish));
  text-decoration: none;
}

.label:has(a):hover {
  outline: 1px solid rgb(var(--black-bluish));
  outline-offset: -1px;
}

.label:has(a):hover a {
  color: rgb(var(--black-bluish));
}

.treatments-slider .swiper-wrapper .group-2 p {
  background-color: rgb(var(--accent));
  color: rgb(var(--white));
}
.treatments-slider .swiper-wrapper .group-2 a {
  color: rgb(var(--white));
}

.treatments-slider .swiper-wrapper .group-2 p:has(a):hover {
  background-color: rgb(var(--accent-dark));
  outline: none;
}

.tab {
  padding: 15px 20px;
  border-radius: 100px;
  background-color: rgb(var(--accent) / 0.1);
  border-color: transparent;
  color: rgb(var(--accent));
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.tab:hover {
  border-color: rgb(var(--accent));
  background-color: rgb(var(--accent) / 0.2);
  color: rgb(var(--accent));
}

.tab--active {
  border-color: rgb(var(--accent));
  background-color: rgb(var(--accent));
  color: rgb(var(--white));
}

/* Kontaktformular START */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wpcf7-form {
  font-size: 1rem;
  color: rgb(var(--black-bluish));
}

.wpcf7-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item {
  position: relative;
  display: inline-flex;
  margin: 0;
}

.wpcf7-form .wpcf7-radio label {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.wpcf7-form .wpcf7-radio input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* Radio default state */
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 15px 20px;
  border-radius: 100px;
  background-color: rgb(var(--accent) / 0.1);
  color: rgb(var(--accent));
  line-height: 1;
  transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

/* Radio hover/focus state */
.wpcf7-form .wpcf7-radio .wpcf7-list-item:hover .wpcf7-list-item-label,
.wpcf7-form .wpcf7-radio label:hover .wpcf7-list-item-label,
.wpcf7-form
  .wpcf7-radio
  input[type="radio"]:focus-visible
  + .wpcf7-list-item-label {
  background-color: rgb(var(--accent) / 0.2) !important;
  color: rgb(var(--accent)) !important;
  box-shadow: inset 0 0 0 1px rgb(var(--accent)) !important;
}

/* Radio active/checked state */
.wpcf7-form .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
  background-color: rgb(var(--accent)) !important;
  color: rgb(var(--white)) !important;
  box-shadow: inset 0 0 0 1px rgb(var(--accent)) !important;
}

/* Keep checked style while hovering the selected radio */
.wpcf7-form
  .wpcf7-radio
  .wpcf7-list-item:hover
  input[type="radio"]:checked
  + .wpcf7-list-item-label,
.wpcf7-form
  .wpcf7-radio
  label:hover
  input[type="radio"]:checked
  + .wpcf7-list-item-label,
.wpcf7-form
  .wpcf7-radio
  input[type="radio"]:checked:focus-visible
  + .wpcf7-list-item-label {
  background-color: rgb(var(--accent)) !important;
  color: rgb(var(--white)) !important;
  box-shadow: inset 0 0 0 1px rgb(var(--accent)) !important;
}

@media (max-width: 1023px) {
  .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    margin-bottom: -10px;
  }

  .wpcf7-list-item {
    flex: 0 0 auto;
  }
}
.info-card--form {
  display: flex;
  gap: 4vw;
  padding: 44px 36px;
}

.form-image {
  flex: 3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 14px;
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 4;
}

.info-card--form p {
  margin: 0;
}

.info-card--form input[type="text"],
.info-card--form input[type="email"],
.info-card--form textarea,
select.wpcf7-select {
  width: 100%;
  min-height: 50px;
  padding: 18px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  background-color: rgb(var(--light-blue-2));
  color: rgb(var(--black-bluish));
  caret-color: rgb(var(--accent));
  font-weight: 400;
  transition:
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.info-card--form textarea {
  height: 140px;
  resize: vertical;
}

.info-card--form input::placeholder,
.info-card--form textarea::placeholder {
  font-weight: 300;
  color: rgb(var(--black-bluish));
}

.info-card--form input[type="text"]:focus,
.info-card--form input[type="email"]:focus,
.info-card--form textarea:focus {
  outline: none;
  border-color: rgb(var(--accent));
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.14);
}

select::-ms-expand {
  display: none;
}

select.wpcf7-select {
  border: 1px solid rgb(var(--sky-blue));
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(
      144.08deg,
      rgba(60, 119, 255, 0.015) -8.42%,
      rgba(36, 71, 153, 0.15) 96.44%
    ),
    url(assets/icons/caret.svg);
  background-repeat: no-repeat;
  background-position:
    center,
    center right 10px;
}

.form-select-block {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.form-select-block > * {
  flex: 1;
  margin: 0;
}

@media (max-width: 1023px) {
  .form-select-block {
    flex-direction: column;
    gap: 22px;
  }
  .form-select-block > * {
    width: 100%;
  }
}
.info-card--form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.info-card--form .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  align-items: start;
  margin: 0;
  line-height: 1.35;
  color: rgb(var(--black-bluish));
  cursor: pointer;
  font-weight: 300;
}

.info-card--form .wpcf7-acceptance label a {
  font-weight: 400;
}

.info-card--form .wpcf7-acceptance input[type="checkbox"] {
  position: relative;
  display: grid;
  place-content: center;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgb(var(--accent));
  border-radius: 3px;
  background-color: rgb(var(--white));
  cursor: pointer;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.info-card--form .wpcf7-acceptance input[type="checkbox"]::before {
  width: 10px;
  height: 8px;
  background-color: rgb(var(--white));
  transform: scale(0);
  transition: transform 0.16s ease-in-out;
  content: "";
  -webkit-mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
  mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
}

.info-card--form .wpcf7-acceptance label:hover input[type="checkbox"] {
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.12);
}

.info-card--form .wpcf7-acceptance input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.18);
}

.info-card--form .wpcf7-acceptance input[type="checkbox"]:checked {
  border-color: rgb(var(--accent));
  background-color: rgb(var(--accent));
}

.info-card--form .wpcf7-acceptance input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.info-card--form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: rgb(var(--accent-dark));
  font-size: 0.875rem;
}

.wpcf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid rgb(var(--sky-blue));
  border-radius: 18px;
  color: rgb(var(--black-bluish));
}

.wpcf7-submit:disabled {
  opacity: 0.7;
}

.wpcf7-submit {
  border: none;
  outline: none;
  background: none;
}

.wpcf7 .wpcf7-submit:disabled a {
  cursor: not-allowed;
}

/* Kontaktformular END */

.footer {
  overflow: hidden;
  background-image: url(assets/images/circles-background-pattern.svg);
  background-size: auto 100%;
  background-position: right;
  background-repeat: no-repeat;
}

.footer.blue-shadow-bg::before {
  bottom: 0;
  translate: 0 10%;
}

.footer__body {
  padding-bottom: 26px;
  gap: 22px !important;
  font-size: 1rem;
  font-weight: 300;
  color: rgb(var(--black-bluish));
}

.footer__body hr.wp-block-separator {
  margin: 0;
}

.footer__content {
  padding-block: 140px;
  gap: 8vw !important;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__content a {
  color: rgb(var(--black-bluish));
  text-decoration: none;
  transition: text-decoration 0.2s ease-in-out;
}

.footer__content a:hover {
  text-decoration: underline;
}

.footer__content-overview {
  flex: 2;
  gap: 22px !important;
}

.footer__content-overview a {
  font-weight: 400;
}

.footer__content-overview .custom-logo-link {
  margin-bottom: 22px !important;
}

.social-icons {
  gap: 16px !important;
}

.social-icons__item a {
  position: relative;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  outline: 1px solid var(--social-icons-item-border-color, rgb(var(--sky-blue)));
  outline-offset: -1px;
  background: linear-gradient(
    144.08deg,
    rgba(60, 119, 255, 0.015) -8.42%,
    rgba(36, 71, 153, 0.15) 96.44%
  );
  transition: outline 0.1s ease-in-out;
  overflow: hidden;
}

.social-icons__item a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    144.08deg,
    rgba(60, 119, 255, 0.03) -8.42%,
    rgba(36, 71, 153, 0.3) 96.44%
  );
  opacity: var(--social-icons-item-background-opacity, 0);
  transition: opacity 0.1s ease-in-out;
}

.social-icons__item a:hover {
  --social-icons-item-border-color: transparent;
  --social-icons-item-background-opacity: 1;
}

.footer__content-info {
  flex: 1;
  gap: 22px !important;
}

.footer__content-info strong {
  font-weight: 600;
}

.footer__content-schedule,
.contact-grid {
  width: 100%;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) !important;
  row-gap: 2px !important;
  column-gap: 14px !important;
  white-space: nowrap;
}

.contact-grid {
  white-space: normal;
}

.footer__content-cta {
  flex: 1;
  gap: 12px !important;
}

.footer__content-cta-title {
  font-weight: 600;
  font-size: 38px;
}

.footer__menu a {
  text-shadow: none;
  transition: text-shadow ease-in-out 0.2s;
}
.footer__menu a:hover {
  text-shadow: 1px 0 rgb(var(--black));
}

.col-2 {
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.col-2 > * {
  width: calc(50% - 10px);
}

.col-2--slider .info-card {
  width: 100%;
}

.info-card--doctor {
  background: rgb(var(--white));
  padding: 0;
  gap: 0 !important;
}

.info-card__doctor-image {
  position: relative;
  width: 100%;
  background: linear-gradient(144.08deg, #eaf3ff -8.42%, #d1ddf0 96.44%);
  border-radius: inherit;
  border-bottom: 1px solid rgb(var(--sky-blue));
  overflow: hidden;
}

.info-card__doctor-image .wp-block-image {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.info-card__doctor-image .wp-block-image img {
  border-radius: 0;
  height: 435px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

.info-card__doctor-image-label-wrapper {
  position: absolute;
  left: 30px;
  bottom: 25px;
}

.info-card__doctor-image-label {
  background: rgb(var(--white) / 0.68);
}

.info-card__doctor-image-label.glass-bg-label::before {
  background: rgb(var(--accent));
}

.info-card__doctor-info {
  padding: 30px 42px;
  gap: 12px !important;
  color: rgb(var(--black));
}

.info-card--doctor .wp-block-video {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.info-card--doctor .wp-block-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.info-card--doctor .wp-block-video.wp-block-video--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

.info-card--doctor .video-play-btn {
  position: relative;
  transform: none;
  top: unset;
  left: unset;
  width: 55px;
  height: 55px;
  background: rgb(var(--white) / 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px solid rgb(var(--white) / 0.3);
}

.info-card--doctor .video-play-btn::after {
  width: 20px;
  height: 25px;
  filter: brightness(0) saturate(100%) invert(32%) sepia(77%) saturate(1078%)
    hue-rotate(292deg) brightness(97%) contrast(84%);
}

.info-card--doctor .video-play-btn:hover {
  transform: scale(1.05);
}

.info-card--doctor:not(:has(.info-card__doctor-image)) .glass-bg-label {
  padding: 0;
}
.info-card--doctor:not(:has(.info-card__doctor-image)) .glass-bg-label::before {
  display: none;
}

.info-card__doctor-info-specialization {
  font-style: italic;
  color: rgb(var(--gray));
}

.info-card__doctor-info-link a {
  font-weight: 600;
  text-decoration: none;
}

.doctors-list-wrapper {
  gap: 22px;
  width: 100%;
}

.doctors-list {
  align-items: start !important;
  margin-top: 22px !important;
  width: 100%;
}

.wp-block-media-text {
  gap: 42px;
}

.wp-block-media-text > .wp-block-media-text__content {
  padding: 0;
}

.wp-block-media-text__media img {
  border-radius: 22px;
}

.wp-block-media-text > .wp-block-media-text__content > p:first-of-type {
  margin-top: 0;
}

.wp-block-media-text > .wp-block-media-text__content > p:last-of-type {
  margin-bottom: 0;
}

.filter-white {
  filter: brightness(0) invert(1);
}

.labels-slider-wrapper {
  padding-block: 70px;
  padding-inline: 0;
  gap: 32px !important;
  width: 100%;
  border-radius: 22px;
}

/* DETAILS BLOCK */

.details-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.details-block .wp-block-accordion-item {
  width: 100%;
  padding-block: 22px;
  border-bottom: 1px solid rgb(var(--black) / 0.3);
  transition: border-bottom-color 0.2s ease-in-out;
}

.details-block .wp-block-accordion-item.is-open {
  border-bottom-color: transparent;
}

.details-block .wp-block-accordion-heading {
  padding-right: 20px;
  margin-block: 0;
  list-style: none;
  cursor: pointer;
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(var(--black-bluish));
}

.details-block .wp-block-accordion-heading__toggle-icon {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%) rotate(0);
  transition: transform 0.2s ease;
  background-color: rgb(var(--black-bluish));
  -webkit-mask: url("assets/icons/caret.svg") center / contain no-repeat;
  mask: url("assets/icons/caret.svg") center / contain no-repeat;
  width: 8px;
  height: 12px;
}

.details-block
  .wp-block-accordion-item.is-open
  .wp-block-accordion-heading__toggle-icon {
  transform: translateY(-50%) rotate(180deg);
}

.wp-block-accordion-heading__toggle {
  padding-block: 0;
}

.details-block .wp-block-accordion-panel {
  margin-bottom: 0;
  margin-top: 22px;
  padding: 32px 38px;
  background: rgb(var(--white));
  border-radius: 22px;
}

.checkmark-list p {
  position: relative;
}

.details__label {
  display: inline-block;
  padding: 10px;
  background-color: rgb(var(--black-bluish));
  border-radius: 6px;
  color: rgb(var(--white));
  font-weight: 600;
  line-height: 1.5;
}

.details-block--extended {
  gap: 22px;
}

.details-block--extended .wp-block-accordion-item {
  padding-block: 0;
  border-bottom: none;
  transition: none;
}

.details-block--extended .wp-block-accordion-heading {
  padding: 32px;
  padding-right: 250px;
  border-radius: 22px;
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 600;
  color: rgb(var(--white));
  background: linear-gradient(
    92.69deg,
    rgba(36, 72, 153, 1) 2.25%,
    rgba(176, 201, 251, 1) 120.13%
  );
  transition: border-radius ease-in-out 0.2s;
}

.details-block--extended
  .wp-block-accordion-item.is-open
  .wp-block-accordion-heading {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.details-block--extended .wp-block-accordion-heading__toggle-icon {
  position: absolute;
  font-size: 0;
  background-color: unset;
  mask: none;
  -webkit-mask: none;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  right: 22px;
}

.details-block--extended
  .wp-block-accordion-item.is-open
  .wp-block-accordion-heading__toggle-icon {
  transform: translateY(-50%);
}

.details-block--extended .wp-block-accordion-heading__toggle-icon::before {
  content: "Mehr erfahren";
  padding: 22px 32px;
  border-radius: 12px;
  background: rgb(var(--accent));
  outline: 1px solid transparent;
  outline-offset: -1px;
  color: rgb(var(--white));
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;

  transition: all 0.2s ease-in-out;
}

.details-block--extended
  .wp-block-accordion-heading:hover
  .wp-block-accordion-heading__toggle-icon::before {
  background: rgb(var(--accent-dark));
}

.details-block--extended
  .wp-block-accordion-item.is-open
  .wp-block-accordion-heading__toggle-icon::before {
  content: "Schließen";
  background: rgb(var(--white) / 0.1);
  outline-color: rgb(var(--white));
}

.details-block--extended
  .wp-block-accordion-item.is-open
  .wp-block-accordion-heading:hover
  .wp-block-accordion-heading__toggle-icon::before {
  background: rgb(var(--white));
  color: rgb(var(--accent));
}

.details-block--extended .wp-block-accordion-panel {
  margin-top: 0 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.wp-block-accordion.details-block {
  interpolate-size: allow-keywords;
}

.wp-block-accordion.details-block .wp-block-accordion-panel {
  display: block;
  block-size: auto;
  overflow: hidden;

  transition:
    block-size 0.5s ease,
    margin-block-start 0.5s ease,
    padding-block-start 0.5s ease,
    padding-block-end 0.5s ease;
}

.wp-block-accordion.details-block
  .wp-block-accordion-item:not(.is-open)
  .wp-block-accordion-panel {
  display: block;
  block-size: 0;

  margin-block-start: 0;
  padding-block-start: 0;
  padding-block-end: 0;
}

@media (max-width: 1023px) {
  .details-block .wp-block-accordion-panel {
    padding-inline: 22px;
  }

  .details-block--extended .wp-block-accordion-heading {
    padding: 24px 26px;
    padding-right: 200px;
    font-size: 1.25rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  .details-block--extended .wp-block-accordion-heading__toggle-icon::before {
    padding-inline: 22px;
  }
  .details-block--extended .wp-block-accordion-heading__toggle-title {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

/* DETAILS BLOCK END */

a.link--highlighted {
  font-style: italic;
  font-weight: 600;
  color: rgb(var(--black-bluish));
  text-decoration: none;
}

.list--checkmark {
  padding-inline-start: 0;
}

.list--checkmark li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
}

.list--checkmark li::before {
  content: "";
  margin-top: 8px;
  flex-shrink: 0;
  background-color: rgb(var(--accent));
  -webkit-mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
  mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
  width: 16px;
  height: 12px;
}

.list--underline li {
  border-bottom: 1px solid rgb(var(--black) / 0.3);
}

.list--underline li:last-child {
  border-bottom: none;
}

.cta-card {
  gap: 32px !important;
  padding-block: 50px;
  padding-inline: 55px;
  background: linear-gradient(
    144.08deg,
    rgba(60, 119, 255, 0.3) -8.42%,
    rgba(36, 71, 153, 1) 96.44%
  );
  border: none;
  border-radius: 22px;
  color: rgb(var(--white));
  text-align: center;
}
.cta-card__logo {
  margin: 0 !important;
  filter: brightness(0) invert(1);
}
.cta-card__logo img {
  border-radius: 0;
}

.cta-card__title {
  margin-top: 12px !important;
}

.gallery-slider .swiper-slide {
  width: auto;
}

.gallery-slider .swiper-slide .wp-block-image {
  width: fit-content;
  margin: 0 !important;
}

.gallery-slider .swiper-slide .wp-block-image img {
  border-radius: 22px;
}

.side-fading {
  position: relative;
}

.side-fading::before,
.side-fading::after {
  --side-fading-gradient-degree: 270deg;

  content: "";
  position: absolute;
  top: 0;
  width: clamp(132px, 16vw, 230px);
  height: 100%;
  background: linear-gradient(
    var(--side-fading-gradient-degree),
    rgb(var(--light-blue) / 0) 0%,
    rgb(var(--light-blue) / 1) 100%
  );
  z-index: 2;
}
.side-fading::before {
  left: 0;
}
.side-fading::after {
  right: 0;
  --side-fading-gradient-degree: 90deg;
}

.hero-section .home-map {
  width: 100%;
}

.procedure-list {
  --process-line-color: rgb(61 95 171);

  position: relative;
  gap: 100px !important;
}

.procedure-list__step {
  align-items: center !important;
  gap: 42px !important;
}

.procedure-list__step-text {
  gap: 12px !important;
}

.procedure-list__step-text-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: rgb(var(--accent));
}

.procedure-list__step-image-wrapper {
  flex-shrink: 0;
}

.procedure-list__step-image {
  position: relative;
  margin: 0;
}

.procedure-list__step-image::before,
.procedure-list__step-image::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--process-line-color);
}

.procedure-list__step-image::after {
  bottom: 0;
  left: 50%;
  translate: -50% 50%;
}

.procedure-list__step-image::before {
  top: 0;
  left: 50%;
  translate: -50% -50%;
}

.procedure-list
  > .procedure-list__step:first-of-type
  .procedure-list__step-image::before {
  display: none;
}

.procedure-list
  > .procedure-list__step:last-of-type
  .procedure-list__step-image::after {
  display: none;
}

.process__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.process__line {
  fill: none;
  stroke: var(--process-line-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media screen and (min-width: 1024px) {
  .hero-section-gallery--homepage > * {
    height: unset !important;
    align-self: stretch;
  }

  .hero-section-gallery--homepage .wp-block-image > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .hero-section-gallery--homepage > *:not(:first-child):not(:last-child) {
    display: flex;
    align-items: flex-end;
  }
  .hero-section-gallery--homepage > *:not(:first-child):not(:last-child) > img {
    height: calc(100% - 28px - 64px) !important;
  }

  .col-2--slider .swiper-slide {
    width: calc(50% - 10px);
  }

  .col-2--slider .swiper-wrapper {
    justify-content: space-between;
  }

  .col-2--slider.doctors-list .swiper-wrapper {
    row-gap: 54px;
    align-items: stretch;
  }

  .col-2--slider.doctors-list .swiper-slide {
    height: auto;
  }

  .col-2--slider.doctors-list .swiper-slide .info-card--doctor {
    height: 100%;
  }
  .praxen-slider .swiper-wrapper {
    gap: 20px !important;
  }
}

@media (max-width: 1023px) {
  .content-section-row > .wp-block-group {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .content-section-row > .wp-block-group > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start !important;
  }

  .col-2--slider .swiper {
    padding-bottom: 40px;
  }

  .hero-section-outer {
    padding-top: 190px;
  }

  .hero-section {
    flex-direction: column-reverse !important;
    gap: 44px !important;
  }

  .hero-section--homepage {
    flex-direction: column !important;
  }

  .hero-section__image::before,
  .hero-section__image::after {
    display: none;
  }

  .hero-section-content--homepage h1 {
    font-size: 48px;
  }

  .hero-section-content--homepage {
    width: 100%;
  }

  .hero-section-gallery--homepage {
    margin-top: 96px !important;
  }

  .hero-section-gallery--homepage > * {
    display: none;
  }

  .hero-section-gallery--homepage > *:nth-child(1) {
    display: block;
  }

  .hero-section__content {
    width: 100%;
  }

  .content-section-row:has(.treatments-slider) {
    align-items: stretch !important;
  }

  .colored-section {
    padding-block: 120px;
  }

  .animated-number {
    gap: 12px !important;
  }
  .animated-number-value {
    font-size: 32px;
  }
  .animated-number-label {
    font-size: 14px;
  }
  .info-card--text {
    gap: 4px !important;
  }

  .info-card--form {
    padding-inline: 20px;
    padding-block: 22px 44px;
    flex-direction: column;
    gap: 64px !important;
  }

  .form-image {
    flex: unset;
    height: 284px;
  }

  .footer__body {
    padding-bottom: 38px;
    gap: 44px !important;
  }
  .footer__content {
    padding-block: 120px 44px;
    flex-direction: column !important;
    gap: 66px !important;
    align-items: flex-start !important;
  }
  .footer__content-overview .custom-logo-link {
    max-width: 232px;
  }

  .col-2 > * {
    width: 100%;
  }

  .info-card__doctor-image .wp-block-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 350px;
  }

  .info-card__doctor-image-label-wrapper {
    right: 30px;
  }

  .info-card__doctor-image-label {
    width: fit-content;
  }

  .cta-card {
    padding-inline: 22px;
  }

  .info-card--light {
    padding-inline: 22px;
  }

  .info-card__header {
    font-size: 1.25rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
  .info-card {
    padding-inline: 22px;
  }
  .info-card--image,
  .info-card--doctor,
  .info-card--text {
    padding-inline: 0;
  }

  .praxen-slider .swiper-wrapper {
    padding-bottom: 70px;
  }

  .images-slider .swiper-slide > .wp-block-image,
  .images-slider .swiper-slide > .wp-block-image img {
    width: 100% !important;
  }

  .procedure-list {
    gap: 44px !important;
  }

  .procedure-list__step {
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
    gap: 22px !important;
  }
  .procedure-list__step-text {
    padding-left: 35px;
  }

  .procedure-list__step-image img {
    border-radius: 22px;
  }

  .procedure-list__step-image::before,
  .procedure-list__step-image::after {
    left: 20px;
  }

  .fachbereiche-list .info-card--text {
    padding-inline: 36px;
  }
}

/* 404 PAGE */

.not-found {
  --main-404-color: rgb(var(--accent) / 0.5);

  background: var(--main-404-color);
  overflow: hidden;
  padding-top: 130px;
}

.not-found-header {
  text-align: center;
  padding: 0;
  padding-top: 20px;
  position: relative;
  color: #fff;
  margin: 0;
}

.not-found-header a {
  color: #fff;
  text-decoration: underline;
}

.not-found-circles {
  background: #fff;
  text-align: center;
  position: relative;
  clip-path: polygon(0 21%, 100% 0%, 100% 100%, 0% 100%);
}

.not-found-circles p {
  color: #fff;
  padding-top: 60px;
  position: relative;
  z-index: 9;
  line-height: 100%;
  margin: 0 auto;
  font-size: 140px;
}

.not-found-circles p small {
  font-size: 28px;
  line-height: 100%;
  vertical-align: top;
}

.not-found-circles .not-found-circle.small {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--main-404-color);
  position: absolute;
  z-index: 1;
  top: 80px;
  left: 50%;
  animation: 7s smallmove infinite cubic-bezier(1, 0.22, 0.71, 0.98);
  -webkit-animation: 7s smallmove infinite cubic-bezier(1, 0.22, 0.71, 0.98);
  animation-delay: 1.2s;
  -webkit-animation-delay: 1.2s;
}

.not-found-circles .not-found-circle.med {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--main-404-color);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 10%;
  animation: 7s medmove infinite cubic-bezier(0.32, 0.04, 0.15, 0.75);
  -webkit-animation: 7s medmove infinite cubic-bezier(0.32, 0.04, 0.15, 0.75);
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
}

.not-found-circles .not-found-circle.big {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--main-404-color);
  position: absolute;
  z-index: 1;
  top: 200px;
  right: 0;
  animation: 8s bigmove infinite;
  -webkit-animation: 8s bigmove infinite;
  animation-delay: 3s;
  -webkit-animation-delay: 1s;
}

@-webkit-keyframes smallmove {
  0% {
    top: 10px;
    left: 45%;
    opacity: 1;
  }
  25% {
    top: 300px;
    left: 40%;
    opacity: 0.7;
  }
  50% {
    top: 240px;
    left: 55%;
    opacity: 0.4;
  }
  75% {
    top: 100px;
    left: 40%;
    opacity: 0.6;
  }
  100% {
    top: 10px;
    left: 45%;
    opacity: 1;
  }
}
@keyframes smallmove {
  0% {
    top: 10px;
    left: 45%;
    opacity: 1;
  }
  25% {
    top: 300px;
    left: 40%;
    opacity: 0.7;
  }
  50% {
    top: 240px;
    left: 55%;
    opacity: 0.4;
  }
  75% {
    top: 100px;
    left: 40%;
    opacity: 0.6;
  }
  100% {
    top: 10px;
    left: 45%;
    opacity: 1;
  }
}

@-webkit-keyframes medmove {
  0% {
    top: 0px;
    left: 20%;
    opacity: 1;
  }
  25% {
    top: 300px;
    left: 80%;
    opacity: 0.7;
  }
  50% {
    top: 240px;
    left: 55%;
    opacity: 0.4;
  }
  75% {
    top: 100px;
    left: 40%;
    opacity: 0.6;
  }
  100% {
    top: 0px;
    left: 20%;
    opacity: 1;
  }
}

@keyframes medmove {
  0% {
    top: 0px;
    left: 20%;
    opacity: 1;
  }
  25% {
    top: 300px;
    left: 80%;
    opacity: 0.7;
  }
  50% {
    top: 240px;
    left: 55%;
    opacity: 0.4;
  }
  75% {
    top: 100px;
    left: 40%;
    opacity: 0.6;
  }
  100% {
    top: 0px;
    left: 20%;
    opacity: 1;
  }
}

@-webkit-keyframes bigmove {
  0% {
    top: 0px;
    right: 4%;
    opacity: 0.5;
  }
  25% {
    top: 100px;
    right: 40%;
    opacity: 0.4;
  }
  50% {
    top: 240px;
    right: 45%;
    opacity: 0.8;
  }
  75% {
    top: 100px;
    right: 35%;
    opacity: 0.6;
  }
  100% {
    top: 0px;
    right: 4%;
    opacity: 0.5;
  }
}
@keyframes bigmove {
  0% {
    top: 0px;
    right: 4%;
    opacity: 0.5;
  }
  25% {
    top: 100px;
    right: 40%;
    opacity: 0.4;
  }
  50% {
    top: 240px;
    right: 45%;
    opacity: 0.8;
  }
  75% {
    top: 100px;
    right: 35%;
    opacity: 0.6;
  }
  100% {
    top: 0px;
    right: 4%;
    opacity: 0.5;
  }
}

@media screen and (min-width: 1025px) {
  .not-found-header {
    margin-top: 40px;
  }
  .not-found-circles p {
    font-size: 240px;
  }
  .not-found-circles p small {
    font-size: 40px;
  }
}
/* 404 PAGE END */

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

.break-word {
  word-break: break-word;
}

.wp-block-image.is-ai-generated {
  position: relative;
}

.wp-block-image.is-ai-generated::after {
  content: "";

  position: absolute;
  right: 16px;
  bottom: 8px;
  z-index: 2;

  width: 80px;
  height: 18px;

  background: url("assets/images/AI_MODIFIED_icon.webp") center / contain
    no-repeat;

  pointer-events: none;
}

.keywords-grid {
  padding: 40px;
}

.keywords-grid > * {
  position: relative;
  align-items: center !important;
  border: none;
  text-align: center;
}

.keywords-grid a {
  text-decoration: none;
}
.keywords-grid a:hover {
  color: var(--text-color);
}

.keywords-grid > * h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

@media (min-width: 1024px) {
  .keywords-grid > *:nth-child(4n + 1),
  .keywords-grid > *:nth-child(4n) {
    --text-color: rgb(var(--white));

    background-color: rgb(var(--accent));
    color: var(--text-color);
  }

  .keywords-grid > *:nth-child(4n + 1):has(a:hover),
  .keywords-grid > *:nth-child(4n):has(a:hover) {
    background-color: rgb(var(--accent-dark));
  }

  .keywords-grid > *:nth-child(4n + 1) h3,
  .keywords-grid > *:nth-child(4n) h3 {
    color: var(--text-color);
  }

  .keywords-grid > *:nth-child(4n + 2),
  .keywords-grid > *:nth-child(4n + 3) {
    --text-color: rgb(var(--black-bluish));

    background-color: rgb(var(--white));
  }

  .keywords-grid > *:nth-child(4n + 2):has(a:hover),
  .keywords-grid > *:nth-child(4n + 3):has(a:hover) {
    outline: 1px solid rgb(var(--black-bluish));
    outline-offset: -1px;
  }
}
@media (max-width: 1023px) {
  .keywords-grid {
    padding: 20px;
  }
  .keywords-grid > *:nth-child(odd) {
    --text-color: rgb(var(--white));

    background-color: rgb(var(--accent));
    color: var(--text-color);
  }
  .keywords-grid > *:nth-child(odd) h3 {
    color: var(--text-color);
  }
  .keywords-grid > *:nth-child(odd):has(a:hover) {
    background-color: rgb(var(--accent-dark));
  }

  .keywords-grid > *:nth-child(even) {
    --text-color: rgb(var(--black-bluish));

    background-color: rgb(var(--white));
  }

  .keywords-grid > *:nth-child(even):has(a:hover) {
    outline: 1px solid rgb(var(--black-bluish));
    outline-offset: -1px;
  }
}
