/*
Theme Name: Mantix 3.2
Theme URI:  https://example.com/mantix-simple
Author: Tilmann Klein
Description: A lightweight WordPress theme
Version: 1.1.1
License: GNU GPL v2 or later
Text Domain: mantix-simple
*/

/* 1. Google Font laden – Inter kommt der Original‑Ästhetik sehr nahe */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
*{

}
.hide{
	display: none !important;
}
body {
    margin: 0;
    padding-top: 0px; /* 80px Raum für fixen Header */
    font-family: 'Inter', sans-serif; /* neue Schriftfamilie */
    color: #3e3e3e;
    line-height: 140%;
   
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 249, 250, 0.0);
        background-color: rgb(44 112 161 / 38%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 0px solid rgba(204, 204, 204, 0.5);
    z-index: 1000;

}
#main-page-container{
  min-height: 900px;
}
.nav-container {
    max-width: 99960px;
    margin: 0 auto;
	  padding: 0 80px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{

    top: 0px !important;
    position: relative !important;
}
.logo img {
    max-height: 40px;
    height: auto;
    width: auto;
}

/* Links und Navigation */
a,
.nav-menu a {
    color: #2071a2;
    text-decoration: none;
    font-weight: 500;
}
a:hover,
.nav-menu a:hover {
    text-decoration: underline;
}

/* Überschriften in Inter, kräftig */
h1, h2, h3, h4, h5, h6 {
    color: #2071a2;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding-bottom: 40px;
}
.image-caption-block{
  
}
.image-caption-block figure {
  border: 2px solid #1b628e;
  position: relative;
  padding: 10px 4%;
  background: fff;
  min-height: 400px;
  display: flex;
  margin-bottom: 10px;;
  flex-direction: column;
  justify-content: space-between; /* Pushes figcaption to the bottom */
}
.image-caption-block figure {
  border: 0px solid #1b628e;
    position: relative;
    padding: 20px 4%;
        background: #dfecf8;
    min-height: 400px;
    display: flex
;
    margin-bottom: 10px;
    flex-direction: column;
    justify-content: space-between;/
}
.image-caption-block figure {
  border: 0px solid #1b628e;
    position: relative;
    padding: 20px 4%;
        background: #dfecf8;
    min-height: 400px;
    display: flex;
 border-radius: 6px;
    margin-bottom: 10px;
    flex-direction: column;
    justify-content: space-between;/
}

.image-caption-block figcaption {
  background: #1b628e;
  min-height: 180px;
  padding: 10px;
  font-size: 12px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  color: white;
}
.image-caption-block figcaption {
background: #ebedee00;
    min-height: 180px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    color: #336281;
}
.image-caption-block figcaption {
background: #1471ad;
    min-height: 180px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    margin: 0;
    border-radius: 6px;
    box-sizing: border-box;
    color: #ffffff;
}
/* Hero-Bereich */
.hero {
    background-color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Button-Hintergründe */
.button-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2071a2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: #f9cf05;
    color: #6f4f00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.jumbo-image>*{
      border-radius: 0px;
    overflow: hidden;
    background: #dfecf8;
    padding: 50px;
}
.startpage-hl{
color: #1471ad;
    /* position: relative; */
    top: -10px;
    /* padding: 0px 12px; */
    /* text-align: right; */
    background: #ffffff;
    border: 0px solid gray;
}


.button-primary:hover {
   
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer {
    background-color: #f8f9fa;
    padding: 0 40px !important;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    font-family: 'Inter', sans-serif;
}

/* Ende style.css */
.boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 960px;

  }
  
  .box {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;

  }
  
  .box img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .box h3 {
    margin: 16px;
    font-size: 1.25rem;
    color: #2071a2;
  }
  
  .box p {
    margin: 0 16px 16px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .site-header {
    background-size: cover;
    background-position: 50% center;
    height: 100vh;
    max-width: 100% !important;
    position: relative;
    top: 0;
 
  }
.container{
		 padding: 50px 50px 50px 20px;	
}
/* Gallery Styles */
.gallery-container {

  position: relative;
  width: 100%;
  height: calc(100dvh - 0px);
  overflow: hidden;
}
.site-header {
  position: relative;
  width: 100dvw;
  height: calc(100dvh - 120px);
  height: 100dvh;
	min-height: 600px;
  overflow: hidden;
	border: 0px solid lime;
	  display: flex;
  align-items: center;      /* vertikale Zentrierung */
  justify-content: center;  /* horizontale Zentrierung, optional */
}
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
  opacity: .5;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 9999;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.5);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.gallery-nav svg {
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* ------------------------------
   Header-Styling
------------------------------ */
/* Hintergrund-Verlauf für .site-header */
.site-header {


}



/* ------------------------------
   SVG-Wellenanimation (Hero-Trenner)
------------------------------ */
	:root {
  --wave-speed: 15s;
}

.parallax > use:nth-child(1) {
  animation-delay: calc(var(--wave-speed) * -0.4);
  animation-duration: var(--wave-speed);
}
.parallax > use:nth-child(2) {
  animation-delay: calc(var(--wave-speed) * -0.6);
  animation-duration: calc(var(--wave-speed) * 1.4);
}
.parallax > use:nth-child(3) {
  animation-delay: calc(var(--wave-speed) * -0.8);
  animation-duration: calc(var(--wave-speed) * 1.8);
}
.parallax > use:nth-child(4) {
  animation-delay: calc(var(--wave-speed) * -1);
  animation-duration: calc(var(--wave-speed) * 2.5);
}
	
	
	
	
.waves {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 200px;
  min-height: 100px;
  max-height: 150px;
  margin-bottom: -7px; /* Safari-Fix */
  border: 0 solid red;
}
.parallax > use {
  animation: move-forever 300s cubic-bezier(.55,.5,.45,.5) infinite;
}


@keyframes move-forever {
  0%   { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* Mobile-Fallback */
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}

/* ------------------------------
   Hero-Overlay (Textbox mit CTA)
------------------------------ */
.hero-overlay>div {

    background-color: rgb(44 112 161 / 38%);
    backdrop-filter: blur(10px);
    margin-right: 50px;

}
.hero-overlay {
  position: relative !important;
    min-width: 390px;
  max-width: 600px;
 border: 0px solid yellow;

 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
 
  border-radius: 10px;
  /*backdrop-filter: blur(8px);*/
  z-index: 50;
}
@media (max-width: 3200px) {
  .hero-overlay {


  }
  .hero-title {
    font-size: 3rem !important;
  }
}
/* Mobile-Fallback */
@media (max-width: 768px) {
 .hero-overlay {
	  left: auto; 
    width: 100%;

  }
  .hero-title {
    font-size: 2rem !important;
  }
}
/* Überschrift und Unterzeile */
.hero-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
  font-size: 2.5rem;
  max-width: 48rem;
}
.hero-subtitle {
  margin: 20px 0;
  max-width: 36rem;
  text-align: center;
  font-size: 1.125rem;
  color: #e5e7eb;
  line-height: 1.4;
}

/* CTA-Buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 36rem;
  align-items: center;
}
.btn {

	  display: block;

  gap: 0.5rem;
  min-width: 160px !important;

  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none !important;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
#page-id-374 h2{
  color: #fff !important;
}
.wpforms-field-container{
background: #002f48 !important;
background: #1471ad !important;
border-radius: 10px !important;
padding: 0px !important;
}
.wpforms-field-container input[type="email"],
.wpforms-field-container input[type="text"],
.wpforms-field-container textarea {
    color: #fff !important;
    border: 1px solid #ffffff !important;
    background: #1471ad !important;

}




.wpforms-field-container label{
  color: #fff !important;
}
.btn-primary,
#wpforms-submit-483
{
  min-width: 120px;
padding: 12px 20px;
  color: #ffffff;
  transition: transform 0.3s ease;
  background: #f9cf05;
    color: #6f4f00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 0px !important;
    border-radius: 6px;
    text-align: center;
}
.btn-special{
  background: #002f48;
    color: #f9cf05;
}

.btn-primary:hover,
#wpforms-submit-483:hover {
 background: #f9cf05;

  transform: scale(1.1); /* 1.0 = 100%, 1.2 = 120% */
}

.btn-special:hover{
  background: #002f48;
    color: #ffd300;
}
.btn-secondary {
  background-color: #ffffff;
  color: #a20691;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

/* Pfeil-/Link-Icons */
.icon-arrow-right,
.icon-external-link {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.btn-primary:hover .icon-arrow-right,
.btn-secondary:hover .icon-external-link {
  transform: translateX(4px) scale(1.05);
}

/* Responsive Titel & CTA */
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 4rem; }
}
/*550*/
	@media (min-width: 1200px) {
		.container{
		 padding: 50px 20px !important;	
		}
	

}