* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-padding-top: 100px;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background-color: #F8E1E9;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
    display: block;
}
/* h1 und h2 verwenden Style Script */
h1, h2 {
    font-family: 'Style Script', cursive;
}
header {
    height: 100vh;
    background: url('../imgs/header.png') no-repeat center center/cover !important;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FDFDFD;
    position: relative;
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
header.scrolled {
    transform: scale(1);
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(42, 42, 42, 0.5), rgba(242, 140, 159, 0.4));
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
header:hover::before {
    opacity: 0.7;
}
header h1 {
    font-size: 7.5em;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: inline-block;
    text-transform: none;
}
header h1 .name-part {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
header h1 .name-break {
    display: none;
}
@keyframes letterFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
header:hover h1 {
    transform: scale(1.05);
}
/* Header-Divider mit Herz */
.header-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 1em 0;
    z-index: 1;
}
.divider-line {
    flex: 1;
    height: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.divider-line-left {
    background: linear-gradient(to right, transparent, #FDFDFD);
}
.divider-line-right {
    background: linear-gradient(to left, transparent, #FDFDFD);
}
.divider-heart {
    font-size: 3em;
    color: #FDFDFD;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin: 0 1em;
}
.subheading {
    font-family: 'Style Script', cursive;
    font-size: 3em;
    font-weight: 700;
    color: #FDFDFD;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    margin: 1em 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}
.subheading.visible {
    opacity: 1;
    transform: translateY(0);
}
#countdown {
    text-align: center;
    margin-top: 1.5em;
    background: rgba(253, 253, 253, 0.15);
    padding: 2em;
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}
#countdown.visible {
    opacity: 1;
    transform: translateY(0);
}
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
}
.countdown-item {
    background: none;
    padding: 0.8em;
    min-width: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.countdown-item:hover {
    transform: scale(1.1);
    background: rgba(25, 25, 112, 0.1);
}
.countdown-item span {
    font-size: 3em;
    font-weight: 600;
    color: #F28C9F;
    display: block;
}
.countdown-item p {
    font-size: 1em;
    color: #F28C9F;
}
.scroll-arrow {
    position: absolute;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scroll-arrow .material-icons {
    font-size: 4em;
    color: #191970;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite ease-in-out;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-arrow:hover .material-icons {
    transform: scale(1.5) rotate(10deg);
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
nav {
    background: rgba(253, 253, 253, 0.95);
    padding: 1em;
    position: sticky;
    top: 1em;
    z-index: 100;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 1em;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
nav.scrolled {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
nav a {
    color: #191970;
    text-decoration: none;
    margin: 0 2em;
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
nav a:hover {
    color: #F28C9F;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #F28C9F;
}
nav a.active {
    color: #191970;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: #191970;
}
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 15px;
}
.section {
    padding-top: 3em;
    padding-bottom: 3em;
    margin-bottom: 0;
    position: relative;
    display: block;
}
.full-width-section {
    width: 100%;
    background: #FDF5F7;
}
.section h2 {
    font-size: 80px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.3em;
    color: #191970;
}
.section h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #191970;
    text-align: center;
    margin-bottom: 1em;
}
.couple {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3em;
    max-width: 1200px;
    margin: 0 auto;
}
.person {
    text-align: center;
    font-style: italic;
    max-width: 500px;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.person.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.person p:first-of-type {
    font-style: italic;
}
.person p:nth-of-type(2) {
    font-style: normal;
    padding-top: 1em;
}
.person h3 {
    color: #191970;
    font-style: normal;
}
.person img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5em;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.person img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(242, 140, 159, 0.4);
}
.wedding-details, .wedding-schedule, .wedding-accommodation {
    text-align: left;
    max-width: 1200px;
    margin: 2em auto;
    background: rgba(253, 253, 253, 0.4);
    padding: 2em;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(25, 25, 112, 0.2);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.wedding-details.visible, .wedding-schedule.visible, .wedding-accommodation.visible {
    opacity: 1;
    transform: translateY(0);
}
.wedding-details .detail-item, .wedding-accommodation .detail-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5em;
    margin: 1em 0;
}
.wedding-details .detail-item h4, .wedding-accommodation .detail-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    color: #191970;
    margin: 0;
    margin-bottom: 0.5em;
    line-height: 1.4;
}
.wedding-details .detail-item span, .wedding-accommodation .detail-item span {
    font-size: 1em;
    color: #2A2A2A;
    line-height: 1.5;
}
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #FFE6EC;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
    flex-shrink: 0;
    flex-basis: 40px;
}
.wedding-details .material-icons, .wedding-accommodation .material-icons {
    color: #F28C9F !important;
    font-size: 24px !important;
    line-height: 40px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}
.wedding-details .detail-item > div, .wedding-accommodation .detail-item > div {
    max-width: calc(100% - 50px);
    word-wrap: break-word;
}
.external-link a {
    color: #191970;
    text-decoration: none;
    font-size: 1em;
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.external-link a:hover {
    color: #2A2A2A;
    text-decoration: underline;
}
.external-link a:active {
    color: #1A1A1A;
}
.wedding-details .detail-item ul, .wedding-accommodation .detail-item ul {
    margin: 0.5em 0 0 0;
    padding-left: 0.5em;
    font-size: 1em;
    color: #2A2A2A;
    list-style: none;
}
.wedding-details .detail-item li, .wedding-accommodation .detail-item li {
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1em;
    display: block;
}
.wedding-details .detail-item li::before, .wedding-accommodation .detail-item li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #191970;
    font-size: 1em;
}
.wedding-abc {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    flex-wrap: wrap;
}
.abc-column {
    flex: 1;
    min-width: 300px;
}
.abc-row {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}
.abc-letter {
    font-size: 1.5em;
    font-weight: 700;
    color: #F28C9F;
    width: 2em;
    flex-shrink: 0;
    line-height: 1;
}
.abc-text {
    font-size: 1em;
    color: #333;
    line-height: 1.5;
    flex: 1;
}
#kontakt {
    position: relative;
}
#kontakt form {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(253, 253, 253, 0.4);
    padding: 3em;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    border: 1px solid rgba(25, 25, 112, 0.2);
    margin-bottom: 0;
    opacity: 1;
    transform: none;
}
#kontakt form.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Calendar Button */
#calendar-button-container {
    display: flex;
    justify-content: center;
    margin-top: 1em;
    margin-bottom: 2em;
}
#calendar-button-container a {
    background: #F9C2CC;
    color: #FDFDFD;
    border: none;
    padding: 1em;
    border-radius: 12px;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
#calendar-button-container a:hover {
    background: #F28C9F;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(242, 140, 159, 0.4);
}
input, textarea, select {
    padding: 1.2em;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1.1em;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
input::placeholder, textarea::placeholder, select::placeholder {
    font-family: 'Inter', sans-serif;
    color: #888;
    opacity: 1;
}
textarea {
    resize: vertical;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
select {
    width: 100%;
    appearance: none;
    background: #ffffff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path fill="%232A2A2A" d="M0 0h12L6 6z"/></svg>') no-repeat right 1em center;
    background-size: 12px;
    font-family: 'Inter', sans-serif;
}
select[name="teilnahme"] {
    color: #888;
}
select[name="teilnahme"] option[value=""][disabled] {
    color: #888;
}
select[name="teilnahme"] option:not([value=""][disabled]) {
    color: #000000;
}
select[name="teilnahme"]:not(:invalid) {
    color: #000000;
}
input:focus, textarea:focus, select:focus {
    border-color: #191970;
    box-shadow: 0 0 10px rgba(25, 25, 112, 0.4);
    outline: none;
}
button {
    background: #F9C2CC;
    color: #FDFDFD;
    border: none;
    padding: 1.5em;
    border-radius: 12px;
    font-size: 1.3em;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
button:hover {
    background: #F28C9F;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(242, 140, 159, 0.4);
}
button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
footer {
    background: #2A2A2A;
    color: #FDFDFD;
    text-align: center;
    padding: 2.5em;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
    margin-bottom: 0;
}
footer.visible {
    opacity: 1;
}
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    animation: fadeInFallback 1s cubic-bezier(0.25, 1, 0.5, 1) 2s forwards;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.wedding-heading {
    text-align: center;
    margin-bottom: 1em;
    padding-bottom: 0;
}
#unsere-geschichte .wedding-heading,
#kontakt .wedding-heading {
    margin-bottom: 0;
    padding-bottom: 0;
}
.wedding-heading h2 {
    font-size: 80px;
    font-weight: 700;
    color: #191970;
    margin-bottom: 0.3em;
}
.wedding-heading p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #888;
    max-width: 600px;
    margin: 0 auto 2.5em;
    line-height: 1.5;
}
.wedding-heading p.additional-text {
    color: #2A2A2A;
    text-align: center;
    max-width: 800px;
    margin: 1em auto 3em;
    font-size: 1.1em;
}
#story-timeline {
    position: relative;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
#story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(25, 25, 112, 0.5);
    left: 50%;
    margin-left: -0.5px;
}
#story-timeline > li {
    position: relative;
    margin-bottom: 2em;
    min-height: 120px;
}
#story-timeline > li:last-child {
    margin-bottom: 0;
}
#story-timeline > li::before,
#story-timeline > li::after {
    content: " ";
    display: table;
}
#story-timeline > li::after {
    clear: both;
}
#story-timeline > li .timeline-panel {
    width: 40%;
    float: left;
    background: rgba(253, 253, 253, 0.4);
    border: 1px solid rgba(25, 25, 112, 0.2);
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-align: left !important;
}
#story-timeline > li .timeline-panel:hover {
    background: rgba(253, 253, 253, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#story-timeline > li .timeline-panel::before {
    position: absolute;
    top: 26px;
    right: -20px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid rgba(25, 25, 112, 0.2);
    border-right: 0 solid rgba(25, 25, 112, 0.2);
    border-bottom: 15px solid transparent;
    content: " ";
}
#story-timeline > li .timeline-panel::after {
    position: absolute;
    top: 27px;
    right: -19px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid rgba(253, 253, 253, 0.4);
    border-right: 0 solid rgba(253, 253, 253, 0.4);
    border-bottom: 14px solid transparent;
    content: " ";
}
#story-timeline > li .timeline-badge {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 3px solid #fff;
}
#story-timeline > li .timeline-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#story-timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}
#story-timeline > li.timeline-inverted > .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -20px;
    right: auto;
}
#story-timeline > li.timeline-inverted > .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -19px;
    right: auto;
}
.timeline-panel h4 {
    margin-top: 0;
    margin-bottom: 0;
    color: #191970;
    font-size: 1.2em;
    font-weight: bold;
}
.timeline-panel span {
    font-size: 1em;
    color: #888;
    display: block;
    margin-bottom: 5px;
}
.timeline-panel p {
    font-size: 0.9em;
    color: #2A2A2A;
    line-height: 1.5;
}
.schedule-timeline {
    position: relative;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.schedule-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(25, 25, 112, 0.5);
    left: 50%;
    margin-left: -0.5px;
}
.schedule-item {
    position: relative;
    margin-bottom: 2em;
    min-height: 60px;
}
.schedule-item:last-child {
    margin-bottom: 0;
}
.schedule-item::before,
.schedule-item::after {
    content: " ";
    display: table;
}
.schedule-item::after {
    clear: both;
}
.schedule-content {
    width: 40%;
    float: left;
    background: rgba(253, 253, 253, 0.4);
    border: 1px solid rgba(25, 25, 112, 0.2);
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.schedule-content:hover {
    background: rgba(253, 253, 253, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.schedule-content::before {
    position: absolute;
    top: 28px;
    right: -20px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid rgba(25, 25, 112, 0.2);
    border-right: 0 solid rgba(25, 25, 112, 0.2);
    border-bottom: 15px solid transparent;
    content: " ";
}
.schedule-content::after {
    position: absolute;
    top: 29px;
    right: -19px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid rgba(253, 253, 253, 0.4);
    border-right: 0 solid rgba(253, 253, 253, 0.4);
    border-bottom: 14px solid transparent;
    content: " ";
}
.schedule-badge {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -40px;
    background: #FFE6EC;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.schedule-badge .material-icons {
    font-size: 40px;
    color: #F28C9F;
}
.schedule-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.schedule-item.schedule-inverted > .schedule-content {
    float: right;
}
.schedule-item.schedule-inverted > .schedule-content::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -20px;
    right: auto;
}
.schedule-item.schedule-inverted > .schedule-content::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -19px;
    right: auto;
}
.schedule-content h4 {
    margin-top: 0;
    margin-bottom: 0;
    color: #191970;
    font-size: 1.2em;
    font-weight: bold;
}
.schedule-content span {
    font-size: 1em;
    color: #888;
    display: block;
    margin-bottom: 5px;
}
.schedule-content p {
    font-size: 0.9em;
    color: #2A2A2A;
    line-height: 1.5;
}
#kontakt #error-message {
    color: #F28C9F;
    font-size: 1em;
    margin-bottom: 1em;
    text-align: center;
}
@media (max-width: 767px) {
    header h1 {
        font-size: 2em;
    }
    header h1 .name-break {
        display: block;
    }
    .subheading {
        font-size: 1em;
    }
    .countdown-container {
        gap: 1em; /* Reduzierter Abstand zwischen Items */
    }
    .countdown-item {
        min-width: 55px; /* Kleinere Breite für Items */
        padding: 0.3em; /* Weniger Padding */
    }
    .countdown-item span {
        font-size: 1.5em; /* Kleinere Schrift für Zahlen */
    }
    .countdown-item p {
        font-size: 0.7em; /* Kleinere Schrift für Labels */
    }
    #countdown {
        max-width: 320px; /* Kleinere Breite des Containers */
        padding: 1em; /* Weniger Padding */
    }
    .scroll-arrow {
        display: none; /* Scroll-Pfeil ausblenden */
    }
    nav {
        display: none; /* Navigation komplett ausblenden */
    }
	.header-divider {
        max-width: 90%;
    }
    .divider-heart {
        font-size: 2em;
        margin: 0 0.5em;
    }
	
	.couple {
        flex-direction: column;
        align-items: center;
    }
    .person img {
        width: 200px;
        height: 200px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
	
	header {
        background-attachment: scroll; /* Deaktiviere fixed für bessere Performance */
    }
    #story-timeline::before {
        left: 60px;
    }
    #story-timeline > li {
        margin-bottom: 20px;
        min-height: 100px;
    }
    #story-timeline > li .timeline-panel {
        width: calc(100% - 120px);
        float: right;
        padding: 10px 20px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* Reduzierter Schatten */
    }
    #story-timeline > li .timeline-badge {
        width: 80px;
        height: 80px;
        left: 30px;
        margin-left: 0;
        top: 16px;
    }
    #story-timeline > li .timeline-panel::before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -20px;
        right: auto;
    }
    #story-timeline > li .timeline-panel::after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -19px;
        right: auto;
    }
    #story-timeline > li.timeline-inverted > .timeline-panel {
        float: right;
    }
    .schedule-timeline::before {
        left: 30px;
    }
    .schedule-item {
        margin-bottom: 20px;
        min-height: 60px;
    }
    .schedule-content {
        width: calc(100% - 100px);
        float: right;
        padding: 10px 20px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* Reduzierter Schatten */
    }
    .schedule-badge {
        width: 60px;
        height: 60px;
        left: 15px;
        margin-left: 0;
        top: 16px;
    }
    .schedule-badge .material-icons {
        font-size: 30px;
    }
    .schedule-content::before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -20px;
        right: auto;
    }
    .schedule-content::after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -19px;
        right: auto;
    }
    .schedule-item.schedule-inverted > .schedule-content {
        float: right;
    }
}
@media (max-width: 600px) {
    header h1 {
        font-size: 4em;
    }
    header h1 .name-break {
        display: block;
    }
    .subheading {
        font-size: 2em;
    }
    .countdown-container {
        gap: 1em; /* Reduzierter Abstand zwischen Items */
    }
    .countdown-item {
        min-width: 55px; /* Kleinere Breite für Items */
        padding: 0.3em; /* Weniger Padding */
    }
    .countdown-item span {
        font-size: 1.5em; /* Kleinere Schrift für Zahlen */
    }
    .countdown-item p {
        font-size: 0.7em; /* Kleinere Schrift für Labels */
    }
    #countdown {
        max-width: 320px; /* Kleinere Breite des Containers */
        padding: 1em; /* Weniger Padding */
    }
    .scroll-arrow {
        display: none; /* Scroll-Pfeil ausblenden */
    }
    nav {
        display: none; /* Navigation komplett ausblenden */
    }
    .couple {
        flex-direction: column;
        align-items: center;
    }
    .person img {
        width: 200px;
        height: 200px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    .wedding-details .detail-item span, .wedding-accommodation .detail-item span {
        font-size: 0.9em;
    }
    .section h2 {
        font-size: 60px;
    }
    .wedding-heading h2 {
        font-size: 60px;
    }
    #kontakt .wedding-heading h2 {
        font-size: 50px; /* Kleinere Schriftgröße, um Abschneiden zu verhindern */
        margin-bottom: 0.5em; /* Etwas mehr Abstand */
    }
    #weitere-informationen .wedding-heading h2 .name-break {
        display: block;
    }
    #unsere-geschichte .wedding-heading h2 .name-break {
        display: block;
    }
    .header-divider {
        max-width: 90%;
    }
    .divider-heart {
        font-size: 2em;
        margin: 0 0.5em;
    }
    #story-timeline > li .timeline-badge {
        width: 60px;
        height: 60px;
        left: 15px;
    }
    #story-timeline > li .timeline-panel {
        width: calc(100% - 100px);
    }
}
/* Styling für Fehleranzeige */
.error {
    border-color: #F28C9F !important;
}
.custom-link {
    color: #191970;
    text-decoration: none;
    font-size: 1em;
    display: inline-block;
}
.custom-link:hover {
    color: #2A2A2A;
    text-decoration: underline;
}
.custom-link:active {
    color: #1A1A1A;
}