.atg-page-hero {
    position: relative;
    min-height: 42vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fdfaf5;
}

.atg-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 13, 10, 0.16) 0%, rgba(17, 13, 10, 0.68) 100%),
        radial-gradient(circle at top left, rgba(197, 163, 103, 0.18) 0%, transparent 32%);
}

.atg-page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 2.5rem;
}

.atg-breadcrumbs {
    margin-bottom: 1.1rem;
}

.atg-breadcrumbs .mud-breadcrumb-item,
.atg-breadcrumbs .mud-breadcrumb-separator,
.atg-breadcrumbs .mud-breadcrumb-item a {
    color: #f1ead9;
    font-size: 0.95rem;
}

.atg-breadcrumbs .mud-breadcrumb-item a {
    text-decoration: none;
}

.atg-breadcrumbs .mud-breadcrumb-item a:hover {
    color: #ffffff;
}

.atg-breadcrumbs .mud-breadcrumb-separator {
    color: #d1603d;
}

.atg-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--atg-eyebrow-on-canvas, var(--atg-color-secondary-strong));
}

.atg-page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 500;
    margin: 0;
    line-height: 1.02;
    max-width: 12ch;
    text-wrap: balance;
}

.atg-page-hero-subtitle {
    font-size: 1.1rem;
    max-width: 42rem;
    margin-top: 1rem;
    color: rgba(241, 234, 217, 0.96);
    line-height: 1.65;
}

.atg-section {
    padding-block: clamp(3rem, 7vw, 6rem);
}

/* Section intros på mørk side-canvas (ikke inde i lyse kort) */
.atg-main-content .atg-section > .mud-container > .atg-section-intro .atg-section-title,
.atg-main-content .atg-section > .mud-container > .atg-home-menus-intro .atg-section-title {
    color: #fffaf5;
}

.atg-main-content .atg-section > .mud-container > .atg-section-intro .atg-section-lead,
.atg-main-content .atg-section > .mud-container > .atg-section-intro .atg-section-copy,
.atg-main-content .atg-section > .mud-container > .atg-home-menus-intro .atg-section-lead,
.atg-main-content .atg-section > .mud-container > .atg-home-menus-intro .atg-section-copy {
    color: rgba(246, 239, 228, 0.88);
}

.atg-main-content .atg-section > .mud-container > .atg-section-intro a:not(.mud-button-root),
.atg-main-content .atg-section > .mud-container > .atg-home-menus-intro a:not(.mud-button-root) {
    color: var(--atg-color-secondary-strong);
}

/* Lyse story-/signal-paneler skal bruge mørk brødtekst */
.atg-main-content [class$="-story-card"] .atg-section-title,
.atg-main-content [class$="-signals-shell"] .atg-section-title,
.atg-main-content [class$="-process-shell"] .atg-section-title,
.atg-main-content [class$="-briefing-panel"] .atg-section-title {
    color: var(--atg-color-primary);
}

.atg-main-content [class$="-story-card"] .atg-section-lead,
.atg-main-content [class$="-signals-shell"] .atg-section-lead,
.atg-main-content [class$="-process-shell"] .atg-section-lead,
.atg-main-content [class$="-briefing-panel"] .atg-section-lead {
    color: var(--atg-color-ink-soft);
}

.atg-main-content .atg-contact-form-card .atg-section-title,
.atg-main-content [class$="-flow-panel"] .atg-section-title {
    color: var(--atg-color-primary);
}

.atg-main-content .atg-page-hero-eyebrow {
    color: #e8d4b0;
}

.atg-page-lead-section {
    padding-top: clamp(2.1rem, 4vw, 3rem);
}

.atg-section-tight {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}

.atg-divider-flourish {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #c9a96a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

.atg-divider-flourish::before,
.atg-divider-flourish::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.atg-card-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    display: block;
}

.atg-menu-card {
    overflow: hidden;
    border: 1px solid rgba(126, 117, 111, 0.18);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249, 245, 239, 0.98) 100%);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(33, 25, 18, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.atg-menu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 129, 91, 0.24);
    box-shadow: 0 24px 48px rgba(33, 25, 18, 0.1);
}

.atg-menu-card-media {
    display: block;
    overflow: hidden;
    position: relative;
}

.atg-menu-card-media-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(24, 18, 14, 0.74);
    border: 1px solid rgba(246, 241, 232, 0.16);
    color: #f7f0e5;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.atg-menu-card-image {
    transition: transform 0.45s ease, filter 0.3s ease;
}

.atg-menu-card:hover .atg-menu-card-image {
    transform: scale(1.045);
    filter: saturate(1.04);
}

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

.atg-menu-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.atg-menu-card-eyebrow {
    margin-bottom: 0;
}

.atg-menu-card-kicker {
    color: #8b7056;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
}

.atg-menu-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.55rem;
    color: #1a1410;
    line-height: 1.1;
}

.atg-menu-card-summary {
    color: #5c4a3a;
    line-height: 1.68;
    margin: 0 0 1.3rem;
    flex-grow: 1;
}

.atg-menu-card-action-row {
    display: grid;
    gap: 0.55rem;
    margin-top: auto;
}

.atg-menu-card-action-hint {
    color: #6a5a4d;
    font-size: 0.82rem;
    line-height: 1.5;
}

.atg-menu-card-action {
    padding-left: 0 !important;
    text-transform: none !important;
    font-weight: 700 !important;
}

a.atg-menu-card--overlay {
    display: block;
    position: relative;
    text-decoration: none;
    color: #f7f0e5;
    padding: 0;
    min-height: 100%;
    background: #120f0c;
}

a.atg-menu-card--overlay .atg-menu-card-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

a.atg-menu-card--overlay:hover .atg-menu-card-image {
    transform: scale(1.03);
}

.atg-menu-card-brand-logo {
    display: block;
    align-self: flex-start;
    max-width: min(72%, 11.5rem);
    max-height: 3.1rem;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.atg-menu-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 1.35rem 1.5rem 1.5rem;
    background: linear-gradient(
        180deg,
        rgba(12, 10, 8, 0.12) 0%,
        rgba(12, 10, 8, 0.42) 45%,
        rgba(12, 10, 8, 0.9) 100%
    );
    pointer-events: none;
}

.atg-menu-card-overlay-eyebrow {
    color: #e8d4b0;
    margin-bottom: 0.15rem;
}

.atg-menu-card-overlay-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.12;
}

.atg-menu-card-overlay-price {
    margin: 0.15rem 0 0;
    color: rgba(255, 250, 245, 0.92);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.atg-menu-card-overlay-highlights {
    margin: 0.35rem 0 0;
    max-width: min(42rem, 100%);
    color: rgba(255, 250, 245, 0.78);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

/* Hvid CTA på overlay-menukort (forside + kategorisider) */
.atg-cta-on-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.7rem 1.15rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 250, 245, 0.88);
    background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
    color: #1a1410;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.atg-menu-card-overlay-cta {
    margin-top: 0.85rem;
}

a.atg-menu-card--overlay:hover .atg-menu-card-overlay-cta,
a.atg-menu-card--overlay:focus-visible .atg-menu-card-overlay-cta {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

a.atg-menu-card--overlay:focus-visible {
    outline: 2px solid #c9a96a;
    outline-offset: 3px;
}

.atg-section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.atg-section-intro-compact {
    max-width: 680px;
    margin-bottom: 3rem;
}

.atg-section-title {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.1;
}

/* På mørk canvas arver titel/brødtekst --atg-color-on-dark fra .atg-main-content; lyse paneler sættes ovenfor. */

.atg-section-lead,
.atg-section-copy,
.atg-feature-copy {
    font-size: 1.08rem;
    line-height: 1.7;
}

.atg-section-lead {
    margin-top: 1rem;
}

.atg-feature-copy {
    color: #3d2f23;
}

