body {
  color: #555555;
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
		--gradient-text-blue1: linear-gradient(90deg, #4594d1 20.17%, #003c82 101.68%);
		--gradient-text-blue: linear-gradient(90deg, #F97C73 20.17%, #003c82 101.68%);

		--touvia-brand-color-main: hsl(14, 79%, 67%);
		--touvia-brand-color-main-light: hsl(14, 84%, 90%);
		--touvia-brand-color-main-extra-light: hsla(19.1, 61.1%, 92.9%, 0.59);
		--touvia-brand-color-main-dark: hsl(14, 60%, 55%);	
}

table { /* zB touvia.inSITE Tabelle*/
	font-size: 1em;
}

.wp-block-code code {
  font-size: 1.4em;
}

/* Teaser auf der Startseite */
.startpage-headline h1 {
	font-size: 1.8em;
		font-weight: 500;
}

.fa-external-link-square::before {
  margin-left: 4px;
}

a[href^="http"]:not([href*="vianovis.de"])::after {
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f08e";
  margin-left: 4px;
  font-size: 0.8em;
}

#touvia-header video {
  width: 100% !important;
}

#touvia-header h3 {
		display: inline;
		border-radius: 8px;	
		line-height: 1.5em;
		font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
		box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
		box-decoration-break: clone;
		background-color: #bc2a83;
		color: white;
}
		

#touvia-header .top-line h3 {
		font-size: 1.1em;
		padding: 10px 20px;
		font-weight: 400;
}


#touvia-header .bottom-line h3 {
		padding: 6px 24px;
		font-weight: 500;
		font-size: 1.6em;
}

.startpage-teaser p{
		font-size: 1.25em;
		line-height: 1.75em;
}

@media only screen and (min-width: 1700px) {

		#touvia-header .top-line h3 {
				font-size: 1.5em;
		}

		#touvia-header .bottom-line h3 {
				font-size: 2.5em;
		}

}

@media only screen and (max-width: 767px) {

		h4 {
				font-size: 1.4em;
		}
		
		.startpage-headline h1 {
				hyphens: auto;
		}

	#header-headline {
		padding: 5px 0 !important;
	}

	.startpage-teaser p{
		font-size: 1.1em;
		line-height: 1.6em;
	}

}

#main {
  background-color: #f9f9f9;
}

/* Hauptmenü */

.main-nav ul a,
.main-nav ul li {
  font-size: 20px;
}

/* Sub-Menü Desktop */

.main-nav ul ul a {
  font-size: 17px;
}

/* Hauptmenü mobile - Hamburger */

.light .hamburger-inner,
.light .hamburger-inner::before,
.light .hamburger-inner::after {
  background-color: #222;
}

.hamburger-box {
  top: 35%;
  transform: scale(1.6);
}

/* Hauptmenü mobile - ENDE */

body #site-header.transparent {
  background-color: white !important;
}

.inline-header #site-header.main .nav-holder {
  /* padding-top: 30px !important; */
}

.inline-header #site-header.main .nav-holder, .inline-header #site-header.main .main-nav ul > li, .inline-header #site-header.main .main-nav ul > li > a, #site-header.main .main-nav #menu-main-menu > li > span {
    line-height: 200px;
}

.inline-header #site-header.main .nav-holder ul.sub-menu {
  margin-top: -30px;
}

/* Block-Überschriften für mobile größer */

@media only screen and (max-width: 768px) {
  h2 {
    font-size: 3.2rem;
  }
}

.touvia-info-box {
  color: black;
  padding: 20px 20px 30px 30px;
  background-color: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.touvia-info-box:hover {
  transform: scale(1.1);
}

.touvia-info-box .widget-title {
  font-size: 1.5em;
}

.touvia-info-box p {
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.5em;
  padding-bottom: 0px;
}

.sow-features-feature {
  background-color: white;
  border-radius: 8px;
  padding: 0 40px 20px 20px !important;
  transition: transform 0.3s ease;
}

.so-widget-sow-features .textwidget p {
  font-size: 1em;
  opacity: 1;
  line-height: 1.5em;
  hyphens: auto;
}

/* zB Landing Page Städte */
.sow-icon-image~ {
		border-radius: 12px;
		height: 180px !important;
		background-size: cover !important;
		margin-top: 50px;
}

/* HACK: Unsere Produktbezeichnungen sollen nicht umgebrochen werden, deshalb machen wir sie fett und dann hier hyphens: none */

.so-widget-sow-features .textwidget p strong {
  hyphens: none;
}

.kompetenzen-info-box .sow-features-feature {
  background-color: transparent;
  border-radius: 8px;
  padding: 0 40px 20px 20px !important;
}

.kompetenzen-info-box h4,
.kompetenzen-info-box h5,
.kompetenzen-info-box p {
  text-align: left;
  color: #222;
}

.kompetenzen-info-box h4,
.kompetenzen-info-box h5{
		font-weight: 700;
}

.kompetenzen-info-box p {
  font-size: 0.9em !important;
  line-height: 1.4em;
  opacity: 1 !important;
}

@media only screen and (max-width: 767px) {
		
	.kompetenzen-info-box .sow-features-feature {
		padding: 0 !important;
	}

	.kompetenzen-info-box p {
		font-size: 1.1em !important;
		text-align: center;
	}

}

h3 {
  font-size: 1.6em;
}

.entry-content a, .entry-content a:visited {
  color: #003c82;
  text-decoration: underline;
}

.testimonial-container{
		background-color:var(--touvia-brand-color-main-extra-light) !important;

}

h1.sow-headline {
  font-size: 2.4em;
  line-height: 1.2em !important;
}

.testimonial h3.sow-headline {
		font-style: italic !important;
		font-weight: 400 !important;
		font-size: 1.4em;
}

@media only screen and (max-width: 767px) {
		
		.testimonial h3.sow-headline {
				font-size: 1.2em;
		}

}

.testimonial .testimonial-text p {
  font-weight: 400;
  font-style: italic;
  text-align: left;
  line-height: 1.4em;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.25em;
}

.testimonials img {
  width: 170px;
}

p {
  font-size: 1.0em;
  line-height: 1.7em;
}

.so-widget-image,
.so-panel img{
  border-radius: 28px;
}

.text-background-clip {
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: var(--gradient-text-blue);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hintergrundfarbe für das erste Element */

.kompetenzen-info-box .sow-features-feature:nth-child(1) {
  /* background-color: rgba(255, 221, 193, 0.5); Hellorange mit 50% Alpha */
}

/* Hintergrundfarbe für das zweite Element */

.kompetenzen-info-box .sow-features-feature:nth-child(2) {
  /* background-color: rgba(193, 225, 255, 0.5);  Hellblau mit 50% Alpha */
}

/* Hintergrundfarbe für das dritte Element */

.kompetenzen-info-box .sow-features-feature:nth-child(3) {
  /* background-color: rgba(209, 255, 193, 0.5);  Hellgrün mit 50% Alpha */
}

/* Hintergrundfarbe für das vierte Element */

.kompetenzen-info-box .sow-features-feature:nth-child(4) {
  /* background-color: rgba(255, 193, 225, 0.5);  Hellrosa mit 50% Alpha */
}

.content-area li {
  /* Listen in den Feature-Boxen */
  font-size: 1em;
}

.ow-pt-feature {
  text-align: left !important;
}

.ow-pt-title {
  min-height: 140px;
  padding: 40px 20px !important;
}

.ow-button-base .sowb-button,
.wpforms-form button[type="submit"] {
		position: relative;
		padding: 12px 24px !important;
		font-size: 16px !important;
		background-color: var(--touvia-brand-color-main) !important;
		border: none !important;
		border-radius: 30px !important;
		z-index: 1;
		transition: background-color 0.1s ease;
}
   
.ow-button-base .sowb-button:before,
.wpforms-form button[type="submit"]:before {
		content: '';
		position: absolute;
		top: 0;
		left: 50%;
		width: 0;
		height: 100%;
		background-color: var(--touvia-brand-color-main-dark);
		border-radius: 50px;
		transform: translateX(-50%);
		z-index: -1;
		transition: width 0.15s ease 0.05s;
}
   
.ow-button-base .sowb-button:hover,
.wpforms-form button[type="submit"]:hover {
		background-color: white;
}
   
.ow-button-base .sowb-button:hover:before,
.wpforms-form button[type="submit"]:hover:before {
		width: 100%;
}

/* Preistabelle */

#preistabelle .ow-pt-title{
	border-top-right-radius: 16px;
	border-top-left-radius: 16px;
}
#preistabelle .ow-pt-button{
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
}

#row-preistabelle{
	background-color: var(--touvia-brand-color-main-extra-light);
}

/* Buttons in der Preistabelle */
a.ow-pt-link {
  background: #ed8768 !important;
  border-radius: 100px !important;
  box-shadow: 0px 2px 4px 0px #00000020 !important;
}

.so-widget-sow-price-table .ow-pt-title {
  background: var(--touvia-brand-color-main) !important;
  font-weight: bold;
  height: 160px !important;
}

.so-widget-sow-price-table .ow-pt-subtitle {
  font-weight: 500 !important;
  font-size: .9em !important;
  opacity: .6;
  margin-top: 8px !important;
  line-height: 1.2em;
}

.so-widget-sow-price-table .ow-pt-details {
  background: var(--touvia-brand-color-main-dark) !important;
}

.so-widget-sow-price-table .ow-pt-feature .sow-feature-icon {
  vertical-align: top !important;
}

/* Preis auf Anfrage */

.ow-pt-last .ow-pt-price {
  font-size: 1.5em !important;
}

.touvia-color-btn {
  color: var(--touvia-brand-color-main) !important;
}

/* KONTAKT FORMULAR */

#contact-form-title .widget-title,
#newsletter-form-title .widget-title {
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background: var(--gradient-text-blue);
  background-clip: text;
  font-size: 1.8em;
}

#contact-form-title .widget-title,
#contact-form-title .textwidget {
  text-align: center;
}

.wpforms-field-gdpr-checkbox {
  padding: 5px 0 !important;
}

.contact-button {
  background: var(--touvia-brand-color-main) !important;
}

/* Sternchen in Kontakt-Formular größer */

div.wpforms-container-full .wpforms-required-label,
.wp-core-ui div.wpforms-container-full .wpforms-required-label {
  font-weight: 400;
  font-size: 18px !important;
  color: var(--touvia-brand-color-main) !important;
  line-height: 0;
  text-transform: full-width;
  margin-left: -4px;
}

.features-panel-grid {
  align-items: stretch !important;
}

#touvia-features {
  padding-top: 40px !important;
}

#touvia-features .panel-grid {
  padding-top: 0px !important;
}

.touvia-features-column {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 40px;
  height: calc(100% - 50px) !important;
}

.touvia-features-column .textwidget {
  hyphens: auto;
}

.touvia-features-column .so-panel.widget.widget_text {
  padding: 0px 16px;
}

.touvia-features-column h3 {
  font-size: 1.1em;
}

.touvia-features-column img {
  width: 100%;
  height: 100px;
  /* Optional: Höhe des Containers */
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: -35px;
}

.touvia-features-column_180 img {
  height: 180px !important;
}

.touvia-features-column_200 img {
  height: 200px !important;
}

.feature-video-container {
  height: 100px;
  /* Optional: Höhe des Containers */
  overflow: hidden;
  /* Um sicherzustellen, dass nichts übersteht */
  border-radius: 10px;
}

.feature-video-container video {
  width: 100%;
  /* Nimmt immer die Breite des Containers ein */
  height: 100%;
  /* Optional, damit es sich am Container orientiert */
  object-fit: cover;
  /* Ähnlich wie background-size: cover */
}

/* FOOTER */

#footer .main {
  padding: 50px 0 30px !important;
}

#footer .main .widget-box {
  margin-bottom: 10px !important;
}

#footer .main .textwidget p {
  padding-bottom: 0px;
}

#footer .main a,
.textwidget p a {
  text-decoration: underline dotted;
}

/* COOKIE CONSENT */

#cookie-consent-block {
  border-radius: 12px;
  padding-bottom: 12px;
}

#cookie-consent-block p {
  font-size: 1.6rem;
  padding: 10px 0px;
  color: #444;
}

#cookie-consent-block p span {
  font-size: 1.5rem;
}

#cookie-consent-block button {
  font-size: 1.2rem;
  border: none;
}

#cookie-consent-block button.ilcc-cookie-consent-close,
#cookie-consent-block .ilcc-cookie-consent-settings-save button {
  background-color: var(--touvia-brand-color-main);
}

#cookie-consent-block .ilcc-cookie-consent-settings {
  padding: 0 0 0 16px;
  margin-bottom: 0rem;
  border: none;
}

#cookie-consent-block button.ilcc-cookie-consent-necessary {
  color: #666;
  background-color: #eee;
}

body.ilcc-style-overlay .ilcc-cookie-consent-notice {
  max-width: 80rem;
}

.ilcc-cookie-consent-notice-content {
  max-width: 80rem;
}

/* Beiträge / Posts auf Einzelseite mit vianovis Template, siehe single-custom.php */

.entry-title {
  margin-bottom: 20px;
}

.post-template-single-custom article.content-main img.post-thumb {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

.post-template-single-custom .wp-block-image {
  /* Bilder in Artikeln */
  padding: 6px 0px 24px 0px;
}

.post-template-single-custom .wp-block-image:not(.no-rounded-corners) img,
.post-template-single-custom .wp-block-media-text__media img,
.post-template-single-custom .wp-block-media-text__media video {
  /* Bilder in Artikeln */
  border-radius: 16px;
}

/* Artikel mit Text links und Bild / Video rechts */
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
}

.post-template-single-custom .wp-block-video {
  margin-bottom: 24px;
}

.post-template-single-custom .wp-block-video video {
  border-radius: 10px;
  border: 1px solid #ddd;
}

.post-template-single-custom .entry-content p a::after,
.post-template-single-custom cite a::after {
  content: "\f14c";
  /* Unicode für das Icon fa-external-link-square */
  font-family: "FontAwesome";
  /* Font Awesome */
  font-style: normal;
  font-weight: 900;
  /* Wichtig für das Icon */
  margin-left: 0.5em;
  /* Abstand zwischen Text und Icon */
  font-size: 0.9em;
  /* Größe des Icons anpassen */
}

/* Testimonials auf der Beitragsseite */

.post-template-single-custom .wp-block-quote {
  margin-bottom: 20px;
  margin-left: 0;
  border: none;
}

.post-template-single-custom .wp-block-quote p {
  padding-left: 0;
  font-family: Raleway;
  font-weight: 400;
  font-style: italic;
  text-align: left;
  line-height: 1.4em;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.25em;
}

/* Hervorhebung von Zeilen */
.row_main_extra_light {
		background-color: var(--touvia-brand-color-main-extra-light);
}

/* Bild- und Video-Unterschriften */

.wp-block-image :where(figcaption),
.wp-block-video :where(figcaption) {
  font-style: italic;
}

/* Buttons auf der Beitragsseite */

.wp-block-button__link.wp-element-button {
  margin-top: 10px;
  box-sizing: border-box;
  border-radius: 50px;
  background: var(--touvia-brand-color-main);
  color: #ffffff !important;
  font-size: 0.8em !important;
  text-shadow: unset;
  max-width: 100%;
  padding: 0.5em 2em;
  font-weight: 700;
  text-transform: uppercase;
		text-decoration:none;
}


/* Aktuelles & Projekte => Overlay für die Wordpress-Artikel, damit diese klickbar werden */ 
/* Siehe wp-content\themes\themetrust-trade\templates\content-post-small.php */ 

.excerpt-wrapper {
    position: relative;
}

.excerpt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Aktuelles & Projekte => Die Beiträge-Übersicht als Masonry darstellen */

.masonry-container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-sizer,
.masonry-item {
    width: 32%;
}

.gutter-sizer {
    width: 2%;
}

.masonry-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 25px !important;
    box-sizing: border-box;
		transition: transform 0.3s ease;
}

.masonry-item:hover {
		transform: scale(1.02);
		transition: transform 0.3s ease;
}

.masonry-item,
.masonry-item .inside {
  border-radius: 16px;
		padding: 0 !important;
}

.masonry-item .wp-post-image {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
		border-bottom: 1px solid #ddd;
}

.masonry-item .content{
	padding: 15px;
}

.masonry-item h3 {
	font-size: 1.3em;
	font-weight: 600;
}

.masonry-item h3 a,
.masonry-item h3 a:hover{
  color: #555 !important;
		opacity: 1 !important;
		text-decoration: none;
}

.masonry-item p {
  font-size: 1.0em;
}

.masonry-item .meta,
.masonry-item .meta.bottom {
  display: none;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .grid-sizer, .masonry-item {
        width: 48%;
    }
    .gutter-sizer {
        width: 4%;
    }
}

@media (max-width: 600px) {
    .grid-sizer, .masonry-item {
        width: 100%;
    }
    .gutter-sizer {
        width: 0;
    }
}


/* setzt die rechte Spalte beim Zusammenschieben nach oben */
@media (max-width: 780px) {
	.right_to_top{
flex-direction: column-reverse !important;;
	}
}

/* Masterportal Tabelle */
.mp-article .mp-comparison { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.mp-article .mp-comparison th { background: #bc2a83; color: #fff; padding: 0.8em 1em; text-align: left; font-weight: 600; }
.mp-article .mp-comparison td { padding: 0.7em 1em; border-bottom: 1px solid #e8e8e8; }
.mp-article .mp-comparison tr:nth-child(even) td { background: #f1f2f3; }