:root {
    color-scheme: dark;
    font-family: "Cormorant Garamond", serif;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #0c0908;
    color: #e8d8be;
    font-size: 19px;
    font-weight: 500;
}
.page {
    max-width: 680px;
    margin: 24px auto;
    background: #17120f;
    border: 1px solid #493a28;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 80px #0009;
}
.hero {
    height: 260px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image:
        linear-gradient(90deg, #09070533, #09070566), url("/bilder/0.jpeg");
    background-color: #1a120c;
    background:
        radial-gradient(ellipse at 50% 85%, #8e6038aa, transparent 50%),
        linear-gradient(135deg, #0a0908, #39281c 45%, #0d0b09);
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
}
.hero:before {
    content: "✦";
    font-size: 180px;
    color: #b08b5020;
    position: absolute;
}
.hero .art {
    z-index: 1;
    color: #eac58b;
    font-size: clamp(50px, 11vw, 92px);
    text-shadow: 0 8px 22px #000;
    letter-spacing: 12px;
}
.hero .sub {
    position: absolute;
    bottom: 18px;
    z-index: 1;
    font:
        500 12px "Cinzel",
        serif;
    letter-spacing: 0.3em;
    color: #d9b77b;
}
.content {
    padding: 24px;
}
.center {
    text-align: center;
}
.eyebrow {
    color: #d9b77b;
    font:
        600 12px "Cinzel",
        serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
h1,
h2 {
    color: #eac58b;
    text-align: center;
    margin: 12px 0;
    font-family: "Cinzel", serif;
}
h1 {
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.25;
}
h2 {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
}
p {
    line-height: 1.65;
    text-align: center;
}
.divider {
    border: 0;
    border-top: 1px solid #765c3c;
    margin: 22px 0;
}
.panel {
    border: 1px solid #8e704a;
    border-radius: 12px;
    padding: 22px;
    margin: 20px 0;
}
.meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #d9b77b;
    font:
        500 12px "Cinzel",
        serif;
    letter-spacing: 0.12em;
}
.hint {
    font-size: 16px;
    color: #c9b89c;
}
input {
    width: 100%;
    padding: 15px;
    border: 1px solid #735b3d;
    background: #29221d;
    color: #fff;
    border-radius: 9px;
    font-size: 18px;
    margin: 10px 0;
}
.guests-label {
    display: block;
    color: #d9b77b;
    font-size: 17px;
    margin-top: 4px;
}
#guests {
    text-align: center;
}
button {
    width: 100%;
    border: 0;
    background: #d9b77b;
    color: #17120f;
    padding: 16px 12px;
    border-radius: 10px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 10px;
}
button:hover {
    background: #f4d29b;
}
button:disabled {
    opacity: 0.5;
    cursor: default;
}
button.secondary {
    background: transparent;
    border: 1px solid #947248;
    color: #e8d8be;
}
.error {
    color: #ff9b91;
    font-size: 16px;
}
.progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px;
    font-family: "Cinzel", serif;
}
.progress span {
    width: 38px;
    height: 5px;
    background: #51412e;
    border-radius: 9px;
}
.progress span.active {
    background: #d9b77b;
}
.invitation {
    text-align: center;
    border: 1px solid #b18a51;
    border-radius: 15px;
    padding: 25px 16px;
}
.invitation .big {
    font-family: "Cinzel", serif;
    font-size: 34px;
    color: #f4d29b;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin: 10px 0;
}
.detail {
    margin: 23px 0;
    line-height: 1.6;
}
.detail strong {
    display: block;
    color: #eac58b;
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.detail a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #8e704a;
    text-underline-offset: 4px;
    transition: color 0.2s;
}
.detail a:hover {
    color: #f4d29b;
    text-decoration-color: #f4d29b;
}
.detail a:focus-visible {
    outline: 2px solid #d9b77b;
    outline-offset: 3px;
}
.footer {
    text-align: center;
    font:
        500 11px "Cinzel",
        serif;
    color: #b9a58a;
    letter-spacing: 0.18em;
    margin-top: 25px;
}
.hidden {
    display: none;
}
@media (max-width: 720px) {
    .page {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
    .hero {
        height: 210px;
    }
    .content {
        padding: 20px;
    }
}

.hero {
    background-image:
        linear-gradient(90deg, #09070555, #09070577), url("/bilder/0.jpeg");
    background-size: cover;
    background-position: center;
}
.hero:before {
    display: none;
}
.hero .art {
    font-size: 0;
}
.hero .sub {
    background: #100b09aa;
    padding: 7px 14px;
    border-radius: 30px;
}
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 2px solid #b18a51;
    pointer-events: none;
}
