#kb-wrap {
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    padding: 2rem 1.5rem 1rem 1.5rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.09);
}

#kb-form label {
    display: block;
    margin-bottom: 0.3em;
    font-size: 1em;
    font-weight: bold;
    color: #555;
}
#kb-form textarea,
#kb-form input[type="text"],
#kb-form select {
    width: 100%;
    min-height: 46px;
    margin-bottom: 1.15em;
    padding: 0.8em 1em;
    font-size: 1.06em;
    border-radius: 5px;
    border: 1px solid #bbb;
    background: #fafafa;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    outline: none;
    transition: border .12s;
}

#kb-form textarea {
    min-height: 10em;
    resize: vertical;
    line-height: 1.4;
    border-radius: 5px;
}

#kb-form textarea:focus,
#kb-form input[type="text"]:focus,
#kb-form select:focus {
    border: 1.5px solid #E28E04;
}

.kb-stichworte {
    display: flex;
    gap: 0.5em;
    margin-bottom: 1.1em;
}
.kb-stichworte input {
    flex: 1 1 30%;
    border-radius: 5px;
}

#kb-generate {
    width: 100%;
    height: 48px;
    background: #E28E04;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.15rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 0.8em;
    margin-bottom: 1.8em;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: background .15s;
}
#kb-generate:hover {
    background: #cf7d02;
    color: #fff;
}
#kb-result {
    min-height: 4.5em;
    margin-top: 1.5rem;
}

.kb-slogan {
    background: #fff7ea;
    color: #222;
    border-radius: 5px;
    padding: 1.15em 1em 1em 1.4em;
    margin-bottom: 1.1em;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    border-left: 4px solid #E28E04;
    box-shadow: 0 1px 6px rgba(226,142,4,0.06);
    font-weight: 600;
}

.kb-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.kb-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #E28E04;
    border-top: 4px solid #e0e0e0;
    border-radius: 5px;
    animation: kb-spin 1s linear infinite;
}
@keyframes kb-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Mobile Anpassung */
@media (max-width: 600px) {
    #kb-wrap {
        padding: 1em 0.3em;
    }
    .kb-stichworte {
        flex-direction: column;
        gap: 0.2em;
    }
    #kb-form textarea {
        min-height: 8em;
    }
}
