/* =========================================
   BUTTON WIDGETS
   Änderungsprotokoll: 2026-07-17 | parent-agent | @skill-css-rules, @skill-change-provenance | Klassische 2010er-Buttons ohne Hover-Animationen
   ========================================= */

.base-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-border-highlight);
    outline: none;
    text-decoration: none;
    background: #ffffff;
    color: var(--color-text);
}

.base-button-lg {
    padding: 6px 16px;
    font-size: var(--font-size-base);
}

.base-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid #254a73;
    outline: none;
    text-decoration: none;
    background: linear-gradient(to bottom, #4a7ab0 0%, var(--color-primary) 100%);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-sm);
}

.base-button-primary:hover {
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-hover) 100%);
}

.base-button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.base-button-primary-hidden {
    display: none;
}

.base-button-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 6px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--font-size-base);
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    border: 1px solid #254a73;
    outline: none;
    text-decoration: none;
    background: linear-gradient(to bottom, #4a7ab0 0%, var(--color-primary) 100%);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-sm);
}

.base-button-primary-lg:hover {
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-hover) 100%);
}

.base-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    outline: none;
    text-decoration: none;
    background: #ffffff;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.base-button-secondary:hover {
    background: #ffffff;
    border-color: var(--color-primary);
}

.base-button-secondary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 6px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--font-size-base);
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    outline: none;
    text-decoration: none;
    background: #ffffff;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.base-button-secondary-lg:hover {
    background: #ffffff;
    border-color: var(--color-primary);
}

.base-button-icon-only {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    border-radius: 0;
}

.base-button-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

.base-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.base-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 8px;
    border-radius: 0;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: underline;
    background: transparent;
    color: var(--color-primary);
}

.base-button-ghost:hover {
    color: var(--color-primary-hover);
}

.base-button-ghost-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 6px 10px;
    font-size: var(--font-size-base);
    border-radius: 0;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: underline;
    background: transparent;
    color: var(--color-primary);
}

.base-button-ghost-lg:hover {
    color: var(--color-primary-hover);
}

.base-button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid #990000;
    outline: none;
    text-decoration: none;
    background: linear-gradient(to bottom, #dd4444 0%, var(--color-error) 100%);
    color: var(--color-text-inverse);
}

.base-button-delete:hover {
    background: linear-gradient(to bottom, var(--color-error) 0%, var(--color-error-hover) 100%);
}

.base-button-user-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 0;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    text-decoration: none;
    border: 1px solid #254a73;
}

.base-button-user-initials:hover {
    background: var(--color-primary-hover);
}

/* .base-landing-button | Änderungsprotokoll: 2026-10-01 | subagent-copy-website-style-to-screen | @skill-copy-website-style, @skill-change-provenance | Primary landing CTA */
.base-landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-weight: 800;
    border: 0;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
}

.base-landing-button:hover {
    background: var(--color-primary-hover);
    color: var(--color-text-inverse);
}

/* .base-landing-hero-cta | Änderungsprotokoll: 2026-10-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero Primary CTA nebeneinander */
.base-landing-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 49px;
    padding: 0 14px;
    border-radius: 11px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border: 0;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.base-landing-hero-cta:hover {
    background: var(--color-primary-hover);
    color: var(--color-text-inverse);
}

/* .base-landing-button-ghost | Änderungsprotokoll: 2026-10-01 | subagent-copy-website-style-to-screen | @skill-copy-website-style, @skill-change-provenance | Ghost CTA */
.base-landing-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-weight: 800;
    border: 1px solid var(--color-border-highlight);
    box-shadow: none;
    text-decoration: none;
    cursor: pointer;
}

.base-landing-button-ghost:hover {
    border-color: var(--color-primary);
}

/* .base-landing-hero-cta-ghost | Änderungsprotokoll: 2026-10-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero Ghost CTA nebeneinander */
.base-landing-hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 49px;
    padding: 0 14px;
    border-radius: 11px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border: 1px solid var(--color-border-highlight);
    box-shadow: none;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.base-landing-hero-cta-ghost:hover {
    border-color: var(--color-primary);
}

/* .base-landing-button-nav | Änderungsprotokoll: 2026-10-01 | subagent-copy-website-style-to-screen | @skill-copy-website-style, @skill-change-provenance | Header CTA; mobile ausgeblendet */
.base-landing-button-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-weight: 800;
    border: 0;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    white-space: nowrap;
}

.base-landing-button-nav:hover {
    background: var(--color-primary-hover);
    color: var(--color-text-inverse);
}

/* .base-landing-button-wide | Änderungsprotokoll: 2026-10-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Submit 52px, Letterpress-Feeling */
.base-landing-button-wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 0;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.base-landing-button-wide:hover {
    background: var(--color-primary-hover);
    color: var(--color-text-inverse);
    box-shadow: 0 12px 28px rgba(45, 108, 223, 0.28);
}

.base-landing-button-wide:active {
    transform: translateY(1px);
}

@media (max-width: 850px) {
    .base-landing-button-nav {
        display: none;
    }
}
