:root {
    --primary: var(--highlight-teal, #00D2B5);
    --primary-blue: #1E293B; /* Slate 800 */
    --highlight-teal: #00D2B5; /* Minty/Carbetic accent */
    --bg-gradient: linear-gradient(135deg, #F0F4F8 0%, #E2E8F0 100%);
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: 1px solid rgba(255, 255, 255, 0.6);
    --text-dark: #334155; /* Slate 700 */
    --text-muted: #64748B; /* Slate 500 */
    --border-radius: 28px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #EBF0F5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100005;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-video,
.splash-fallback-img {
    width: 100%;
    height: 100%;
    max-width: 480px;
    max-height: 100vh;
    object-fit: contain;
    background: transparent !important;
}

.splash-logo {
    width: 180px;
    background: transparent !important;
    animation: pulse 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.app-header {
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 70px;
    max-width: 60vw;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .app-header {
        padding: 12px 14px;
    }
    .logo {
        flex-shrink: 0;
    }
    .logo img {
        height: 38px;
        max-width: 140px;
        object-fit: contain;
    }
    .header-actions {
        gap: 8px;
    }
    .scan-counter {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
    }
}

.logo .highlight {
    color: var(--highlight-teal);
}

.scan-counter {
    background: linear-gradient(135deg, #00D2B5, #00A68F);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 210, 181, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-menu {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.btn-menu:active {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Fullscreen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    background: var(--card-bg);
    width: 280px;
    height: 100%;
    padding: 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.menu-overlay.active .menu-content {
    transform: translateX(0);
}

.btn-close-menu {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 32px;
    padding: 8px;
    border-radius: 50%;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: var(--card-border);
    border-radius: 16px;
    color: #1A2535;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    width: 100%;
    text-align: left;
}

.menu-item:hover,
.menu-item:active {
    background: #F0F4F8;
    transform: scale(0.98);
}

.menu-chevron {
    margin-left: auto;
    color: #C8D8E8;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.menu-icon {
    font-size: 20px;
    color: #8BA4BC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-content {
    flex: 1;
    padding: 90px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.view {
    display: none;
    width: 100%;
    max-width: 500px;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.view.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: var(--card-bg);
    border: var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card h2 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Opener Specific */
.tutorial-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.tutorial-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tutorial-step span {
    font-weight: 800;
    color: var(--highlight-teal);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutorial-step p {
    font-size: 14px !important;
    margin-bottom: 0 !important;
    color: var(--primary-blue) !important;
    font-weight: 600;
}

.opener-hero {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    object-fit: cover;
    height: 200px;
}

.jar-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.jar-container img.bg-jar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jar-container img.overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; /* Größe des Logos auf dem Glas */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 18px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background-color: var(--highlight-teal);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 210, 181, 0.25);
}

.btn-primary:hover {
    background-color: #00E6C7;
    box-shadow: 0 10px 24px rgba(0, 210, 181, 0.35);
}

@media (max-width: 350px) {
    .btn-large {
        font-size: 14px;
        padding: 14px;
    }
}

/* Onboarding: Topbar (Logo, Premium-Badge, Menü) ausblenden für ablenkungsfreien Einstieg */
body[data-current-view="onboarding"] .app-header,
body:has(#view-onboarding.active) .app-header {
    display: none !important;
}

body[data-current-view="onboarding"] .app-content,
body:has(#view-onboarding.active) .app-content {
    padding-top: 24px;
}

.btn-ghost-onboarding:hover,
.btn-ghost-onboarding:active {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

/* Onboarding Modal Specific Override */
#onboardingModal .card {
    background: rgba(255, 255, 255, 0.95); /* Weniger transparent für bessere Lesbarkeit */
}

.btn-large {
    font-size: 18px;
    padding: 20px;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-text {
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(0,0,0,0.12);
    color: var(--primary-blue);
    font-weight: 600;
}

.icon {
    font-size: 22px;
    margin-right: 12px;
}

/* Inputs & Forms */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-blue);
}

.input-group input[type="number"] {
    width: 100%;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    outline: none;
    transition: all 0.2s;
}

.input-group input[type="number"]:focus {
    border-color: var(--highlight-teal);
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 210, 181, 0.1);
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    overflow: hidden;
    padding: 4px;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 6px;
    margin: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.3s;
    border-radius: 100px;
    white-space: nowrap;
}

.toggle-switch input:checked + label {
    background-color: white;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Loader */
.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(0, 210, 181, 0.1);
    border-top-color: var(--highlight-teal);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    margin: 0 auto 24px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Result View */
.success-icon {
    font-size: 56px;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

.result-box {
    background: linear-gradient(135deg, var(--highlight-teal), #00A68F);
    color: white;
    padding: 36px 20px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 24px rgba(0, 210, 181, 0.2);
}

.result-grams {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.result-label {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
}

.info-box {
    background-color: var(--bg-light);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Paywall */
.price-tag {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 24px 0;
    letter-spacing: -1px;
}

.small-text {
    font-size: 14px !important;
    margin-top: 16px;
}

/* Account Tiers */
.tiers-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.tier-card {
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: visible;
}

.tier-card.active-tier {
    border-color: var(--highlight-teal);
    background-color: rgba(0, 210, 181, 0.05);
}

.tier-card.premium-tier {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-color: #0d9488;
}

.tier-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--highlight-teal);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,210,181,0.3);
}

.tier-badge.premium {
    background: #0d9488;
    box-shadow: 0 4px 8px rgba(13,148,136,0.3);
}

.tier-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--highlight-teal);
    margin-bottom: 16px;
}

.premium-tier .tier-price {
    color: #0d9488;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
}

.tier-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-features li.feature-locked {
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s ease;
    border-radius: 6px;
    padding: 2px 4px;
    margin-left: -4px;
}

.tier-features li.feature-locked:hover {
    background: rgba(239, 68, 68, 0.08);
}

/* Toast Notification for Back Button Exit */
#exitToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 41, 59, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#exitToast.show {
    opacity: 1;
}

/* Login Modal Animations */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Onboarding Dots */
.ob-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.ob-dot-active {
    width: 24px;
    border-radius: 4px;
    background: var(--highlight-teal);
}

/* Source Badges for Food Search */
.source-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-top: 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.source-badge--off {
    background-color: rgba(33, 150, 243, 0.1);
    color: #1976d2;
}

.source-badge--bls {
    background-color: rgba(76, 175, 80, 0.1);
    color: #388e3c;
}

.source-badge--community {
    background-color: rgba(255, 152, 0, 0.1);
    color: #f57c00;
}

/* Manuelle Tagebucheingabe Styling */
#btn-add-manual-entry {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #334155 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
    transition: all 0.2s ease;
}

#btn-add-manual-entry:active {
    transform: scale(0.98);
}

.manual-diary-form {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.manual-diary-form.visible {
    animation: slideDownFade 0.3s ease-out forwards;
}

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

/* Modal Sheet / Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 24px;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
}

.btn-close-modal {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
}

@keyframes dictatePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 16px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}
/* Bei Ergebnis-Ansichten nach Scan/Schätzung den Floating Help-Button ausblenden */
body:has(#view-result.active) #btnHelpFloating,
body:has(#view-meal-result.active) #btnHelpFloating {
    display: none !important;
}

/* ─── Hilfe-Center (Dark Theme Bottom Sheet) ─── */
.help-sheet-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10002;
    align-items: flex-end;
    justify-content: center;
}

@keyframes slideUpHelp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.help-sheet-box {
    background: #1a2332;
    color: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.5);
    animation: slideUpHelp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.help-sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 16px;
    flex-shrink: 0;
}

.help-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 210, 181, 0.3);
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.help-sheet-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #00D2B5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-btn-back {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-btn-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.help-sheet-body {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
}

.help-topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.help-topic-item:hover,
.help-topic-item:active {
    background: rgba(0, 210, 181, 0.1);
    border-color: rgba(0, 210, 181, 0.25);
}

.help-topic-icon {
    font-size: 22px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.help-topic-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.help-topic-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}

.help-detail-content {
    color: #ffffff;
}

.help-detail-content p {
    color: #ffffff;
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.help-detail-content ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 16px 0;
}

.help-detail-content ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

.help-detail-content ul li::before {
    content: "•";
    color: #00D2B5;
    font-weight: bold;
    position: absolute;
    left: 2px;
    font-size: 18px;
    top: -2px;
}

.help-detail-content strong {
    color: #ffffff;
}

.help-section-title {
    color: #00D2B5;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
/* ─── Mikrofon-Icon & Eingabefeld-Positionierung (Bug-Fix TEIL 1) ─── */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.input-wrapper input,
.form-input-dictate {
    padding-right: 44px !important;
}

.input-mic-btn,
.btn-dictate-field {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    z-index: 2;
    color: var(--primary-blue, #1A6B8A);
}
