body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #D5B57C;
    overflow-x: auto;
}



/*roter Balken und Weltkarte*/
.header-balken {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    background-color: #9C291E; 
    z-index: 2;
}

.weltkarten-container {
    margin-top: 77px;
    width: 1440px;
    height: 779px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.weltkarten-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*Hilfebutton*/

.hilfe-button {
    position: fixed;
    top: clamp(20px, 3vh, 30px);
    right: clamp(16px, 5vw, 80px);
    width: clamp(28px, 4vw, 40px);
    height: clamp(28px, 4vw, 40px);
    font-size: clamp(16px, 2vw, 24px);
    background-color: #C0995A;
    color: #fff;
    font-family: 'Source Serif Pro';
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    border: none !important;
}


/*Titel mit Box*/
.titel-box {
    position: absolute;
    top: 17px; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1240px;
    height: 135px;
    background-color: #C0995A;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    width: 90%;
    max-width: 1240px;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;

}

.titel-rahmen {
    width: 100%;
    max-width: 1225px;
    height: 122px;
    border: 3px solid #614B3C;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}

.titel-innenrahmen {
    width: 100%;
    max-width: 1206px;
    height: 103px;
    border: 2px solid #614B3C;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.kreis-links,
.kreis-rechts {
    width: clamp(10px, 2vw, 24px);
    aspect-ratio: 1 / 1;
    background-color: #F8EDD9;
    border-radius: 50%;
    margin: 0 clamp(8px, 1.5vw, 16px);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.titel-box h1 {
    margin: 0;
    font-family: 'Source Serif Pro', serif;
    font-size: 71px;
    font-weight: 400;
    font-style: normal;
    color: #F8EDD9;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
    line-height: normal;
    font-size: clamp(2rem, 5vw, 4.5rem);

}

/*Zeitstrahl*/
.zeitstrahl-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 142px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    
}

.zeitstrahl-balken {
    position: relative;
    width: 100%;
    height: 142px;
    border-top: 4px solid #614B3C;
    border-bottom: 4px solid #614B3C;
    background: linear-gradient(
        180deg,
        rgba(97, 75, 60, 0.58) -54.58%,
        rgba(225, 195, 142, 0.58) 41.85%,
        rgba(97, 75, 60, 0.58) 140.14%
    ), #C0995A;
    pointer-events: auto;
}

.strich {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 20px;
    background-color: #614B3C;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.4;
}

.strich.gross { position: absolute;
    top: 50%;
    width: 2px;
    height: 28px;
    background-color: #614B3C;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}
    

.zeitstrahl-linie {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #614B3C;
    transform: translateY(-50%);
    z-index: 1;
}


.jahr-punkt {
    position: absolute;
    left: 11.11%; 
    top: 50%; 
    transform: translateX(-50%);
    z-index: 2;
}

.kreis {
    width: 16px;
    height: 16px;
    background-color: #614B3C;
    border-radius: 50%;
    transform: translateY(-50%); 
}

.jahr {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translate(-50%, -24px); 
    color: #614B3C;
    font-family: 'Source Serif Pro', serif;
    font-size: 19px;
    font-weight: 900;
    white-space: nowrap;
}

/*Postkarten*/
.postkarte {
    position: absolute;
    width: 45px;
    height: 30px;
    border-radius: 1px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 10;
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.2s ease;
    cursor: pointer;
}

.postkarte img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.postkarte:hover {
    transform: scale(1.3) rotate(var(--rotation, 0deg));
    transition: transform 0.2s ease;
    z-index: 6; 
}

/*Reiselinie*/
.reiselinie {
  position: absolute;
  top: 130px;    
  left: 300px;     
  width: 32%;     
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/*Overlay der Postkarten*/
.postkarten-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  display: flex; 
  flex-direction: column;
}

.overlay-inhalt {
  width: 900px;
  height: 600px;
  border-radius: 12px;
  border: 1px solid #614B3C;
  background: radial-gradient(206.58% 206.58% at 50% 50%, #F2DCB3 0%, #E1C38E 51.44%);
  padding: 20px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.innerer-rahmen {
  width: 879px;
  height: 581px;
  border-radius: 6px;
  border: 2px solid #6A5F49;
  flex-shrink: 0;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mittellinie {
  width: 2px;
  height: 504px;
  background: #6A5F49;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/*Textseite*/
.text-links {
  position: absolute;
  top: 46%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;
  padding: 0 52px 0 52px; 

  display: flex;
  flex-direction: column; 
  justify-content: center;

  font-family: 'Handlee', cursive;
  font-size: 18px;
  color: #614B3C;
  box-sizing: border-box;
}

.text-links p {
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.text-links .intro {
  font-weight: 700;
  margin-bottom: 2px;
}

.text-links .resttext {
  font-weight: 400;
}

/*Rechte Seite*/
.postkarten-titelbereich {
  position: absolute;
  top: 40px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.titel-links {
    margin-top: -15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #614B3C;
    font-family: 'Source Serif Pro', serif;
    padding-right: 50px;
}

.titel-links .ort {
  font-size: 40px;
  font-weight: 600;
  height: 50px;
  line-height: normal;
}

.titel-links .jahre {
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  margin-top: -6px;
}

.briefmarke img {
  width: 103px;
  height: 138px;
  object-fit: cover;
  aspect-ratio: 103 / 138;
  flex-shrink: 0;
  display: block;
}

/*Button auf der Postkarte*/
.postkarten-titelbereich {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 32px; 
}

.titel-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #614B3C;
  font-family: 'Source Serif Pro', serif;
}

.rechte-seite {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  padding: 32px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.titel-und-marke {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.titel-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 30px; 
  align-items: center;
}


.ort {
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 40px;
  font-weight: 600;
}

.jahre {
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 24px;
  font-weight: 600;
}

.briefmarke img {
  width: 123px;
  height: 158px;
  object-fit: contain;
}

.button-balken {
  width: 306px;
  height: 65px;
  border-radius: 8px;
  border: 1px solid rgba(97, 75, 60, 0.23);
  background: #F0DEC1;
  box-shadow: 2px 2px 11.1px 0px rgba(0, 0, 0, 0.25);
  
  display: flex;
  align-items: center;
  padding: 0 20px; 
  gap: 12px; 
}

.button-icon {
  position: absolute;  
  height: 115px; 
  width: auto;
  margin-left: -40px;
}

.button-text {
  font-family: 'Source Serif Pro';
  font-size: 28px;
  font-weight: 600;
  color: #614B3C;
  margin-left: 100px;
}

.button-icon.rechts {
  width: 140px;
  height: auto;;
  
  margin-left: 210px;
align-self: center;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px; 
}

.story-button .button-text {
  margin-left: 20px;
}

.notiz-button .button-text {
  margin-left: 115px;
}

.notiz-button .button-icon {
  width: 130px; 
  height: auto;
}

.pfeil-zurueck {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 42px; 
  height: 42px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease; 
}

.pfeil-zurueck:hover {
  transform: scale(1.2); 
}
.pfeil-zurueck img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button-balken {
  transition: transform 0.2s ease;  
}

.button-balken:hover {
  transform: scale(1.03);           
  cursor: pointer;      
  background-color: #BCA682;           
}



/*schliessen Button*/
.button-schliessen {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background-color: rgba(97, 75, 60, 0.3); 
  color: #4E3A2D;
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  font-weight: 600;
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
  margin-right: 20px;
  margin-bottom: 20px;
}

.button-schliessen:hover {
  background-color: rgba(97, 75, 60, 0.5);
}

.button-schliessen .kreuz {
  font-size: 20px;
  margin-right: 6px;
  line-height: 1;
}

.rueckseite {
  width: 900px;
  height: 600px;
  background: #FEF2D6;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 12px;
  border: 2px solid #614B3C;

}

.postkarten-bild {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vorderseite {
  display: flex;
}

.rueckseiten-rahmen {
  position: absolute;
  width: 879px;
  height: 581px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}




/*memo abspielen overlay*/
.memo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.memo-box {
  width: 751px;
  height: 161px;
  border-radius: 12px;
  background: #F3E6CE;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  padding: 20px 20px;
  box-sizing: border-box;
  font-family: 'Source Serif Pro', serif;
  font-size: 28px;
  font-weight: 600;
  color: #4E3A2D;
  text-align: center;
}

.memo-icon {
  font-size: 64px;
}

.memo-box .button-schliessen {
  position: absolute;
  bottom: 0;
  right: 0;
}

.memo-text {
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/*Story overlay*/

.story-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
}

.story-inhalt {
  width: 360px;
  height: 640px;
  aspect-ratio: 9 / 16;
  background-color: #614B3C;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.story-header {
  height: 32px;
  background: #614B3C;
  color: #F8EDD9;
  font-family: "Source Serif Pro";
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  padding-left: 12px;
  line-height: normal;
}

.story-bild {
  width: 100%;
  flex-grow: 1;
  object-fit: cover;
  display: block;
}

.story-bild.querformat {
  width: auto;
  height: 100%;
  object-fit: contain;
}


.story-overlay-text {
  position: absolute;
  top: 50px;
  left: 16px;
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: none;
}

.story-caption {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 209.36px;
  height: 56.05px;
  background-color: #F8EDD9;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #614B3C;
  font-family: "Source Serif Pro";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #614B3C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-sizing: border-box;
}

.story-progress {
  display: flex;
  gap: 8px;
}

.story-line {
  width: 116px;
  height: 3px;
  border-radius: 2px;
}

.story-line.active {
  background-color: #F0DEC1;
}

.story-line.inactive {
  background-color: #8C705D;
}

.story-next {
  width: 24px;
  height: 24px;
  background-image: url('images/Story_Pfeil.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.story2-caption {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 335px; 
  height: 55px;
  background-color: #F8EDD9;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;

  color: #614B3C;
  font-family: "Source Serif Pro";
  font-size: 21px; 
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.story2-overlay-text {
  position: absolute;
  top: 50px;
  right: 30px;
  color: #F8EDD9;
  font-family: "Source Serif Pro", serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: none;
  
}

.story-close.small {
  width: 70px;
  height: 20px;
  flex-shrink: 0;
  background-color: #BCA682;
  border-radius: 3px;
  border: none;
  color: #4E3A2D;
  font-family: "Source Serif Pro";
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0px 0px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  margin-right: -10px;
}

.story-close.small:hover {
  background-color: #a28d6d;
}

/*Notiz Overlay*/
.notiz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 40;
}

.notiz-box {
  width: 719px;
  height: 503px;
  background: #F8EDD9;
  border: 1px solid #6A5F49;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notiz-bild {
  width: 100%;
  height: auto;
}

.notiz-text {
  padding: 24px;
  text-align: center;
  color: #614B3C;
  font-family: "Source Serif Pro";
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}


.notiz-box .button-schliessen {
  position: absolute;
  bottom: 16px;
  right: 16px;
}


/*Icon Styles*/
.geschichts-icon {
  position: absolute;
  width: 40px;
  height: auto;
  z-index: 3;
  cursor: pointer;
}

.geschichts-icon img {
  transition: transform 0.1s ease-out;
}

.geschichts-icon img:hover {
  transform: scale(1.4);
}

/* Spezifische Platzierungen Icons*/
.geschichts-icon[data-icon="burenkrieg"] {
  top: 500px;
  left: 740px;
  width: 70px; 
  height: auto; 
}

.geschichts-icon[data-icon="weltausstellung"] {
  top: 200px;
  left: 600px;
  width: 30px; 
  height: auto; 
}

.geschichts-icon[data-icon="australien"] {
  top: 550px;
  left: 1205px;
  width: 80px; 
  height: auto; 
}

.geschichts-icon[data-icon="vulkan"] {
  top: 330px; 
  left: 370px;
  width: 60px; 
  height: auto; 
}

.geschichts-icon[data-icon="flugzeug"] {
  top: 200px; 
  left: 400px;
  width: 60px; 
  height: auto; 
}

.geschichts-icon[data-icon="curie"] {
  top: 105px; 
  left: 710px;
  width: 40px; 
  height: auto; 
}

.geschichts-icon[data-icon="japan"] {
  top: 195px; 
  left: 1145px;
  width: 60px; 
  height: auto; 
}

.geschichts-icon[data-icon="revolution"] {
  top: 120px; 
  left: 800px;
  width: 40px; 
  height: auto; 
}

.geschichts-icon[data-icon="einstein"] {
  top: 155px; 
  left: 710px;
  width: 30px; 
  height: auto; 
}

.geschichts-icon[data-icon="sanfrancisco"] {
  top: 190px; 
  left: 170px;
  width: 60px; 
  height: auto; 
}

.geschichts-icon[data-icon="entente"] {
  top: 100px; 
  left: 950px;
  width: 70px; 
  height: auto; 
}

/*Overlay Icons*/
.news-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; 
}

.icon-box {
  width: 500px;
  height: 800px;
  padding: 40px;
  background: radial-gradient(206.58% 206.58% at 50% 50%, #F2DCB3 0%, #E1C38E 51.44%);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  position: relative;
  font-family: 'Georgia', serif; 
  z-index: 1000; 
  display: flex;
}

.innerer-rahmen-eins{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 552px;
  height: 848px;
  border-radius: 12px;
  border: 3px solid #614B3C;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
 
.innerer-rahmen-zwei {
  width: 532px;
  height: 828px;
  border-radius: 10px;
  border: 2px solid #614B3C;
  box-sizing: border-box;

  
}

.text-container {
  padding: 32px; 
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  margin-top: -60px;
}

.text-ort-datum {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  
}

.text-haupttext {
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  
}



.icon-links {
  width: 150px;
  height: auto;
  gap: 0px
  ;
}

#newsOverlay-weltausstellung .icon-links {
  width: 100px; 
  height: auto;
  left: 10px;
}

#newsOverlay-einstein .icon-links {
  width: 110px; 
  height: auto;
}

#newsOverlay-revolution .icon-links {
  width: 110px; 
  height: auto;
}

#newsOverlay-entente .icon-links {
  width: 130px; 
  height: auto;
}



.titel-textgruppe {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titel-haupt {
  width: 395px;
  height: 40px;
  color: #413025;
  text-align: center;
  font-family: "Source Serif Pro", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  margin-top: -110px;
  margin-left: 80px;
}



.titel-untertitel {
  width: 380px;
  color: #413025;
  text-align: center;
  font-family: "Source Serif Pro", serif;
  font-size: 18px;
  font-weight: 600;
  margin-left: 80px;
}

.button-schliessen.icon-schliessen {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(97, 75, 60, 0.3);
  color: #4E3A2D;
  font-family: 'Source Serif Pro', serif;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 12px;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
}

.button-schliessen.icon-schliessen:hover {
  background-color: rgba(97, 75, 60, 0.5);
}

.button-schliessen .kreuz {
  font-size: 20px;
  margin-right: 6px;
}

/*Elemente Zeitstrahl*/
.zeitstrahl-elemente {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
 
}

.icon-zeitstrahl,
.postkarte-zeitstrahl {
  position: absolute;
  z-index: 5;
  
}

.icon-zeitstrahl[data-icon] {
  top: unset !important;
}


.postkarte-zeitstrahl:hover,
.icon-zeitstrahl:hover {
  transform: scale(1.2);
  z-index: 9999;
}

.icon-zeitstrahl {
  position: absolute;
  bottom: 95px; 
  width: 40px;
  height: auto;
  z-index: 6;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-zeitstrahl[data-icon="revolution"] img {
  width: 35px;
}

.icon-zeitstrahl[data-icon="entente"] img {
  width: 50px;
}


/*Steckbrief*/
.steckbrief-button {
  position: absolute;
  width: 146px;
  height: 219px;
  border-radius: 12px;
  border: 5px solid #FFECC9;
  background: #614B3C;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px 0;
  box-sizing: border-box;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); 
  
  

}

.steckbrief-button img {
  width: 75%;
  height: auto;
  display: block;
  transform: translateY(-8px);
}

.steckbrief-text {
  font-family: 'Source Serif Pro', serif;
  font-size: 22px;
  font-weight: 600;
  color: #FFECC9;
  margin-top: -4px;
  text-align: center;
}



.steckbrief-button:hover {
  transform: scale(1.2);
  z-index: 20;
}

/*Steckbrief Overlay*/
.steckbrief-titel {
  color: #614B3C;
  font-family: "Source Serif Pro";
  font-size: 71px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 12px;
}

.steckbrief-linie {
  width: 530px;
  height: 1px;
  background: #614B3C;
  margin: 0 auto 32px auto;
}

.steckbrief-info-bereich {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.steckbrief-portrait img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  background:  #F8EDD9;
  margin-left: 20px;
  margin-top: -20px;
}

.steckbrief-daten {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 12px;
  column-gap: 20px;
  font-family: 'Source Serif Pro', serif;
  color: #614B3C;
  font-size: 16px;
  line-height: 1.4;
  margin-top: -18px;
  margin-left: -15px;
}

.steckbrief-daten p {
  display: contents; 
  font-size: 16px;
  font-family: 'Source Serif Pro', serif;
  color: #614B3C;
  margin: 0;
}

.label {
  font-weight: 900;
  text-align: left;
}

.wert {
  font-weight: 400;
  margin-top: 1px;
}

.steckbrief-linie-abschluss {
  margin-top: -20px;
  height: 1.5px;
  background-color: #614B3C;
  width: 100%;
}

.steckbrief-geschichte-text {
  width: 500px;
  height: 251px;
  flex-shrink: 0;
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: -20px;
  margin-left: 10px;
}


/*Begrüssungs Overlay*/
.overlay-begruessung {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4); 
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease-out forwards; 
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.begrussung-box {
  width: 1230px;
  height: 874px;
  border-radius: 12px;
  background: radial-gradient(206.58% 206.58% at 50% 50%, #F2DCB3 0%, #E1C38E 51.44%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.begrussung-rahmen {
  width: 1173px;
  height: 825px;
  border-radius: 12px;
  border: 3px solid #614B3C;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.begrussung-innenrahmen {
  width: 1149px;
  height: 804px;
  border-radius: 10px;
  border: 2px solid #614B3C;
  position: relative;

}

.button-starten {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background-color: rgba(97, 75, 60, 0.3);
  color: #4E3A2D;
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  font-weight: 600;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
}

.button-starten:hover {
  background-color: rgba(97, 75, 60, 0.5);
}

.begrussung-titel {
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 102px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.begrussung-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 60px;
}

.begrussung-andrew {
  height: 600px;
  flex-shrink: 0;
  margin-left: -100px;
  margin-top: -20px;
}



.begrussung-textblock {
  width: 950px;
  height: 251px;
  color: #614B3C;
  font-family: "Source Serif Pro", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.5;
  margin-top: -10px;
  margin-left: -20px;
}


