* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #222222;
  background-color: #eef2f8;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px, 40px;
    background-color: #ffffff;
border-bottom: 1px solid #eeeeee;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);


}

.menue {
  display: flex;
  flex-direction: row; 
  gap: 8px;
  margin-left: auto;
  padding-right: 8px; 
}

.logo {
  height: 110px;
  width: auto;
}

.site-name {
  font-size: 30px;
background: linear-gradient(to left, #2a4b87, #511773);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;

}

.hauptbereich {
  display: flex;
  justify-content: space-between;
  gap: 40px;
padding: 20px 40px;
}

.portrait-bereich {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portrait-foto {
  width: 100%;
  max-width: 600px;
  height: auto;
    display: block;
  margin: 0 auto;
}

.Methoden{
  width: 50%;
}

.einzel-portrait {
      width: 100%;
  max-width: 800px;
  height: auto;
    display: block;
  margin: 0 auto;
}

/*altes Menü
.menue-block {
  display: block;
  background-color: transparent;
  color: #1a5fa8;
  border: 2px solid #1a5fa8;
  border-radius: 0;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  font-size: 15px;
  transition: background-color 0.2s;
}
.menue-block:hover {
  background-color: #154d8a;
}
  */

.menue-block {
  display: block;
  background-color: transparent;
  color: #000000;
  border: none;
border-radius: 6px;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
    font-size: 15px;
  transition: background-color 0.2s;
  
}

.menue-block:hover {
  background-color: #f0f4fa;
color: #353064; 
color: linear-gradient(to left, #2a4b87, #511773);
  
}


.p ul {
  list-style-position: inside;
  text-align: center;
  padding-left: 0;
}

.seiteninhalt {
  width: 100%;
  max-width: 1300px;
  line-height: 1.7;
    margin: 0 auto;
}


h1 {
  font-size: 22px;
  background: black;
/*background: linear-gradient(to bottom, #2a4b87, #511773);*/
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;font-weight: 400;
}

h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 400;
}


img {
  max-width: 100%;
  height: auto;
    transition: transform 0.3s ease;

}


img:hover {
  transform: scale(1.03);
}


p {
  margin-bottom: 16px;

  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}


a {
  color: #1a5fa8;
  text-decoration: none;
    position: relative;
}

/*a:hover {
  text-decoration: underline;
  text-decoration: bold;
  
}*/

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
a:hover::after {
  width: 100%;
    text-decoration: underline;
  text-decoration: bold;
}


.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
background-color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  text-align: center;
  padding: 30px 40px;
  margin-top: 60px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #888888;
}

.site-footer a {
  color: #888888;
  text-decoration: none;
}

.site-footer a:hover {
  color: #1a5fa8;
}


.spalten {
  display: flex;
  gap: 100px;
  justify-content: center;
  margin: 20px 0;
  
}
.unfold-liste {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.spalte {
  flex: 1;
    display: flex;
  flex-direction: column;
    
}

.rechteck {
 display: block;
  background-color: transparent;
  color: #1a5fa8;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
    font-size: 15px;
}

.rechteck2 {
  display: block;
  border:  1px solid  rgba(12, 9, 83, var(--opacity, 0.1));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
      font-size: 15px;padding: 10px 20px;
  text-align: center;
   color: rgba(31, 31, 31, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.rechteck2:hover .ueberschriften {
  color: #3d173c;
}


.rechteck2:hover {
  border-color: rgba(53, 48, 100, 0.9);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
  background-color: rgba(104, 76, 129, 0.05);
    color: rgb(0, 0, 0);
}



@media (max-width: 768px) {
  .site-header { flex-wrap: wrap; padding: 16px 20px; }
  .hauptbereich { padding: 60px 20px; }
  .spalten { flex-direction: column; gap: 24px; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hauptbereich {
  animation: fadeIn 0.6s ease;
}

html {
  scroll-behavior: smooth;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
label {
  font-size: 14px;
  font-weight: 500;
}
input, textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #1a5fa8;
}
button {
  background-color: #1a5fa8;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}
button:hover {
  background-color: #154d8a;
}
.unfold {
  border-bottom: 1px solid #eeeeee;
  padding: 16px 0;
}
.unfold summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: flex-start;
}

.unfold summary::-webkit-details-marker {
  display: none;
}
.kein-hover:hover {
  transform: none;
}

.unfold summary::before {
  content: '▸';
  font-size: 14px;
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.unfold[open] summary::before {
  transform: rotate(90deg);
}

.unfold p {
  margin-top: 12px;
  color: #555555;
  font-size: 15px;
}
.unfold-box {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: none;
  padding: 16px 0;
  text-align: left;
  color: rgba(31, 31, 31, 0.8);
}

.menue-block.aktiv {
color: #353064;
  font-weight: 600;
}
.karussell {
  position: relative;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.karussell-bild {
  position: absolute;
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 0px;
  transition: transform 1.6s ease, opacity 0.6s ease, z-index 1.6s ease;
}

.karussell-bild[data-slot="mitte"] {
  transform: translateX(0) translateY(0) scale(1.5);
  opacity: 1;
  z-index: 3;
}

.karussell-bild[data-slot="links"] {
  transform: translateX(-250px) translateY(60px) scale(1.0);
  opacity: 0.6;
  z-index: 1;
}

.karussell-bild[data-slot="rechts"] {
  transform: translateX(250px) translateY(60px) scale(1.0);
  opacity: 0.6;
  z-index: 1;
}