/*
 * elitebadminton — grundtypografi, knapper og hjælpeklasser.
 * Indlæses efter bootstrap_packages tema (sidste lag), så den vinder uden !important.
 */
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: #fff;
    color: var(--veb-ink);
    font-family: var(--veb-font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
    font-family: var(--veb-font-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
    text-transform: uppercase;
    color: inherit;
    text-wrap: balance;
}
h1, .h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; }
h2, .h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1; }
h3, .h3 { font-size: 26px; line-height: 1.08; }
h4, .h4 { font-size: 20px; }
p { text-wrap: pretty; }

a { color: var(--veb-blue); text-underline-offset: 3px; }
a:hover { color: var(--veb-blue-hover); }
:focus-visible {
    outline: 3px solid var(--veb-blue);
    outline-offset: 2px;
}

/* Lille overskrift: 13 px, 700, versaler, .08em, dæmpet */
.veb-overline {
    margin: 0;
    font-family: var(--veb-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--veb-muted);
}
.veb-overline--red { color: var(--veb-red); }

/* Sektionsoverskrift: Barlow 44 px, blå */
.veb-section-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1;
    color: var(--veb-blue);
}

/* Knapper */
.veb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: var(--veb-blue);
    color: #fff;
    font: 600 16px/1.2 var(--veb-font-body);
    text-decoration: none;
    cursor: pointer;
}
.veb-btn:hover { background: var(--veb-blue-hover); color: #fff; }

.veb-morelink { font-weight: 600; }

/* Større klikflade på tekstlinks (≈44 px høj) uden at flytte layoutet */
.veb-morelink,
.veb-footer__link:not(.veb-footer__social) {
    display: inline-block;
    padding-block: 10px;
    margin-block: -10px;
}
.veb-contact a {
    align-self: flex-start;
    padding-block: 6px;
    margin-block: -6px;
}

/* Hjemme/ude-mærker */
.veb-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--veb-radius-s);
    background: var(--veb-line);
    color: var(--veb-ink-2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}
.veb-tag--home { background: var(--veb-green-strong); color: #fff; }

/* Hjælpeklasser */
.veb-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--veb-container);
    margin-inline: auto;
    padding-inline: var(--veb-gutter);
}
.veb-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.veb-skiplink {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--veb-blue-dark);
    color: #fff;
    font-weight: 700;
}
.veb-skiplink:focus { top: 16px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
    /* content_animations (AOS): indholdet står bare der, uden at glide ind */
    [data-aos] { opacity: 1 !important; transform: none !important; }
}
