/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: var(--small);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--text-white);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
}

.btn-primary:hover {
    background: #d06a2e;
}

.btn-compact {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    gap: 0.5rem;
    align-self: flex-start;
}

.btn-compact .btn-arrow {
    width: 18px;
    height: 18px;
}

.btn-compact .btn-icon-dark { opacity: 0; }
.btn-compact .btn-icon-light { opacity: 1; }

.btn-outline {
    background: transparent;
    color: var(--text-white);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

.btn-dark {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
}

.btn-dark:hover {
    background: var(--bg-darker);
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 22px;
    height: 22px;
}

.btn-icon-light {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s;
}

.btn:hover .btn-icon-dark { opacity: 0; }
.btn:hover .btn-icon-light { opacity: 1; }

.btn-text-swap {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* "Mehr zu mir" button for about cards */
.btn-mehr {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s;
}

.btn-mehr:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.btn-mehr-arrow {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.btn-mehr:hover .btn-mehr-arrow {
    transform: rotate(45deg);
}

/* Hero CTA button */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent-orange);
    color: var(--text-white);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: var(--small);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-hero:hover {
    background: #d06a2e;
}

.btn-hero-arrow {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.btn-hero:hover .btn-hero-arrow {
    transform: translateX(4px);
}

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-dropdown {
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-toggle {
    width: 100%;
    background: none;
    border: none;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
}

.mobile-nav-arrow {
    transition: transform 0.3s;
}

.mobile-nav-dropdown.open .mobile-nav-arrow {
    transform: rotate(180deg);
}

.mobile-nav-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-dropdown.open .mobile-nav-sub {
    max-height: 200px;
}

.mobile-nav-uber-link {
    color: var(--text-white);
    text-decoration: none;
    flex: 1;
}

.mobile-nav-arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-white);
}

.mobile-nav-sublink {
    padding-left: 1.25rem;
    font-size: 1rem;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-sublink:last-child {
    border-bottom: none;
}

.mobile-nav-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
}

.mobile-nav-contact h4 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: var(--h5);
}

.mobile-nav-contact a {
    display: block;
    color: var(--text-gray);
    font-size: var(--small);
    margin-bottom: 0.5rem;
}

/* ---- LOADING / UTILITY ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-dark { color: var(--text-dark); }

/* ---- BLOG TOGGLE LABEL ---- */
.features-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-green);
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: var(--small);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.features-label-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--text-white);
}

/* ---- BLOG TOGGLE BUTTON ---- */
.features-toggle {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0.5rem 0.6rem 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: var(--small);
    font-weight: 500;
    margin-bottom: var(--space-md);
    text-decoration: none;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    width: fit-content;
}

.features-toggle span:first-child {
    transition: transform 0.35s ease;
    padding-right: 0.6rem;
}

.features-toggle:hover {
    background: var(--bg-darker);
}

.features-toggle:hover span:first-child {
    transform: translateX(34px);
}

.features-toggle-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: block;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.features-toggle:hover .features-toggle-circle {
    transform: translateX(calc(-100% - 0.6rem));
}

.footer-toggle {
    background: var(--text-white);
    color: var(--text-dark);
}

.footer-toggle:hover {
    background: var(--text-white);
}

.footer-toggle:hover span:first-child {
    transform: translateX(34px);
}

.footer-toggle:hover .features-toggle-circle {
    transform: translateX(calc(-100% - 3.2rem));
}

/* ---- ABOUT CARD JUNCTION ---- */
.about-card-junction {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    margin: -0.5rem 0;
    position: relative;
    z-index: 2;
}

.junction-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text-dark);
}

.junction-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 36px rgba(0,0,0,0.25);
}

.junction-btn svg {
    transition: transform 0.3s;
}

/* ---- EXPAND / COLLAPSE BUTTON ---- */
.about-desc-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.about-desc-expand p {
    color: var(--text-gray);
    font-size: var(--small);
    line-height: 1.7;
    padding-top: 0.25rem;
}

.btn-expand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem 0.45rem 1rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-expand:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.btn-expand-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s;
}

.btn-expand-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-white);
    transition: transform 0.3s;
}

.btn-expand.expanded .btn-expand-toggle {
    transform: rotate(180deg);
}

/* ---- NAV TOOLBAR (lang + theme + account in one row) ---- */
.nav-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    transition: background 0.2s;
}

.nav-account-btn:hover {
    background: rgba(255,255,255,0.18);
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 2px;
}

.lang-btn {
    padding: 4px 8px;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}

.lang-btn:hover {
    color: var(--text-white);
}

.lang-btn.active {
    background: rgba(255,255,255,0.2);
    color: var(--text-white);
    box-shadow: none;
}

.mobile-lang-switcher {
    display: flex;
    gap: 4px;
    margin-top: 1.25rem;
    padding: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    width: fit-content;
}

.mobile-lang-switcher .lang-btn {
    color: var(--text-gray);
    padding: 6px 12px;
    font-size: 0.8rem;
}

.mobile-lang-switcher .lang-btn:hover {
    color: var(--text-white);
}

.mobile-lang-switcher .lang-btn.active {
    background: rgba(255,255,255,0.15);
    color: var(--text-white);
    box-shadow: none;
}

/* ---- THEME TOGGLE (inline with lang switcher) ---- */
.theme-toggle-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    color: rgba(255,255,255,0.6);
    border-left: 1px solid rgba(255,255,255,0.12);
    margin-left: 1px;
}

.theme-toggle-inline:hover {
    color: var(--text-white);
}

.theme-toggle-icon {
    width: 14px;
    height: 14px;
}

.icon-sun { display: none; }
.icon-moon { display: block; }

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px 10px;
}

.mobile-theme-toggle .theme-toggle-icon {
    width: 16px;
    height: 16px;
}

.mobile-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 6px 10px;
}

/* ---- BOOKMARK BUTTON ---- */
.bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.bookmark-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    color: var(--accent-orange);
}

.bookmark-btn.bookmarked .bookmark-icon {
    fill: var(--accent-orange);
    stroke: var(--accent-orange);
}

.blog-card-img {
    position: relative;
}

.bookmark-btn-post {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    background: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
    margin-top: 1rem;
    border: 1px solid var(--border-light, #e5e5e5);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
}

.bookmark-btn-post:hover {
    background: rgba(0,0,0,0.03);
    transform: none;
}

.bookmark-btn-post .bookmark-label {
    pointer-events: none;
}

/* ---- KONTO CARDS ---- */
.konto-card {
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.konto-card input[type="text"],
.konto-card input[type="email"],
.konto-card input[type="password"] {
    border-color: #ccc !important;
}
.konto-card--danger {
    background: #fff5f5 !important;
}

/* ---- SAVED ARTICLES (Konto) ---- */
.saved-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.saved-article-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.saved-article-item:hover {
    background: rgba(0,0,0,0.03);
}

.saved-article-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.saved-article-img {
    width: 80px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.saved-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saved-article-info {
    flex: 1;
    min-width: 0;
}

.saved-article-info h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-article-date {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.saved-article-remove {
    position: static;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.saved-article-item.saved-hidden {
    display: none;
}

.saved-toggle-btn:hover {
    background: rgba(0,0,0,0.04) !important;
}

.my-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.my-comment-item.comment-hidden {
    display: none;
}

.my-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.my-comment-item:hover {
    background: rgba(0,0,0,0.03);
}

.my-comment-body {
    flex: 1;
    min-width: 0;
}

.my-comment-text {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.my-comment-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.my-comment-post {
    color: var(--accent-green);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
}

.my-comment-post:hover {
    text-decoration: underline;
}

.my-comment-date {
    white-space: nowrap;
}

.my-comment-meta .my-comment-post::after {
    content: "\00b7";
    margin-left: 0.5rem;
    color: var(--text-gray);
}

.my-comment-delete {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: color 0.2s;
}

.my-comment-delete:hover {
    color: #c0392b;
}

/* ---- Comment verified badge ---- */
.comment-verified {
    display: inline-flex;
    align-items: center;
    margin-left: 0.15rem;
    cursor: help;
    vertical-align: middle;
}

/* ---- Comment profession ---- */
.comment-profession {
    font-size: 0.75rem;
    color: var(--text-gray);
    background: rgba(0,0,0,0.04);
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    margin-left: 0.2rem;
}
.comment-profession--verified {
    color: #4a7c59;
    background: rgba(74,124,89,0.08);
}

/* ---- Comment actions row ---- */
.comment-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

/* ---- Comment voting ---- */
.comment-votes,
.comment-votes-static {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: color 0.15s, background 0.15s;
}
.vote-btn:hover {
    background: rgba(0,0,0,0.05);
}
.vote-btn.voted.vote-like {
    color: var(--accent-green);
}
.vote-btn.voted.vote-dislike {
    color: #c0392b;
}
.vote-btn svg {
    flex-shrink: 0;
}
.vote-count {
    font-size: 0.8rem;
    min-width: 0.5rem;
}

.vote-btn-static {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #999;
    font-size: 0.8rem;
}
.vote-btn-static svg {
    flex-shrink: 0;
}

/* ---- Comment report button ---- */
.comment-report-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-family: inherit;
    transition: color 0.15s;
}
.comment-report-btn:hover {
    color: #c0392b;
}
.comment-report-btn.reported,
.comment-report-btn:disabled {
    color: #c0392b;
    cursor: default;
    opacity: 0.7;
}
