:root {
    --background: #F9F2F9;
    --background-secondary: #E7E0E7;
    --primary: #333333;
    --accent: #8C6C95;
    --accent-hover: #B098B8;
    --secondary: #75956C;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Roboto;
}

body {
    background-color: var(--background);
    min-width: 360px;
    overflow-x: auto;
    padding-top: 4rem;
    width: 100%;
}

button {
    background-color: var(--accent);
    border: 0;
    border-radius: 0.25rem;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: bold;
    height: 2.5rem;
    line-height: 2.5rem;
    outline: 0;
    width: 100%;
}

.button-waiting {
    align-items: center;
    background-color: var(--accent-hover);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    height: 2.5rem;
    justify-content: center;
    margin-left: calc(100% - 8rem);
    width: 8rem;
}
.button-waiting.hidden {
    display: none;
}
.button-waiting p {
    animation: jumping 0.8s infinite;
    background-color: #FFFFFF;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
}
.button-waiting p:nth-child(2) {
    animation-delay: 0.4s;
}
@keyframes jumping {
    0% {margin-top: 0;}
    25% {margin-top: -0.125rem;}
    75% {margin-top: 0.125rem;}
    100% {margin-top: 0;}
}

.double-col {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: auto;
    width: 100%;
}
.double-col--account-city {
    grid-template-columns: 5rem 1fr;
}
.double-col--account-save {
    grid-template-columns: 1fr 8rem;
}
.double-col--account-street {
    grid-template-columns: 1fr 4.5rem;
}

a.purple {
    color: var(--accent);
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}
a.purple:hover {
    text-decoration: underline;
}

.fake-input {
    background-color: #FFFFFF;;
    border: none;
    border-radius: 0.25rem;
    cursor: not-allowed;
    outline: 0;
    user-select: none;
    width: 100%;
    height: 3.5rem;
    position: relative;
}

h1 {
    font-family: Oswald;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 2rem 0 0 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.account {
    margin: 1.5rem auto;
    max-width: 40rem;
    padding: 0 1.5rem;
    width: 100%;
}

.account__copy-address {
    cursor: pointer;
    padding-left: 1rem;
}
.account__copy-address:hover {
    text-decoration: underline;
}

.account__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.account__notice {
    background-color: rgba(0,0,0,0.1);
    border: 0.0625rem solid rgba(0,0,0,1);
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
}

.account__save {
    background-color: var(--accent);
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
}
.account__save:hover {
    background-color: var(--accent-hover);
}

.account__street-container {
    display:grid;
    gap: 1rem;
    grid-template-columns: 1fr 3.5rem;
    grid-template-rows: 1fr;
    width: 100%;
}

.account-button {
    background-color: var(--accent);
    border-radius: 0.25rem;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    height: 2.5rem;
    margin: 0.75rem 1rem;
    position: relative;
    width: 8rem;
}
.account-button.active {
    border-bottom: 0.0625rem solid var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.account-button__name {
    height: 2.5rem;
    left: 0;
    line-height: 2.5rem;
    overflow: hidden;
    padding: 0 0.25rem;
    position: absolute;
    text-align: center;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    width: 6rem;
}
.account-button__burger {
    height: 2.5rem;
    position: absolute;
    right: 0;
    top: 0;
    width: 2rem;
}
.account-button__burger p {
    background-color: #FFFFFF;
    border-radius: 0.0625rem;
    height: 0.125rem;
    margin-top: 0.25rem;
    width: 1.5rem;
}
.account-button__burger p:nth-child(1) {
    margin-top: 0.8125rem;
}
/*.account-button__burger p:nth-child(2) {
    width: 1.125rem;
    margin-left: 0.1875rem;
}
.account-button__burger p:nth-child(3) {
    width: 0.75rem;
    margin-left: 0.375rem;
}*/

.account-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 2.5rem;
    width: 10rem;
}

.account-button.active .account-menu {
    display: block;
}

.account-button:hover {
    background-color: var(--accent-hover);
}
.account-button.active:hover {
    background-color: var(--accent);
}



a.account-menu__link {
    background-color: var(--accent);
    color: #FFFFFF;
    display: block;
    font-weight: normal;
    height: 2.5rem;
    line-height: 2.5rem;
    padding: 0 0.5rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}
a.account-menu__link:hover {
    background-color: var(--accent-hover);
}

.appointment {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.appointment__date {
    background-color: var(--accent);
    border-radius: 0.25rem;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    height: 4rem;
    text-align: center;
    width: 4rem;
}

.appointment__time {
    background-color: var(--accent);
    border: 0.125rem solid var(--background-secondary);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: bold;
    height: 3.25rem;
    line-height: 3.125rem;
    margin: 0.0625rem -0.125rem;
    text-align: center;
    transition: border 0.5s ease-in-out;
}
.appointment__time.pulse {
    animation: borderPulse 3s infinite;
}
@keyframes borderPulse {
    0% { border-color: var(--background) }
    50% { border-color: var(--accent) }
    100% { border-color: var(--background) }
}

.appointment__icon {
    background: var(--accent);
    border-radius: 50%;
    height: 3.5rem;
    margin: 0.0625rem -0.125rem;
    width: 3.5rem;
}
.appointment__icon--church {
    background-image: url("/assets/imgs/church-2.svg");
  background-size: 2.5rem 2.5rem;
  background-position: 0.5rem 0.3125rem;
  background-repeat: no-repeat;
}
.appointment__icon--sekt {
    background-image: url("/assets/imgs/sekt-2.png");
  background-size: 2.5rem 2.5rem;
  background-position: 0.5rem 0.5rem;
  background-repeat: no-repeat;
}
.appointment__icon--cake {
    background-image: url("/assets/imgs/cake-2.png");
  background-size: 3.5rem 3.5rem;
  background-position: 0rem -0.125rem;
  background-repeat: no-repeat;
}
.appointment__icon--dinner {
  background-image: url("/assets/imgs/dinner-2.svg");
  background-size: 2.5rem 2.5rem;
  background-position: 0.5rem 0.3125rem;
  background-repeat: no-repeat;
}
.appointment__icon--dancing {
  background-image: url("/assets/imgs/dancing.svg");
  background-size: 2.5rem 2.5rem;
  background-position: 0.625rem 0.4375rem;
  background-repeat: no-repeat;
}
.appointment__icon--brunch {
  background-image: url("/assets/imgs/brunch.svg");
  background-size: 2.5rem 2.5rem;
  background-position: 0.5rem 0.4375rem;
  background-repeat: no-repeat;
}

.appointment__timeline {
    display: flex;
    flex-direction: column;
}

.appointment__timeline__bullet {
    background-color: var(--accent);
    border-radius: 50%;
    height: 0.375rem;
    margin: 0.1875rem 1.3125rem; 
    width: 0.375rem;
}

.appointment__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact {
    width: 100%;
}

.contact-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
    width: 100%;
}

.contact-content {
    margin: 0 auto;
    max-width: 40rem;
    padding: 1rem;
    width: 100%;
}

.contact-person {
    line-height: 1.5;
}

.countdown {
    background-color: #E7E0E7;/*var(--background);*/
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 3fr 2fr 2fr 2fr;
    grid-template-rows: 2fr;
    margin: 0 auto;
    width: fit-content;
}

.countdown-container {
    background-color: #E7E0E7;
    padding: 2rem 0;
    width: 100%;
}

.countdown__days, .countdown__hours, .countdown__minutes, .countdown__seconds {
    display: flex;
    flex-direction: row;
    gap: 0.125rem;
}

.countdown__element {
    background-color: #FFFFFF;
    border-radius: 0.25rem;
    color: #000000;
    font-family: Oswald;
    font-size: 1.5rem;
    font-weight: bold;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    width: 2rem;
}
.countdown__element[data-number="7"] {
    color: var(--accent);
}
.countdown__title {
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: -0.25rem;
    text-align: center;
}

@media screen and (min-width: 660px) {
    .countdown { gap: 1rem; }
    .countdown__element { font-size: 3rem; height: 6rem; line-height: 6rem; width: 4rem; }
    .countdown__title { font-size: 1rem; }
}

.dashboard {
    margin: 0 auto;
    max-width: 40rem;
    padding: 1rem;
    width: 100%;
}

.dashboard__blog {
    border-radius: 0.25rem;
    margin-top: 2rem;
    width: 100%;
}
.dashboard__blog ul {
    padding-left: 1rem;
}

a.dashboard__link {
    background-color: #DECCE2;
    border-radius: 0.25rem;
    color: #000000;
    display: block;
    flex-grow: 1;
    flex-shrink: 0;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    text-decoration: none;
    width: 100%;
}
a.dashboard__link:hover {
    background-color: #DABEE0;
}

.dashboard__link-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.day {
    background-color: rgb(215,208,215);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    font-weight: bold;
    height: 2.25rem;
    line-height: 2.25rem;
    margin: 0.1875rem 0;
    width: 100%;
}

.day__flag {
    background-color: var(--accent);
    border-radius: 50%;
    height: 0.75rem;
    margin: 0.75rem 1.625rem 0.75rem 1.125rem;
    width: 0.75rem;
}

.faqs {
    background-color: var(--background);
    height: auto;
    scroll-margin-top: 4rem;
    width: 100%;
}

.faq-container {
    background-color: var(--background);
    padding: 1rem 2rem 4rem 2rem;
    margin: 0 auto;
    max-width: 50rem;
}

.faq-container h1 {
    margin-bottom: 2rem;
}

.faqs .faq:nth-child(1) {
    border-top: 0.0625rem solid #000000;
}

.faq {
    background-color: var(--background);
    border-bottom: 0.0625rem solid #000000;
    display: flex;
    flex-direction: column;
}

.faq__question {
    font-family: Oswald;
    font-size: 1.125rem;
    font-weight: bold;
    padding: 0.5rem;
    width: 100%;
}
.faq__answer {
    display: none;
    padding: 0 0.5rem 0.5rem 0.5rem;
    width: 100%;
}

.faq.active .faq__answer {
    display:block;
}

header {
    background-color: var(--primary);
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    height: 4rem;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: 1000;
}

.header__account {
    height: 2.5rem;
    line-height: 2.5rem;
    margin: 0.75rem 1rem;
    text-align: center;
    width: 6rem;
}

.header__button {
    background-color: var(--accent);
    border-radius: 0.25rem;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    width: 8rem;
}
.header__button:hover {
    background-color: var(--accent-hover);
}

.header__title {
    flex-grow: 1;
    font-family: Oswald;
    font-size: 1.375rem;
    height: 4rem;
    line-height: 4rem;
    padding: 0;
    text-align: center;
}

.header__title a {
    color: #FFFFFF;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    text-decoration: none;
}
.header__title a:hover {
    color: #CCCCCC;
}

.header__title a:nth-child(2) {
    display: none;
}
.header__title a:nth-child(1) {
    display: block;
}
@media screen and (min-width: 466px) {
    .header__title a:nth-child(2) {
        display: inline-block;
    }
    .header__title a:nth-child(1) {
        display: none;
    }
}

/*.hero {
    background-color: #E7E0E7;
    color: var(--secondary);
    font-family: Oswald;
    font-size: 4.5rem;
    font-weight: bold;
    height: 80vh;
    line-height: 80vh;
    position: relative;
    text-align: center;
    width:100%;
    background-size:cover;
}
@media screen and (min-width: 400px) {
.hero {
    font-size: 5.5rem;
}
}
@media screen and (min-width: 480px) {
.hero {
    font-size: 6.5rem;
}
}
@media screen and (min-width: 560px) {
.hero {
    font-size: 7.5rem;
}
}
.hero__date {
    bottom: 0;
    font-family: Oswald;
    font-size: inherit;
    left: 0;
    letter-spacing: -3px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}

.hero__image-left-1 {
    aspect-ratio: 499/1024;
    background-image: url("/assets/imgs/main_left-1.png");
    background-size: cover;
    border-radius: 2rem;
    bottom: 0;
    box-shadow: 0 0.25rem 2rem 0 rgba(0,0,0,0.5);
    left: -502px;
    margin: 6rem auto 4rem auto;
    max-height: 70vh;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
}

.hero__main-image {
    aspect-ratio: 499/1024;
    background-image: url("/assets/imgs/main_1.png");
    background-size: cover;
    border-radius: 2rem;
    bottom: 0;
    box-shadow: 0 0.25rem 2rem 0 rgba(0,0,0,0.5);
    left: 0;
    margin: 6rem auto 4rem auto;
    max-height: 70vh;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
}*/

.hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: calc(100vh - 4rem);
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}




.hero__envelope {
    background-color: #A6BC9D;
    height: 14rem;
    margin: auto;
    position: relative;
    width: 20rem;
}

.hero__envelope.open {
    animation: envelope 3s forwards;
}

@keyframes envelope {
    0% { transform: translateY(0); }
    20% { transform: translateY(0); }
    100% { transform: translateY(5rem); }
}

.hero-envelope__castle {
    background: url("/assets/imgs/schloss-sketch-lilac.png");
    background-size:cover;
    left: 0;
    height: 12.5rem;
    position: absolute;
    top: 1rem;
    width: 20rem;
    z-index: 9;
}

.hero__envelope.open .hero-envelope__castle {
    animation: castle 4s forwards;
}

/*  bei 0.6s starten */
@keyframes castle {
    0% { transform: translateY(0); }
    40% { transform: translateY(0); }
    100% { transform: translateY(-7rem); }
}

.hero-envelope__flap {
    background: #9CB491;
    clip-path:polygon(
        0 0,
        100% 0,
        50% 100%
    );
    height: 9rem;
    left: 0;
    position: absolute;
    top: 0;
    transform-origin: top center;
    transform-style: preserve-3d;
    width: 100%;
    z-index: 50;
}

.hero__envelope.open .hero-envelope__flap {
    animation: flap 1.5s forwards;
}

@keyframes flap {
    0% { transform: rotateX(0); }
    25% { transform: rotateX(0); }
    62% { transform: rotateX(90deg); }
    100% { transform: rotateX(90deg); }
}

.hero-envelope__flap-back {
    background: #9CB491;
    clip-path:polygon(
        0 0,
        100% 0,
        50% 100%
    );
    height: 9rem;
    left: 0;
    position: absolute;
    top: 0;
    transform-origin: top center;
    transform-style: preserve-3d;
    transform: rotateX(90deg);
    width: 100%;
    z-index: 6;
}

.hero__envelope.open .hero-envelope__flap-back {
    animation: flap-back 1.5s forwards;
}

@keyframes flap-back {
    0% { transform: rotateX(90deg); }
    25% { transform: rotateX(90deg); }
    62% { transform: rotateX(90deg); }
    100% { transform: rotateX(180deg); }
}

.hero-envelope__front {
    background: #BDCDB6;
    clip-path:polygon(
        0 0,
        50% 58%,
        100% 0,
        100% 100%,
        0 100%
    );
    height: 14rem;
    inset: 0;
    position:absolute;
    z-index: 25;
}

.hero-envelope__seal {
    background: url("/assets/imgs/wax-seal-lilac.png");
    background-size:cover;
    left: 6rem;
    height: 8rem;
    position: absolute;
    top: 4rem;
    width: 8rem;
    z-index: 60;
}

.hero__envelope.open .hero-envelope__seal {
    animation: seal 2s forwards;
}

@keyframes seal {
    0% { transform: rotateZ(0) translateX(0); }
    25% { transform: rotateZ(20deg) translateX(1rem); }
    75% { transform: rotateZ(20deg) translateX(1rem); }
    100% { transform: rotateZ(0) translateX(0); }
}

.lavender-left {
    background: url("/assets/imgs/lavender.png");
    background-size: 20rem 20rem;
    height: 14rem;
    left: 0;
    overflow:hidden;
    position: absolute;
    top: 0;
    width: 20rem;
    z-index: 6;
}

.hero__envelope.open .lavender-left {
    animation: lav-left 2s forwards;
}

@keyframes lav-left {
    0% { transform: translateY(0) translateX(0) rotate(0); height: 14rem; }
    35% { transform: translateY(0) translateX(0) rotate(0); height: 14rem; }
    100% { transform: translateY(-18rem) translateX(-4rem) rotate(-30deg); height: 20rem; }    
}

.lavender-right {
    background: url("/assets/imgs/lavender.png");
    background-size: 20rem 20rem;
    height: 14rem;
    left: 0;
    position: absolute;
    top: 0;
    transform: scale(-1, 1);
    width: 20rem;
    z-index: 6;
}

.hero__envelope.open .lavender-right {
    animation: lav-right 2s forwards;
}

@keyframes lav-right {
    0% { transform: translateY(0) translateX(0) rotate(0); height: 14rem; }
    35% { transform: translateY(0) translateX(0) rotate(0); height: 14rem; }
    100% { transform: translateY(-18rem) translateX(6rem) rotate(30deg); height: 20rem; }
}

.polaroid {
    background: white;
    box-shadow: 0 0 1rem 0 rgba(0,0,0,0.2);
    left: 7rem;
    height: 8rem;
    padding: 0.5rem 0.5rem 1.5rem 0.5rem;
    position: absolute;
    top: 5rem;
    width: 6rem;
    z-index: 7;
}

.hero__arrow {
    display: none;
    animation: blinky 1.5s infinite;
    animation-delay: 0.5s;
    background: url("/assets/imgs/pfeil.svg");
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 40/17;
    bottom: 1rem;
    left: 50%;
    margin-left: -1.5rem;
    position:absolute;
    width: 3rem;
}
.hero__arrow-2 {
    display: none;
    animation: blinky 1.5s infinite;
    background: url("/assets/imgs/pfeil.svg");
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 40/17;
    bottom: 2rem;
    left: 50%;
    margin-left: -1.5rem;
    position:absolute;
    width: 3rem;
}

@keyframes blinky {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }    
}

.hero__envelope.open .polaroid--1 {
    animation: pol-1 4s forwards;
}
@keyframes pol-1 {
    0% { transform: translateX(0) translateY(0) rotate(0); }
    20% { transform: translateX(0) translateY(0) rotate(0); }
    35% { transform: translateX(0) translateY(-13rem) rotate(0); }
    100% { transform: translateX(-8rem) translateY(-14rem) rotate(-15deg); }
}

.hero__envelope.open .polaroid--2 {
    animation: pol-2 4s forwards;
}
@keyframes pol-2 {
    0% { transform: translateX(0) translateY(0) rotate(0); }
    35% { transform: translateX(0) translateY(0) rotate(0); }
    50% { transform: translateX(0) translateY(-13rem) rotate(0); }
    100% { transform: translateX(-2.5rem) translateY(-14rem) rotate(15deg); }
}


.polaroid--3 {
    z-index: 8;
}
.hero__envelope.open .polaroid--3 {
    animation: pol-3 4s forwards;
}
@keyframes pol-3 {
    0% { transform: translateX(0) translateY(0) rotate(0); }
    65% { transform: translateX(0) translateY(0) rotate(0); }
    80% { transform: translateX(0) translateY(-13rem) rotate(0); }
    100% { transform: translateX(8rem) translateY(-13.75rem) rotate(30deg); }
}

.hero__envelope.open .polaroid--4 {
    animation: pol-4 4s forwards;
}
@keyframes pol-4 {
    0% { transform: translateX(0) translateY(0) rotate(0); }
    50% { transform: translateX(0) translateY(0) rotate(0); }
    65% { transform: translateX(0) translateY(-13rem) rotate(0); }
    100% { transform: translateX(3rem) translateY(-15.75rem) rotate(-10deg); }
}

.polaroid-image {
    width: 5rem;
    height: 6rem;
}
.polaroid-image--1 {
    background: url("/assets/imgs/main_1.png");
    background-size: cover;
    background-position-y: 30%;
}
.polaroid-image--2 {
    background: url("/assets/imgs/main_right-2.png");
    background-size: cover;
    background-position-y: 40%;
}
.polaroid-image--3 {
    background: url("/assets/imgs/main_left-1.png");
    background-size: cover;
    background-position-y: 20%;
}
.polaroid-image--4 {
    background: url("/assets/imgs/teide.png");
    background-size: cover;
    background-position-y: 60%;
}

.invited {
    background: url("/assets/imgs/invited_hero.png");
    background-size: 10rem 9.75rem;
    font-weight: bold;
    left: 5rem;
    height: 4.75rem;
    line-height: 4.25rem;
    position: absolute;
    text-align: center;
    top: 9rem;
    width: 10rem;
    z-index: 10;
}

.hero__envelope.open .invited {
    animation: paper 4s forwards;
}
@keyframes paper {
    0% { transform: translateY(0); }
    60% { transform: translateY(0); height: 4.75rem; }
    100% { transform: translateY(-11rem); height: 9.75rem; }
}


@media screen and (min-width: 540px) {
    .hero__envelope {
        background-color: #A6BC9D;
        height: 21rem;
        margin: auto;
        position: relative;
        width: 30rem;
    }

    .hero__envelope.open {
        animation: envelope 3s forwards;
    }

    @keyframes envelope {
        0% { transform: translateY(0); }
        20% { transform: translateY(0); }
        100% { transform: translateY(12rem); }
    }

    .hero-envelope__castle {
        background: url("/assets/imgs/schloss-sketch-lilac.png");
        background-size:cover;
        left: 0;
        height: 18.75rem;
        position: absolute;
        top: 1.5rem;
        width: 30rem;
        z-index: 9;
    }

    .hero__envelope.open .hero-envelope__castle {
        animation: castle 4s forwards;
    }

    /*  bei 0.6s starten */
    @keyframes castle {
        0% { transform: translateY(0); }
        40% { transform: translateY(0); }
        100% { transform: translateY(-10.5rem); }
    }

    .hero-envelope__flap {
        background: #9CB491;
        clip-path:polygon(
            0 0,
            100% 0,
            50% 100%
        );
        height: 13.5rem;
        left: 0;
        position: absolute;
        top: 0;
        transform-origin: top center;
        transform-style: preserve-3d;
        width: 100%;
        z-index: 50;
    }

    .hero__envelope.open .hero-envelope__flap {
        animation: flap 1.5s forwards;
    }

    @keyframes flap {
        0% { transform: rotateX(0); }
        25% { transform: rotateX(0); }
        62% { transform: rotateX(90deg); }
        100% { transform: rotateX(90deg); }
    }

    .hero-envelope__flap-back {
        background: #9CB491;
        clip-path:polygon(
            0 0,
            100% 0,
            50% 100%
        );
        height: 13.5rem;
        left: 0;
        position: absolute;
        top: 0;
        transform-origin: top center;
        transform-style: preserve-3d;
        transform: rotateX(90deg);
        width: 100%;
        z-index: 6;
    }

    .hero__envelope.open .hero-envelope__flap-back {
        animation: flap-back 1.5s forwards;
    }

    @keyframes flap-back {
        0% { transform: rotateX(90deg); }
        25% { transform: rotateX(90deg); }
        62% { transform: rotateX(90deg); }
        100% { transform: rotateX(180deg); }
    }

    .hero-envelope__front {
        background: #BDCDB6;
        clip-path:polygon(
            0 0,
            50% 58%,
            100% 0,
            100% 100%,
            0 100%
        );
        height: 21rem;
        inset: 0;
        position:absolute;
        z-index: 25;
    }

    .hero-envelope__seal {
        background: url("/assets/imgs/wax-seal-lilac.png");
        background-size:cover;
        left: 9rem;
        height: 12rem;
        position: absolute;
        top: 6rem;
        width: 12rem;
        z-index: 60;
    }

    .hero__envelope.open .hero-envelope__seal {
        animation: seal 2s forwards;
    }

    @keyframes seal {
        0% { transform: rotateZ(0) translateX(0); }
        25% { transform: rotateZ(20deg) translateX(1rem); }
        75% { transform: rotateZ(20deg) translateX(1rem); }
        100% { transform: rotateZ(0) translateX(0); }
    }

    .lavender-left {
        background: url("/assets/imgs/lavender.png");
        background-size: 30rem 30rem;
        height: 21rem;
        left: 0;
        overflow:hidden;
        position: absolute;
        top: 0;
        width: 30rem;
        z-index: 6;
    }

    .hero__envelope.open .lavender-left {
        animation: lav-left 2s forwards;
    }

    @keyframes lav-left {
        0% { transform: translateY(0) translateX(0) rotate(0); height: 21rem; }
        35% { transform: translateY(0) translateX(0) rotate(0); height: 21rem; }
        100% { transform: translateY(-27rem) translateX(-6rem) rotate(-30deg); height: 30rem; }    
    }

    .lavender-right {
        background: url("/assets/imgs/lavender.png");
        background-size: 30rem 30rem;
        height: 21rem;
        left: 0;
        position: absolute;
        top: 0;
        transform: scale(-1, 1);
        width: 30rem;
        z-index: 6;
    }

    .hero__envelope.open .lavender-right {
        animation: lav-right 2s forwards;
    }

    @keyframes lav-right {
        0% { transform: translateY(0) translateX(0) rotate(0); height: 21rem; }
        35% { transform: translateY(0) translateX(0) rotate(0); height: 21rem; }
        100% { transform: translateY(-27rem) translateX(9rem) rotate(30deg); height: 30rem; }
    }

    .polaroid {
        background: white;
        box-shadow: 0 0 1rem 0 rgba(0,0,0,0.2);
        left: 10.5rem;
        height: 12rem;
        padding: 0.75rem 0.75rem 2.25rem 0.75rem;
        position: absolute;
        top: 7.5rem;
        width: 9rem;
        z-index: 7;
    }
    
    .hero__envelope.open .polaroid--1 {
        animation: pol-1 4s forwards;
    }
    @keyframes pol-1 {
        0% { transform: translateX(0) translateY(0) rotate(0); }
        20% { transform: translateX(0) translateY(0) rotate(0); }
        35% { transform: translateX(0) translateY(-19.5rem) rotate(0); }
        100% { transform: translateX(-12rem) translateY(-21rem) rotate(-15deg); }
    }
    
    .hero__envelope.open .polaroid--2 {
        animation: pol-2 4s forwards;
    }
    @keyframes pol-2 {
        0% { transform: translateX(0) translateY(0) rotate(0); }
        35% { transform: translateX(0) translateY(0) rotate(0); }
        50% { transform: translateX(0) translateY(-19.5rem) rotate(0); }
        100% { transform: translateX(-3.75rem) translateY(-21rem) rotate(15deg); }
    }


    .polaroid--3 {
        z-index: 8;
    }
    .hero__envelope.open .polaroid--3 {
        animation: pol-3 4s forwards;
    }
    @keyframes pol-3 {
        0% { transform: translateX(0) translateY(0) rotate(0); }
        65% { transform: translateX(0) translateY(0) rotate(0); }
        80% { transform: translateX(0) translateY(-19.5rem) rotate(0); }
        100% { transform: translateX(12rem) translateY(-20.625rem) rotate(30deg); }
    }
    
    .hero__envelope.open .polaroid--4 {
        animation: pol-4 4s forwards;
    }
    @keyframes pol-4 {
        0% { transform: translateX(0) translateY(0) rotate(0); }
        50% { transform: translateX(0) translateY(0) rotate(0); }
        65% { transform: translateX(0) translateY(-19.5rem) rotate(0); }
        100% { transform: translateX(4.5rem) translateY(-23.625rem) rotate(-10deg); }
    }

    .polaroid-image {
        width: 7.5rem;
        height: 9rem;
    }
    .polaroid-image--1 {
        background: url("/assets/imgs/main_1.png");
        background-size: cover;
        background-position-y: 30%;
    }
    .polaroid-image--2 {
        background: url("/assets/imgs/main_right-2.png");
        background-size: cover;
        background-position-y: 40%;
    }
    .polaroid-image--3 {
        background: url("/assets/imgs/main_left-1.png");
        background-size: cover;
        background-position-y: 20%;
    }
    .polaroid-image--4 {
        background: url("/assets/imgs/teide.png");
        background-size: cover;
        background-position-y: 60%;
    }

    .invited {
        background: url("/assets/imgs/wolke-2.png");
        background-size: 15rem 14.625rem;
        font-weight: bold;
        left: 7.5rem;
        height: 7.125rem;
        line-height: 4.25rem;
        position: absolute;
        text-align: center;
        top: 13.5rem;
        width: 15rem;
        z-index: 10;
    }

    .hero__envelope.open .invited {
        animation: paper 4s forwards;
    }
    @keyframes paper {
        0% { transform: translateY(0); }
        60% { transform: translateY(0); height: 7.125rem; }
        100% { transform: translateY(-16.375rem); height: 14.625rem; }
    }

}



input[type="text"], input[type="password"] {
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    height: 2.5rem;
    line-height: 2.5rem;
    outline: 0;
    padding: 0 0.5rem;
    width: 100%;
}

.hotels {
    background-color: #E7E0E7;/*var(--background);*/
    scroll-margin-top: 4rem;
}

.invitation {
    margin: 0 auto;
    max-width: 35rem;
    padding: 1rem 1rem 3rem 1rem;
    text-align: center;
    width: 100%;
}

.invitation__letter {
    position: relative;
    line-height: 1.375;
}
.invitation__letter::before {
    content: "";
    background: url("/assets/imgs/LR.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    z-index: -1;
}

.language {
    cursor: pointer;
    flex-shrink: 0;
    width: 8rem;
    height: 2.5rem;
    line-height: 2.5rem;
    margin: 0.75rem 1rem;
    padding: 0;
    position: relative;
    text-align: center;
}

.language__chooser {
    background-color: var(--accent);
    box-shadow: 0 0 1 black;
    display: none;
    position: absolute;
    top: 2.625rem;
    right: 0rem;
    width: 7rem;
}
.language.active .language__chooser {
    display: block;
}

.language__pick {
    background-color: var(--accent);
    cursor: pointer;
}
.language__pick:hover {
    background-color: var(--accent-hover);
}

.locations {
    background-color: var(--background);
    width: 100%;
}
.locations__text {
    margin: 0 auto;
    max-width: 50rem;
    padding: 2rem;
}

.location {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    max-width: 50rem;
    padding: 2rem;
    scroll-margin-top: 4rem;
}
.location img {
    aspect-ratio: 1;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0 auto;
    max-width: 12.5rem;
    width: 100%;
}
.location__description {
    flex-grow: 1;
}
.location__description a {
    color: var(--accent);
    cursor:pointer;
    display: inline-block;
    font-weight: bold;
    margin-top: 0.75rem;
    text-decoration: none;
}
.location__description a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}
.location__description a.purple {
    margin-top: 0;
}
.location__description h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

@media screen and (min-width: 560px) {
.location {
    flex-direction: row;
}
}

.login-btn {
    height: 3.5rem;
    line-height: 3.5rem;
}

.login-form {
    background-color: var(--background-secondary);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    max-width: 30rem;
    padding: 1rem;
    width: calc(100% - 4rem);
}

.login-form .floating-input {
    margin-bottom: 0.75rem;
}

.login-header {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
}

.login-info {
    color: #333333;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.participation__table {
    border: 0.0625rem solid black;
    margin: 1.5rem auto;
}
.participation__table td, .participation__table th { 
    border: 0.0625rem solid black;
    padding: 0.25rem 0.5rem;
    text-align: center; 
}

.participation__date {
    background-color: #FFFFFF;
    font-weight: bold;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
}

.participation__date--checkbox {
    align-items: center;
    cursor: pointer;
    display: flex;
}

.participation__date input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.participation__checkbox {
    background: #FFB6B6;
    height: 3.5rem;
    width: 100%;
}

.participation__date input:checked + .participation__checkbox {
    background: #B7D3AA;
}

.participation__date input + .participation__checkbox::after {
    content: "X";
    color: #7F0000;
    font-size: 1.25rem;
}
.participation__date input:checked + .participation__checkbox::after {
    content: "✓";
    color: #267F00;
    font-size: 1.25rem;
}

.participation__name {
    background-color: #FFFFFF;
    font-weight: bold;
    grid-area: name;
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 1.5rem 0 0.75rem;
    text-align: left;
}

.participation__grid {
    display: block;
    margin: 0 auto;
    max-width: 38rem;
    gap: 0.125rem;
    width: 100%;
    padding: 0.5rem 1rem;
}

.participation__row {
    background-color: #FFFFFF;
    display: grid;
    padding-top: 0.125rem;
    gap: 0.125rem;
    grid-template-areas:
        "name name"
        "day2 day3";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2.25rem 3.5rem;
    margin-top: 0.125rem;
    width: 100%;
}

.participation__container--1 {
    grid-area: day1;
}
.participation__container--2 {
    grid-area: day2;
}
.participation__container--3 {
    grid-area: day3;
}

.participation__save-button, .participation__save-success, .account__save-button, .account__save-success {
    width: 8rem;
}
.participation__save-button.unchanged {
    background-color: var(--accent-hover);
    cursor: not-allowed;
}
.participation__save-button.hidden, .participation__save-success.hidden, .account__save-button.hidden, .account__save-success.hidden {
    display: none;
}
.participation__save-button:hover {
    background-color: var(--accent-hover);
}
.participation__save-container {
    grid-column: span 4;
    text-align: right;
    margin: 1rem auto 0.5rem auto;
    max-width: 36rem;
    width: calc(100% - 2rem);
}

.participation__container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.participation__decision {
    cursor: pointer;
    flex-grow: 1;
    font-size: 1.25rem;
    font-weight: bold;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
}
.participation__decision--1 {
    background-color: #B7D3AA;
    color: #267F00;
}
.participation__decision--0 {
    background-color: #FFB6B6;
    color: #7F0000;
}

.participation-additional {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2.25rem auto;
    grid-template-areas: 
        "header"
        "textarea";
    margin-top: 0.125rem;
}

.participation-additional__header {
    background-color: #FFFFFF;
    font-weight: bold;
    grid-area: header;
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 1.5rem 0 0.75rem;
    width: 100%;
}

@media screen and (min-width: 580px) {
    .participation__row {
        padding-top: 0;
    }
    .participation__name, .participation__header {
        height: 3.5rem;
        line-height: 3.5rem;
    }
    .participation__row {
        grid-template-areas: "name day2 day3";
        grid-template-columns: auto 7rem 7rem;
        grid-template-rows: 1fr;
    }
    .participation-additional {
        background-color: #FFFFFF;
        grid-template-areas: "header textarea textarea";
        grid-template-columns: auto 7rem 7rem;
        grid-template-rows: 1fr;
    }
}

.participation__textarea {
    background-color: #FFFFFF;
    border: none;
    resize: none;
    width: 100%;
    grid-area: textarea;
    padding: 0.5rem;
    height: 7rem;
    outline: 0;
}

.participation__note {
    border-radius: 0.25rem;
    border: 0.0625rem solid var(--accent);
    background-color: #E3DBE5;
    height: auto;
    margin: 1rem auto 0.5rem auto;
    padding: 0.5rem;
    max-width: 30rem;
    width: calc(100% - 2rem);
}

.schedule {
    background-color: #E7E0E7;/*var(--background);*/
    margin: 0 auto;
    width: 100%;
    /*padding: 1.5rem max(calc(50% - 20rem), 1.5rem);*/
}
.schedule__text {
    margin: 0 auto;
    max-width: 50rem;
    padding: 2rem;
}

.timeline {
    background-color: #E7E0E7;
    padding: 0 1rem 3.5rem 1rem;
    width: 100%;
}

.timeline-content {
    margin: 0 auto;
    max-width: 45rem;
    padding: 0.5rem 0;
}

.fake-label {
    position: absolute;
    top: 0.5625rem;
    left: 0.5rem;
    font-size: 0.75rem;
    color: #777777;
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
    transition: all 0.2s ease;
    height: 1rem;
}

.fake-value {
    position: absolute;
    left: 0.75rem;
    top: 1.8125rem;
}

.floating-input {
    background-color: #FFFFFF;
    border-radius: 0.25rem;
    height: 3.5rem;
    position: relative; 
    width: 100%;
}

.floating-input input {
    background-color: #FFFFFF;
    width: 100%;
    padding: 1.75rem 0.75rem 0.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.25rem;
    outline: none;
    background: transparent;
    transition: border-color 0.2s ease;
    height: 3.5rem;
}

.floating-input label {
    position: absolute;
    left: 0.5rem;
    top: 1.25rem;
    font-size: 1rem;
    color: #777;
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
    height: 1rem;
}

/* Floating Effekt */
.floating-input input:focus + label,
.floating-input input:not(:placeholder-shown) + label {
    top: 0.5625rem;
    left: 0.5rem;
    font-size: 0.75rem;
}

.floating-input input:focus {
    border-color: #000000;
}