/*
 Theme Name:   CMD MAINZ Child Theme
 Theme URI:    https://www.diewebsupporter.de
 Author:       Robin Port
 Template:     cmd-mainz
 Version:      0.1
*/ :root {
  --textdunkel: #3f3f3f;
  --texthell: #56565e;
  --turkis: #87b2b3;
  --hggrau: #F5F5F5;
  --hgschwarz: #000000;
  --borderradius: 10px;
  --gap: 10px;
  --padding: 40px;
}
/* ================== TYPO ================== */
@font-face {
  font-display: swap;
  font-family: 'inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'lora';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lora-400.woff2') format('woff2');
}
body * {
  font-family: "inter", sans-serif;
  color: var(--textdunkel);
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 6 2
}
.main-navigation a {
  font-weight: 800
}
h1, h2, h3 {
  line-height: 1.02;
  letter-spacing: -1px;
}
h1 {
  font-weight: 800;
  font-size: clamp(45px, 6.7cqi, 6.7cqi);
}
h2 {
  font-weight: 800;
  font-size: clamp(35px, 7cqi, 7cqi);
  padding-top: 0 !important;
  margin-bottom: 50px
}
.serif {
  font-family: "lora", serif;
  font-size: clamp(24px, 3cqi, 3cqi);
  padding-top: 5px;
  line-height: 1.2
} /*evtl. ersetzen durch h1 span, oder h2 je nach Tanja */
p, ul li {
  color: var(--texthell);
  font-size: 18px;
  line-height: 1.6;
}
@media (max-width:601px) {
	h1{margin-bottom:0}
}
/* ================== HELPER ================== */
.textcenter {
  text-align: center
}
.textleft {
  text-align: left
}
.containersize {
  container-type: inline-size;
}
.icon_ueberschrift img, svg.icon_ueberschrift {
  width: clamp(230px, 38cqi, 38cqi)
}
.icon_ueberschrift {
  margin-bottom: 5px
}
.mar-top-auto {
  margin-top: auto
}
.grau-rund {
  background-color: var(--hggrau);
  padding: 50px !important;
  border-radius: var(--borderradius);
  margin: 50px auto
}
@media (max-width: 601px) {
.grau-rund {
  padding: 30px !important;
}
}



.hg-anim{ position:relative; overflow:hidden; }
.hg-anim > *{ position:relative; z-index:2; }

.hg-anim .cmd-logo-bg{
  position:absolute;
  inset:-100%;                 
  z-index:1;
  pointer-events:none;
	opacity: 0.7;
  transform: rotate(-20deg);  
  transform-origin: center;

}

.hg-anim .cmd-logo-row{
  position:absolute;
  left:0;
  right:0;
  overflow:hidden;
}

.hg-anim .cmd-logo-track{
  display:flex;
  align-items:center;
  gap:15px;                  
  will-change:transform;
}

.hg-anim .cmd-logo-track img{
  width:150px;                
  height:auto;
  display:block;
}




.liste-center {
  text-align: center;
}
.liste-center ul {
  display: inline-block;
  text-align: left;
  padding-left: 1.2em;
  margin: 0
}
.liste-center li {
  margin: 0;
}
.borderradius img {
  border-radius: var(--borderradius)
}
* {
  -webkit-tap-highlight-color: transparent;
}
*:focus, *:active {
  outline: none !important;
}
button, a, input[type="submit"], input[type="button"] {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* ================== BUTTONS ================== */

.button, .wp-block-button .wp-block-button__link {
  padding: 10px 30px
}
@media (max-width:601px) {
  .button, .wp-block-button .wp-block-button__link {
    padding: 10px 20px
  }
}
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) {
  background-color: var(--turkis);
}
.wp-block-button.is-style-outline a {
  background-color: #FFFFFF;
  border: 1px solid var(--turkis)
}
a.wp-block-button__link span {
  color: #FFFFFF
}
.wp-block-button.is-style-outline span {
  color: var(--turkis)
}
.site-footer a, site a {
  text-decoration: underline
}
.wp-block-button__link {
  display: inline-grid;
  overflow: hidden; /* Wichtig für die Animation */
  /* Weitere Stile für deinen Button */
}
/* Stil für das dynamisch erzeugte Span-Element, falls nötig */
.wp-block-button__link span {
  display: block; /* Damit es die volle Breite einnimmt und sich gut bewegt */
}

.open-jameda a{text-decoration: none!important}
/* ================== LAYOUT ================== */

.site {

}
html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
body{opacity: 0}


.site, #page {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
	  overflow-x: hidden
}
.section {
  padding: 70px 0;
}
@media (max-width:768px) {
  .section {
 	 padding: 50px 0;
	}
}
@media (min-width:600px) {

  .schmal {
    width: 80%;
    margin: auto;
    max-width: 100%
  }
  .hero .schmal {
    width: 90%
  }
  .section.top-halb {
    padding-top: 50px
  }
}
.wp-block-separator {
  color: var(--hggrau)
}
@media (max-width:768px) {
  .site-content {
    padding: 20px !important
  }
}
@media (min-width:1024px) {
   .section {
    padding: 100px 0
  }
}

/* ================== HEADER & NAVI  ==	================ */
.main-navigation .main-nav ul li a {
  line-height: 1.9;
  text-transform: uppercase;
  padding: 0 15px;
  color: var(--textdunkel)
}
.header-termin {
  padding: 0 0 0 15px
}
.header-termin a {
  color: #FFFFFF !important;
  background-color: var(--turkis);
  border-radius: 50px;
  text-decoration: none!important
}
.slideout-menu a {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 10px
}
@media (max-width:768px) {
	.slideout-menu a {
		  font-size: 25px;
	}
}

.main-nav .menu:hover > li:not(.header-termin) > a {
  opacity: 0.5;
  transition: opacity .25s ease-in-out;
}
.main-nav .menu > li > a:hover {
  opacity: 1 !important;
}
.main-nav .sub-menu a {
  opacity: 1 !important;
}
.current-menu-item > a, .current-menu-ancestor > a {
  text-decoration: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}
.main-navigation ul ul {
  width: 250px;
  padding: 20px 0;
  background-color: #FFFFFF;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  border-radius: var(--borderradius)
}
.slideout-navigation.main-navigation .main-nav ul li a .dropdown-menu-toggle .gp-icon svg{fill:#FFFFFF}

/* ================== STARTSEITE ================== */
	/* ================== HERO ================== */
	.hero {padding-top:10px}
	@media (min-width:601px) {
	  .hero {
	  	padding-top: 50px
	}
	}
	/* ================== GRID ALLGEMEIN ================== */
	@media (max-width:601px) {
	  .bilder-grid, .hero-img {
		margin-top: 0!important
	  }
	}
	.bilder-grid {
	  display: grid;
	  max-width: 100%;
	  margin: 80px auto 0;
	  min-height: 500px;
	  gap: var(--gap);
	  grid-template-columns: 1fr;
	  grid-template-rows: auto;
	}
	.bilder-grid figure {
	  background-color: #e0e0e0;
	  border-radius: var(--borderradius);
	  overflow: hidden;
	  width: 100%;
	  height: 100%;
	  display: none;
	  align-items: center;
	  justify-content: center;
	  margin: 0;
	}
	.bilder-grid figure img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  display: block;
	}
	/* ================== GRID STARTSEITE ================== */
	
	/* Mobile: rechtes Bild groß anzeigen statt mittigem */
.home .bilder-grid figure {
  display: none;
}

.home .bilder-grid figure:nth-child(4) {
  display: flex;
  grid-column: 1;
  grid-row: 1;
}
	@media (min-width:601px) {
	  .home .bilder-grid {
		grid-template-columns: 1fr 2fr;
		grid-template-rows: 1fr 1fr;
	  }
	  .home .bilder-grid figure {
		display: none;
	  }
	  .home .bilder-grid figure:nth-child(1), .home .bilder-grid figure:nth-child(2), .home .bilder-grid figure:nth-child(3) {
		display: flex;
		min-height: 200px;
	  }
	  .home .bilder-grid figure:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	  }
	  .home .bilder-grid figure:nth-child(2) {
		grid-column: 1;
		grid-row: 2;
	  }
	  .home .bilder-grid figure:nth-child(3) {
		grid-column: 2;
		grid-row: 1/3;
	  }
	}
	@media (min-width:1025px) {
	  .home .bilder-grid {
		grid-template-columns: 1fr 2fr 1fr;
		grid-template-rows: 1fr 1fr;
	  }
	  .home .bilder-grid figure:nth-child(4) {
		display: flex;
		grid-column: 3;
		grid-row: 1/3;
	  }
	}


/* ================== HERO BILD UNTERSEITEN ================== */
.hero-img{margin-top:80px;width:100%;height:500px!important;position:relative;}
.hero-mask{width:100%;height:100%;overflow:hidden;border-radius:var(--borderradius);}
.hero-img figure{width:100%;height:100%!important;margin:0;padding:0;}
.hero-img img{width:100%;height:110%!important;object-fit:cover;object-position:center center;display:block!important;max-width:none!important;will-change:transform;}

@media (max-width:600px) {
	.mobile-links img{object-position: 63% center;}
	.mobile-rechts img{object-position: 30% center;}

}

/* ================== INTRO & KACHELN / USPS ================== */
.intro .icon_ueberschrift img {
  width: clamp(160px, 27cqi, 240px)
}
.kacheln {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  width: 100%;
  max-width: 600px;
  margin: auto
}
.kachel {
  background-color: var(--hggrau);
  border-radius: var(--borderradius);
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.kachel p {
  margin: auto 0 0 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 600
}
a.kachel {
  background-color: #FFFFFF;
  border: 4px solid var(--hggrau);
}
a.kachel:hover {
  background-color: var(--turkis);
  border-color: var(--turkis);
  cursor: pointer
}
a.kachel:hover svg path {
  fill: #FFFFFF !important
}
a.kachel:hover p {
  color: #FFFFFF
}
a.kachel p {
  text-decoration: underline;
  text-decoration-color: currentColor;
}
@media (max-width: 500px) {
  .kacheln {
    /* Wenn die Bildschirmbreite 500px oder weniger ist,
			   werden alle Elemente in einer einzigen Spalte angezeigt. */
    grid-template-columns: 1fr;
    /* Die Zeilen passen sich automatisch an den Inhalt an */
    grid-template-rows: auto;
  }
  .kachel {
    min-height: 230px
  }
  .kachel p {
    font-size: 20px
  }
}
/* ================== KACHELN / GANZHEITLICHE BEHANDLUNG / DISZIPLINEN  ================== */
.section.ganzheitlich .kacheln {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.section.ganzheitlich .disziplinen_wrapper {
  display: flex;
  gap: var(--gap)
}
.section.ganzheitlich .kachel {
  min-width: 295px;
  max-width: 295px;
  flex-shrink: 0;
}
#scrubber {
  display: block;
  position: relative;
  width: 100%;
  height: 3px;
  background-color: #efefef;
  margin: 40px auto 0;
  overflow: hidden;
}
#handle {
  display: block;
  position: relative;
  width: 100px;
  height: 100%;
  background-color: var(--turkis);
}
#scrubber, #handle {
  border-radius: 20px
}
/* ================== 100% KUNDENBEWERTUNGEN  ================== */
.hundert {
  height: auto;
  max-width: 100%
}
.icon_ueberschrift .st1 {
  -webkit-filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.1));
}
.bewertungen {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: auto;
  max-width: 100%
}
.bewertungen .kachel {
  min-width: 300px
}
.bewertungen .social-logo {
  margin-bottom: 120px
}
.bewertungen .sterne {
  margin-bottom: 20px
}
.bewertungen p {
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  color: var(--textdunkel);
  margin-top: inherit
}
/* ================== SPEZIALISTIN STANCHEV ================== */
.box-stanchev {
  background-color: var(--hggrau);
  border-radius: var(--borderradius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 30px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  aspect-ratio: 2/1;
}
.box-stanchev .text-spalte {
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.box-stanchev .text-spalte p {
  text-align: left;
}
.box-stanchev .bild-spalte {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.box-stanchev .parallax-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
@media (max-width: 960px) {
  .box-stanchev {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    min-height: auto;
    aspect-ratio: auto;
  }
  .box-stanchev .bild-spalte {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }
  .box-stanchev .bild-spalte figure img {
    max-height: 400px;
    width: auto
  }
  .box-stanchev .text-spalte {
    grid-column: 1;
    grid-row: 2;
  }
}
/* ================== ACCORDION  AKORDEON================== */
.accordion {
  margin-top: 80px
}
.accordion h2 {
  font-size: clamp(20px, 3cqi, 3cqi);
  margin-bottom: 0;
}
.accordion p {
  margin-bottom: 0
}
.accordion ul {
  margin: 0 0 0 20px
}
.accordion-item {
  background: var(--hggrau);
  padding: 0;
  margin-bottom: 15px;
  clip-path: inset(0 round 50px);
}
.accordion-header {
  container-type: inline-size;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 20px 50px;
  position: relative;
  z-index: 2;
}
.accordion-content {
  background: transparent;
  overflow: hidden;
  transform-origin: top;
}
.accordion-content-inner {
  padding: 40px 60px 60px;
  border-top: 2px solid #F2F2F2
}
@media (max-width: 601px) {
 .accordion-content-inner {
  	padding: 40px 30px 30px;
}
}

.accordion-item.open .accordion-content {
  overflow: visible;
}
.accordion-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  position: relative;
  background-color: var(--turkis);
  border-radius: 50px
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 1.5px;
  background: #FFFFFF;
  border-radius: 5px;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
@media (max-width: 601px) {
  .accordion-header {
    padding: 16px 10px 16px 30px;
  }
}

/* ================== SPRECHZEITEN ================== */
@media (min-width: 1024px) {
  .sprechzeiten {
    display: flex;
    gap: var(--gap)
  }
  .sprechzeiten > div {
    flex: 1
  }
}
.sprechzeiten .grau-rund, .cmd-bo.grau-rund {
  margin: calc(var(--gap)/2) 0
}
/* ================== TABELLE ================== */
.wp-block-table table {
  table-layout: auto !important;
  width: auto !important;
  border-collapse: collapse !important;
  border: none !important
}
.wp-block-table td, .wp-block-table th {
  padding: 4px 12px;
  white-space: nowrap;
  border: none !important;
  padding-left: 0
}
#footer-widgets td, #footer-widgets th {
  color: #FFFFFF;
}
/* ================== KONTAKT ================== */
.karte {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
@media (min-width: 601px) {
	.karte {
 		 margin-top: 80px;
	}
}
.tooltip-follow {
  position: fixed;
  background: var(--turkis);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 9999;
}
/* ================== FOOTER ================== */
.site-footer {
  background-color: var(--hgschwarz);
  background-image: url(/wp-content/uploads/2025/07/cmd-mainz-footer.svg);
  background-repeat: no-repeat;
}
.footer-widgets-container {
  padding: 60px 40px
}
.site-footer p, .site-footer a {
  color: #FFFFFF;
  font-size: 16px
}
.footer-widgets .widget {
    margin-bottom: 15px;
}
.site-footer .widget:first-child p {
  font-weight: 700
}
.site-info {
  border-top: 1px solid #333333
}
.site-info p {
  margin-bottom: 0
}
.site-info p, .site-info a {
  color: #777777;
  text-decoration: none
}
.site-info a:not(last-child) {
  margin-right: 15px
}
@media (min-width: 601px) {
  .site-info .copyright-bar {
    display: flex;
    width: 100%
  }
  .site-info div {
    margin-left: auto
  }
}

/* ================== DATENSCHUTZ & IMPRESSUM ================== */

.impr hr{margin:60px auto}

/* ================== MOBILE OPT. ================== */
@media (max-width: 600px) {
  .wp-block-spacer {
    height: 15px !important
  }
  p, .wp-block-buttons {
    margin-bottom: 40px
  }
}