html, body { overflow-x: hidden }
html {
	scroll-behavior: smooth;
    scroll-padding-top: 140px;
}
.wp-block-group.grouplogo-breaks-mobile {
    margin-bottom: -16px;
}

/* start mobile */
.wp-block-navigation__responsive-container.is-menu-open {
	background: #fff;
    margin-left: 14%;
	box-shadow: 0 0 10px #d6d6d6;
}
.is-menu-open .wp-block-navigation__responsive-container-content {
    padding: 90px 30px 0 0 !important
}
.wp-block-navigation__responsive-container-close {
    right: 30px;
    top: 30px;
}
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    fill: black;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding-right: 0px !important;
}
.wp-block-navigation-submenu > li {
	text-transform: none;
}
@media (max-width: 599px) {
.wp-block-navigation-submenu > li {
    text-transform: none;
	padding: 14px 20px 0 !important;
	border-right: 1px solid black;
}
.wp-block-navigation > li >a:first-child {
    margin-top: 0px;
}
}
/* end mobile */

.mobile-swipe-navi a {
    transition: background-color 0.2s ease;
}

.mobile-swipe-navi a.is-active-nav {
    background: #f5f0e7;
}



.wp-block-navigation__container {
    justify-content: flex-end;
}
.logo-loggedin {
	width: 110px;
	height: auto
}
.logo-loggedin img {
vertical-align: middle;
}
.editor-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper.has-global-padding {
    margin-top: 0 !important;
    display: flex;
    justify-content: flex-start;
}
.editor-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper.has-global-padding:before {
    content: "Vergib einen aussagekräftigen Seitennamen für die Verwaltung und die Frontend-Suche: ";
    font-size: 13px;
    line-height: 1.2;
    width: 330px;
    margin-top: 30px;
}
h1.wp-block.wp-block-post-title.block-editor-block-list__block.editor-post-title.editor-post-title__input.rich-text {
    font-size: 18px;
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #787777;
    margin-left: 20px !important;
}

.mobile-swipe-navi p > a {
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.rotate-container {
    height: 350px;
    overflow: hidden;
	display: flex;
  align-items: center;

}
.rotate-inner {
 transform: rotate(6deg);
  transform-origin: center center;
}
@media (min-width: 782px) {
	.rotate-container {
	margin: 0 -80px;
	height: 600px;
	}
}   
.wp-block-button.is-style-kontur-v2 .wp-block-button__link {
	border: 1px solid black;
	color: black;
	background: white;
}
/* SIMPLE BUTTON (mit Pfeil nach rechts) */
.wp-block-button.is-style-simple-button .wp-block-button__link,
.wp-block-post-excerpt__more-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: transparent;
  color: black;
  padding: 0;
  border: none;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

.wp-block-button.is-style-simple-button .wp-block-button__link::after,
.wp-block-post-excerpt__more-link::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.wp-block-button.is-style-simple-button .wp-block-button__link:hover::after,
.wp-block-post-excerpt__more-link:hover::after {
  transform: translateX(4px);
}

/* SIMPLE BACK BUTTON (Pfeil nach links) */
.wp-block-button.is-style-simple-back-button .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: transparent;
  color: black;
  padding: 0;
  border: none;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

.wp-block-button.is-style-simple-back-button .wp-block-button__link::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.wp-block-button.is-style-simple-back-button .wp-block-button__link:hover::before {
  transform: rotate(180deg) translateX(-4px);
}

/* DOWNLOAD & DOWNLOADGATE BUTTONS */
.wp-block-button.is-style-download-button .wp-block-button__link,
.wp-block-button.is-style-downloadgate-button .wp-block-button__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
  background-color: #f3f3f3;
  color: black;
  border: none;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

/* Download-Icon */
.wp-block-button.is-style-download-button .wp-block-button__link::before,
.wp-block-button.is-style-downloadgate-button.download-acess .wp-block-button__link::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.wp-block-button.is-style-download-button .wp-block-button__link:hover::before {
  transform: translateY(2px);
}

/* Hinweistext bei gesperrtem Downloadgate */
.wp-block-button.is-style-downloadgate-button:not(.download-acess)::before {
  content: "Freischalten durch E-Mail-Adresse oder Login";
  font-size: 12px;
  color: #a5a5a5;
}

/* Schloss-Icon für Downloadgate */
.wp-block-button.is-style-downloadgate-button .wp-block-button__link::before {
  content: '';
  display: flex;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.5H12C12.8284 6.5 13.5 7.17157 13.5 8V13C13.5 13.8284 12.8284 14.5 12 14.5H4C3.17157 14.5 2.5 13.8284 2.5 13V8C2.5 7.17157 3.17157 6.5 4 6.5Z' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.02273 6C4.02273 6 3.45455 1 8 1C12.5455 1 11.9773 6 11.9773 6' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

@media (max-width: 748px) {
	.wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
		width: 100%;
	}
}

.stretch-vertical {
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

ul.wp-block-list.is-style-check-list {
    padding: 0;
}

.wp-block-list.is-style-check-list li {
  list-style: none;
  position: relative;
  padding-left: 1.75em;
  padding-bottom: 0.2em;
}

.wp-block-list.is-style-check-list li::before, .wp-block-list.is-style-check-list.red li::before, .wp-block-list.is-style-check-list.blue li::before, .wp-block-list.is-style-check-list.green li::before, .wp-block-list.is-style-check-list.purple li::before {
content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.2em;
    height: 1.2em;
    background-color: #f59c00;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.8em;
    background-position-y: 2px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20d='M2%209l4%204%208-8'/%3E%3C/svg%3E");
}
.wp-block-list.is-style-check-list.red li::before {
	 background-color: var(--wp--preset--color--secondary) !important;
} 
.wp-block-list.is-style-check-list.blue li::before {
	 background-color: #1b88ca !important;
}
.wp-block-list.is-style-check-list.green li::before {
	 background-color: #3baa36 !important;
}
.wp-block-list.is-style-check-list.purple li::before {
	 background-color: #b814ff !important;
}
.wp-block-list.is-style-check-list.plum li::before {
	 background-color: #86005f !important;
}


/* Änderung seit Serverumzug */
.post-template-beitrag-magazin main h2 {
    font-size: var(--wp--preset--font-size--x-large) !important;
    margin-top: 3rem;
}
.wp-block-post-author__avatar img {
    border-radius: 30px;
}
.wp-block-post-author {
    align-items: center;
}
.post-einleitung {
    text-align: center;
}

/* Grundeinstellungen für die Timeline: Positionierung der Linie */
.pattern-timeline {
  position: relative;
  --icon-size: 56px;        /* Breite/Höhe der Icon-Spalte */
  --rail-left: 28px;        /* Position der vertikalen Linie */
  --rail-color: color-mix(in oklab, currentColor 18%, transparent);
  color: currentColor;
}

/* Vertikale Linie – ganz hinten */
.pattern-timeline::before {
  content: "";
  position: absolute;
  left: var(--rail-left);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rail-color);
  z-index: 0; /* hinter allem */
}

/* Jeder Abschnitt (Step) */
.pattern-timeline .timeline-step {
  position: relative;
}

/* Punkt auf der Linie je Step – hinter Text, vor Linie */
.pattern-timeline .timeline-step::before {
  content: "";
  position: absolute;
  left: var(--rail-left);
  top: calc(var(--icon-size) / 2); /* Punkt zentriert auf Höhe des Icons */
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #d1d1d1;
  z-index: 1;
}


/* Textspalten über Linie/Punkt platzieren */
.pattern-timeline .wp-block-columns,
.pattern-timeline .wp-block-column {
  position: relative;
  z-index: 2; /* Text sitzt vor Linie/Punkt */
}

/* Icon-Container: kein Hintergrund, damit der Punkt sichtbar bleibt, wenn kein Bild vorhanden ist */
.pattern-timeline .timeline-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  min-width: var(--icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3; /* über Text und Punkt */
}

/* Sobald ein Bild vorhanden ist, erhält <figure> einen weißen Hintergrund, der Linie und Punkt überdeckt */
.pattern-timeline .timeline-icon figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  z-index: 4; /* ganz vorne */
}

/* Bilder vollständig skalieren */
.pattern-timeline .timeline-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Mobile: kleinere Icons und Linie proportional verschieben */
@media (max-width: 782px) {
  .pattern-timeline {
    --icon-size: 48px;
    --rail-left: 24px;
  }
}


/* Magazin */
.wp-block-button.filter-active > a {
    color: white;
    background: #555555;
}

/* Whitepaper Access status im Magazin */
/* Basis */
.access-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}
.access-status::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Unlocked (mit Text rechts) */
span.access-status {
    background: #e2e2e2;
    padding: 4px 6px;
    border-radius: 6px;
}
.access-status.locked::before {
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M8 6.5H14C14.8284 6.5 15.5 7.17157 15.5 8V13C15.5 13.8284 14.8284 14.5 14 14.5H8C7.17157 14.5 6.5 13.8284 6.5 13V8C6.5 7.17157 7.17157 6.5 8 6.5Z' stroke='currentColor'/%3E%3Cpath d='M1.02292 6.00003C1.02292 6.00003 0.49362 0.99576 5.03894 1.0311C9.58426 1.06643 9.01745 4.9515 9.01745 4.9515' stroke='currentColor' stroke-linecap='round'/%3E%3C/svg%3E");
}
.access-status.locked::after {
  content: 'freigeschaltet';
}

.access-status.unlocked::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5H12C12.8284 6.5 13.5 7.17157 13.5 8V13C13.5 13.8284 12.8284 14.5 12 14.5H4C3.17157 14.5 2.5 13.8284 2.5 13V8C2.5 7.17157 3.17157 6.5 4 6.5Z' stroke='currentColor'/%3E%3Cpath d='M4.02273 6C4.02273 6 3.45455 1 8 1C12.5455 1 11.9773 6 11.9773 6' stroke='currentColor' stroke-linecap='round'/%3E%3C/svg%3E");
}
.access-status.unlocked::after {
  content: 'jetzt freischalten'
}
.decoration-none a {
    text-decoration: none;
}

:root:not(:has(.logged-in)) .only-admins {
	display: none;
}
.spielzimmer .wp-block-post-excerpt__more-link {
	color: #de1a2f;
}

a.aei-btn-book {
    color: white;
}
#CookiebotWidget {
	z-index: 99 !important;
}