﻿:root {
    --bg: #fcf8f5;
    --surface: #ffffff;
    --surface-alt: #f4ece8;
    --text: #0a0e0f;
    --muted: #4b545a;
    --accent: #b81518;
    --accent-strong: #8f1214;
    --border: #e4d8d1;
}

html,
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 20% 0%, #fff8f3 0%, var(--bg) 45%, #f7efea 100%);
    color: var(--text);
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.2;
    border: none;
    outline: none;
}

p {
    margin: 0;
}

.container {
    width: min(1040px, 92%);
    margin: 0 auto;
}

.site-header {
    padding: 2.5rem 0 2rem;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
}

.brand-logo {
    width: 100%;
    border-radius: 0.8rem;
    box-shadow: 0 18px 45px rgba(10, 14, 15, 0.16);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
}

.hero-copy h1 {
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
    margin-bottom: 1rem;
    border: none;
}

.hero-copy p {
    max-width: 58ch;
    color: var(--muted);
    margin-bottom: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.66rem 1rem;
    border-radius: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text);
    color: var(--text);
}

.section {
    padding: 2.4rem 0;
}

.section-alt {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    margin-bottom: 1.1rem;
}

.section-intro {
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.cards-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 1rem;
}

.info-card h3 {
    margin-bottom: 0.7rem;
    color: var(--accent);
}

.info-card p + p {
    margin-top: 0.4rem;
}

.plan-list {
    display: grid;
    gap: 0.9rem;
}

.plan-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--surface);
}

.plan-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.plan-item h3 {
    margin-bottom: 0.25rem;
}

.plan-item p {
    color: var(--muted);
}

.contact-form {
    max-width: 720px;
    display: grid;
    gap: 0.45rem;
}

label {
    margin-top: 0.75rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    border: 1px solid #c8b7ad;
    border-radius: 0.55rem;
    padding: 0.62rem 0.75rem;
    font: inherit;
    background: #fff;
}

.form-control:focus {
    outline: 2px solid #e4a3a4;
    border-color: var(--accent);
}

.submit-btn {
    margin-top: 1rem;
    width: fit-content;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.validation-message {
    color: var(--accent-strong);
    font-size: 0.9rem;
}

.error-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #f5c2c7;
    border-radius: 0.65rem;
    background: #f8d7da;
    color: #842029;
    width: fit-content;
}

.submit-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #bad9c5;
    border-radius: 0.65rem;
    background: #eaf7ee;
    width: fit-content;
}

@media (max-width: 880px) {
    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .brand-logo {
        max-width: 360px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Lektionsplan styling */
.lektionsplan-wrapper {
    width: 100%;
}

.lektionsplan-main-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 0.8rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    transition: background-color 0.2s ease, transform 0.12s ease;
    margin-bottom: 1rem;
}

.lektionsplan-main-toggle:hover {
    background: var(--surface-alt);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 14, 15, 0.1);
}

.lektionsplan-main-toggle h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin: 0;
}

.toggle-icon-large {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.lektionsplan {
    display: grid;
    gap: 0.9rem;
    animation: slideDown 0.3s ease-out;
}

.lektionsplan-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.btn-expand-all {
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--accent);
    transition: background-color 0.2s ease, transform 0.12s ease;
}

.btn-expand-all:hover {
    background: var(--surface-alt);
    transform: translateY(-1px);
}

.modul-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    overflow: hidden;
}

.modul-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    transition: background-color 0.2s ease;
}

.modul-header:hover {
    background: var(--surface-alt);
}

.modul-header h3 {
    color: var(--accent);
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.modul-content {
    padding: 0 1rem 1rem 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lektion-info {
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.manøvre-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manøvre-liste li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text);
}

.manøvre-liste li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.bemærkning {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--surface-alt);
    border-left: 3px solid var(--accent);
    border-radius: 0.4rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Price section styling */
.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(10, 14, 15, 0.12);
}

.price-card-highlight {
    border: 2px solid var(--accent);
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    background: var(--surface-alt);
}

.price-card-header h3 {
    margin-bottom: 0.3rem;
    color: var(--accent);
}

.price-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
}

.price-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-main {
    text-align: center;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--muted);
    margin-left: 0.3rem;
}

.price-per {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-includes {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    line-height: 1.4;
}

.price-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.price-note {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.price-footer {
    text-align: center;
    padding-top: 1rem;
}

.price-footer p {
    margin-bottom: 1rem;
    color: var(--muted);
}

@media (max-width: 880px) {
    .price-cards {
        grid-template-columns: 1fr;
    }
}
