/* ========================================
   BRYLLUP – Signe & Christian
   Elegant guld/creme tema
   ======================================== */


/* ========================================
   1. VARIABLER & RESET
   ======================================== */
:root {
    --gold: #b8956a;
    --gold-light: #d4b896;
    --gold-dark: #8a6d4b;
    --cream: #faf6f0;
    --cream-dark: #f0e8db;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-light: #6b6156;
    --text-muted: #7a6e62;
    --border: #e8ddd0;
    --shadow: rgba(139, 109, 75, 0.08);
    --shadow-strong: rgba(139, 109, 75, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


/* ========================================
   2. BASE / TYPOGRAFI
   ======================================== */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    word-break: break-word;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

/* Links i indholdsområdet - underline for tilgængelighed */
.info-card a,
.toastmaster-info a,
.section p a,
.detail-item a,
.contact-item a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.info-card a:hover,
.toastmaster-info a:hover,
.section p a:hover,
.detail-item a:hover,
.contact-item a:hover {
    text-decoration-thickness: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ========================================
   3. UTILITY CLASSES
   ======================================== */
.hidden {
    display: none;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}


/* ========================================
   4. LAYOUT (container, grid, two-col)
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text);
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 0;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}


/* ========================================
   5. FÆLLES KOMPONENTER
   ======================================== */

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
    touch-action: manipulation;
}

.btn-hero {
    background: var(--gold-dark);
    color: var(--white);
}

.btn-primary {
    background: var(--gold-dark);
    color: var(--white);
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
    padding: 12px 32px;
    margin-top: 20px;
}

.btn-elegant {
    display: block;
    width: fit-content;
    padding: 10px 24px;
    background: transparent;
    color: var(--gold-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid var(--gold);
    border-radius: 30px;
    transition: all var(--transition);
    margin-top: 16px;
}

.btn-elegant:hover {
    background: var(--gold);
    color: var(--white);
}

/* --- Info Cards --- */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.section-alt .info-card {
    background: var(--white);
}

.info-card-centered {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.info-card-centered .price-table {
    text-align: left;
}

.overnatning-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text);
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.highlight-card {
    border: 2px solid var(--gold);
    background: linear-gradient(to bottom right, var(--white), #fdf8f2);
}

/* --- Detail List --- */
.detail-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}

/* --- Card List --- */
.card-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.card-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* --- Text Highlight --- */
.text-highlight {
    background: var(--cream);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
    font-size: 0.9rem;
}

/* --- Price Table --- */
.price-table {
    margin: 16px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-row strong {
    color: var(--text);
    white-space: nowrap;
}

.price-row.sub {
    padding-left: 20px;
}

.price-row.sub span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 12px;
}

/* --- Map --- */
.map-container {
    text-align: center;
}

.map-container h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    display: block;
}

/* --- Image Gallery --- */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-link {
    position: relative;
    display: block;
    text-decoration: none;
}

.gallery-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(184, 149, 106, 0);
    transition: background 0.3s ease;
    border-radius: var(--radius);
}

/* --- Checklist --- */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checklist li {
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.deadline-date {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.confirm-note {
    margin-top: 18px;
    padding: 12px 16px;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.confirm-note strong {
    color: var(--gold-dark, var(--gold));
    letter-spacing: 0.5px;
}

/* --- Accommodation Extra --- */
.accommodation-extra {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.accommodation-extra h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6d4b' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: italic;
}

/* Formular fejlhåndtering */
.form-group input.is-error,
.form-group textarea.is-error,
.form-group select.is-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.form-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-error::before {
    content: '⚠';
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-light);
    padding: 8px 0;
    min-height: 44px;
    touch-action: manipulation;
}

.radio-label input[type="radio"] {
    accent-color: var(--gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* --- Back Link --- */
.back-link {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.footer-date {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-venue {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-message {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}


/* ========================================
   6. INDEX.HTML – Specifikke styles
   ======================================== */

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('images/hero.webp') center/cover no-repeat,
        linear-gradient(135deg, #3d3426 0%, #2c2416 100%);
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 22, 0.45) 0%,
        rgba(44, 36, 22, 0.55) 50%,
        rgba(44, 36, 22, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #e8d4b8;
    margin-bottom: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-names {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-names .amp {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
    display: inline-block;
    margin: 0 12px;
}

.hero-date {
    font-size: 1.35rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8d4b8;
    margin-bottom: 24px;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.countdown-unit {
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-top: 4px;
}

/* --- Timeline / Program --- */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 54px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-light);
}

.timeline-item {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-time {
    flex-shrink: 0;
    width: 110px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-align: right;
    padding-top: 4px;
    position: relative;
}

.timeline-time::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 3px solid var(--cream);
    border-radius: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border);
    flex: 1;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Toastmaster --- */
.toastmaster-card {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 36px;
    align-items: flex-start;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toastmaster-info h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.toastmaster-role {
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 16px !important;
}

.toastmaster-info p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.contact-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item a {
    font-weight: 600;
    color: var(--gold-dark);
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--gold);
}

/* --- MobilePay --- */
.mobilepay-box {
    background: var(--cream);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}

.mobilepay-label {
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.mobilepay-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobilepay-number:hover {
    background: rgba(184, 149, 106, 0.15);
}

.mobilepay-number:active {
    background: rgba(184, 149, 106, 0.25);
}

.mobilepay-number.copied {
    background: #d4edda;
    color: #155724;
}

.mobilepay-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0 !important;
}

/* --- RSVP Form --- */
.rsvp-form {
    max-width: 600px;
    margin: 0 auto 60px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

/* --- Guest List --- */
.guest-list-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.guest-list-section h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.guest-list-info {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.guest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.guest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-align: left;
}

.guest-status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guest-status.attending {
    background: #e8f5e9;
    color: #388e3c;
}

.guest-status.not-attending {
    background: #fce4ec;
    color: #c62828;
}

.guest-name {
    font-weight: 600;
    color: var(--text);
}

.guest-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Room Grid / Overnatningsplan --- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.room-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.room-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 6px;
}

.room-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.room-guests {
    font-weight: 600;
    color: var(--text);
}

.room-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.room-section-title {
    font-size: 1.25rem;
    color: var(--gold-dark);
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-light);
}

.room-section-title:first-of-type {
    margin-top: 0;
}


/* ========================================
   7. VAERELSER.HTML – Specifikke styles
   ======================================== */

/* --- Page Hero (undersider) --- */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/natur-og-omegn.webp') center/cover no-repeat;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 22, 0.5) 0%,
        rgba(44, 36, 22, 0.65) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.page-hero-content p {
    font-size: 1.15rem;
    color: var(--gold-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-rooms {
    background-image: url('images/vaerelser.webp');
}

/* --- Floorplan --- */
.floorplan-section {
    margin-top: 20px;
}

.floorplan-section h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 8px;
}

.floorplan-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.floorplan-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-strong);
    border: 1px solid var(--border);
}

.floorplan-img {
    width: 100%;
    display: block;
}

.room-hotspot {
    position: absolute;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
    touch-action: manipulation;
}

.hotspot-label {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--text);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
}

/* --- Room Tooltip --- */
.room-tooltip {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 340px;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 12px 40px var(--shadow-strong);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.room-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    touch-action: manipulation;
}

.tooltip-close:hover {
    color: var(--text);
}

.tooltip-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2px;
}

.tooltip-years {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.tooltip-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.tooltip-room {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* --- Author Grid & Cards --- */
.author-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.author-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.author-card.highlighted {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.2), 0 8px 30px var(--shadow-strong);
}

.author-initial {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info h3 {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.author-years {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px !important;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author-room-info {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-bottom: 0 !important;
}


/* ========================================
   8. NATUR.HTML – Specifikke styles
   ======================================== */

.nature-highlight {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    padding-top: 50px;
}

.nature-badge {
    position: absolute;
    top: -1px;
    left: 36px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

@media (max-width: 600px) {
    .info-card.nature-highlight {
        padding-top: 55px;
    }

    .nature-badge {
        left: 16px;
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .trail-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .trail-stat {
        flex: 1 1 40%;
        min-width: 80px;
    }
}

.nature-grid {
    margin-top: 0;
}

.trail-card {
    max-width: 800px;
    margin: 0 auto 40px;
}

.trail-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trail-stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 6px;
}

.trail-notice {
    background: var(--cream);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 0 !important;
}

/* --- Interactive Trail Map --- */
.trail-map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-strong);
    border: 1px solid var(--border);
    background: var(--white);
}

.trail-map {
    width: 100%;
    height: 500px;
}

.trail-map-legend {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legend-color {
    display: inline-block;
    width: 24px;
    height: 4px;
    border-radius: 2px;
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--border);
}


/* ========================================
   9. FOCUS STYLES & ACCESSIBILITY
   ======================================== */

/* Skip-link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--gold-dark);
    color: var(--white);
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(184, 149, 106, 0.2);
}

.nav-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.25);
}


/* ========================================
   10. ANIMATIONS (on scroll)
   ======================================== */
.section-header,
.info-card,
.timeline-item,
.toastmaster-card,
.room-card,
.rsvp-form,
.guest-list-section,
.two-col,
.map-container,
.trail-map-container,
.accommodation-extra,
.image-gallery {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .section-header,
    .info-card,
    .timeline-item,
    .toastmaster-card,
    .room-card,
    .rsvp-form,
    .guest-list-section,
    .two-col,
    .map-container,
    .trail-map-container,
    .accommodation-extra,
    .image-gallery {
        opacity: 1;
        transform: none;
    }
}


/* ========================================
   11. HOVER EFFECTS (kun enheder med hover)
   ======================================== */
@media (hover: hover) {
    .info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px var(--shadow-strong);
    }

    .room-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px var(--shadow-strong);
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

    .gallery-link:hover::after {
        background: rgba(184, 149, 106, 0.15);
    }

    .author-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px var(--shadow-strong);
    }

    .btn-hero:hover {
        background: #7a5d3b;
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(184, 149, 106, 0.35);
    }

    .btn-primary:hover {
        background: #7a5d3b;
        color: var(--white);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(184, 149, 106, 0.3);
    }

    .btn-outline:hover {
        background: var(--gold);
        color: var(--white);
        transform: translateY(-1px);
    }

    .room-hotspot:hover {
        border-color: var(--gold);
        background: rgba(184, 149, 106, 0.2);
        box-shadow: 0 0 16px rgba(184, 149, 106, 0.4);
    }

    .room-hotspot:hover .hotspot-label {
        display: block;
    }
}


/* ========================================
   12. RESPONSIVE – Samlet
   ======================================== */

/* --- 900px og under --- */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 34px;
    }

    .timeline-time {
        width: 70px;
        font-size: 0.95rem;
    }

    .timeline-time::after {
        right: -20px;
    }

    .author-grid {
        grid-template-columns: 1fr;
    }

    .room-tooltip {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 16px;
    }
}

/* --- 768px og under (tablet/mobil) --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* Hero */
    .hero-names {
        font-size: 2.2rem;
    }

    .hero-countdown {
        gap: 16px;
    }

    .countdown-number {
        font-size: 1.75rem;
    }

    /* Cards */
    .info-card {
        padding: 24px;
    }

    /* Images */
    .image-frame img {
        height: 250px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 180px;
    }

    /* Map */
    .map-wrapper iframe {
        height: 280px;
    }

    .trail-map {
        height: 350px;
    }

    .trail-map-legend {
        gap: 16px;
        padding: 12px 16px;
    }

    /* Toastmaster */
    .toastmaster-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
    }

    /* RSVP */
    .rsvp-form {
        padding: 24px 18px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    /* Room Grid */
    .room-grid {
        grid-template-columns: 1fr;
    }

    .room-card {
        padding: 20px;
    }

    /* Accommodation */
    .accommodation-extra {
        padding: 24px;
    }

    /* MobilePay */
    .mobilepay-box {
        padding: 16px;
    }

    .mobilepay-number {
        font-size: 1.4rem;
    }

    /* Author Cards */
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hotspot-label {
        font-size: 0.65rem;
    }

    /* Footer */
    .site-footer {
        padding: 40px 0;
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .footer-names {
        font-size: 1.6rem;
    }
}

/* --- 480px og under (lille mobil) --- */
@media (max-width: 480px) {
    html {
        scroll-padding-top: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-lead {
        font-size: 1rem;
    }

    /* Hero */
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-date {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hero-countdown {
        gap: 12px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    /* Cards */
    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1.2rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        display: none;
    }

    .timeline-time::after {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-time {
        text-align: left;
        width: auto;
    }

    .timeline-content {
        padding: 18px;
    }

    /* RSVP */
    .rsvp-form {
        padding: 20px 14px;
    }

    /* Images */
    .image-frame img {
        height: 200px;
    }

    .gallery-item img {
        height: 160px;
    }

    /* Map */
    .map-wrapper iframe {
        height: 220px;
    }

    .trail-map {
        height: 300px;
    }

    .trail-map-legend {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }

    /* Buttons */
    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 14px;
    }

    /* Page Hero (undersider) */
    .page-hero {
        min-height: 40vh;
        margin-top: 60px;
    }

    /* Footer */
    .site-footer {
        padding: 32px 0;
        padding-bottom: calc(32px + env(safe-area-inset-bottom));
    }

    .footer-names {
        font-size: 1.4rem;
    }

    .footer-date {
        font-size: 0.95rem;
    }
}
